body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #e8e8ee;
    background: url('../media/photos/light-blue-background_edited.jpg') no-repeat ;
    background-size: cover;
    backdrop-filter: blur(10px);
}

header {
    height: 150px; 
    background-color: #020321;
    color: #ECF0F9;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.language-selector {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

@media (max-width: 550px) {
    .language-selector {
        flex-direction: column;
    }
}
.language-selector a {
    color: #ECF0F9;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #ECF0F9;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.language-selector a:hover {
    background-color: #ECF0F9;
    color: #020321;
}

.logo-container {
    text-align: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.header-text {
    text-align: left;
}

.header-text h1 {
    margin: 0;
    font-size: 1.5em;
}

.header-text p {
    margin: 5px 0 0;
    font-size: 1em;
}

.topnav {
    background-color: #020321;
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.topnav a {
    float: left;
    display: flex;
    color: #ECF0F9;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    justify-content: center;
    align-items: center;
}

.topnav a:hover {
    background-color: #ECF0F9;
    color: black;
}

.topnav a.active {
    background-color: #020321;
    color: #ECF0F9;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 900px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 900px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
        display: block;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .topnav {
        display: block;
    }
}

/*____Szöveg_________________________*/
.about-text-container {
    max-width: 1220px;
    padding: 20px;
    margin: auto;
}

.about-text p {
    text-align: left;
    line-height: 1.6;
    font-size: 18px;
    color: #020321;
}

.about-text h2 {
    background-color: #020321;
    margin: auto;
    text-align: center;
    width: fit-content;
    padding: 5px 0px ;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    width: 200px;
    color: #e8e8ee;
    width: 0;
    transition: width 10s;
    animation: expand 10s forwards;
}
@keyframes expand {
    from { width: 100px; }
    to { width: 80%; }
}
/*______________________________________*/

/* _______Képek____________________________*/
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
}

.image-item {
    width: 20%;
    margin: 10px;
    text-align: center;
}
@media (max-width: 1380px) {
    .image-item {
        width: 40%;
    }
}

.image-item img {
    width: 100%;
    height: 80%;
    display: block;
    box-shadow: 0 0 10px 5px rgba(6, 9, 54, 0.3);
    object-fit: cover;
    border: 1px solid #020321;
    transition: ease-in 2s;
}


.image-item p {
    margin-top: 8px;
    color: #020321;
    font-size: 16px;
    font-style: italic;
}
/*_________________________________________*/

/*______Video__________________ */

.video-container {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    border: #020321;
    background: linear-gradient(#0203219c, #e8e8ee00);
    background-color: #151c6d00;
}

.video-container video {
    box-shadow: 0 0 10px 5px rgba(6, 9, 54, 0.3);
    width: 35%;
    height: auto;
    transition: all 2s; 
    animation: down 3s forwards;
    border: 2px solid #020321;
}

@media (max-width: 1380px) {
    .video-container video {
        width: 75%;
    }
}

/*__Animáció__*/
/* @keyframes down {
    from { width: 0; height: 0; margin-top: 0px; }
    to {margin-top: 20px;}
} */



.video-container p {
    margin-top: 8px;
    color: #020321;
    font-size: 16px;
    font-style: italic;
}

/*_____________________________*/

/*_____Átirányítás______*/

.info-container-2 {
    background-color: #ecf0f900;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    vertical-align: middle;
    background-image: url('media/photos/pool_house_blur.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 1%;
    margin-bottom: 7%;
}

.info-2 {
    align-items: center;
    display: flex;
    flex-direction: row;
    width: 90%;
    max-width: 100%;
    background-color: #ffffff1d;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 8px #02032158;
}

@media (max-width: 780px) {
    .info-2 {
        text-align: center;
        flex-direction: column;
    }
}
.question {
    color: #020321;
    font-size: 20px;
    font-style: italic;
    width: 100%;
}
.pictogram-container-2 {
    flex-shrink: 0;
    margin-right: 20px;
}
.pictogram-container-2 img {
    width: 80px;
    height: 80px;
    animation: moveUpDown 2.5s ease-in-out infinite;
    transition : all 0.5s
}
@keyframes moveUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.pictogram-container-2 img:hover {
    width: 100px;
    height: 100px;
}

.floating-image {
    width: 45px;
    height: 80px;
}

/*_____________________*/

/*____________Info_Dobozok__________*/

.info-container {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    vertical-align: middle;
    background-image: linear-gradient(to right, #ffffff5e, #b2bfc700);
    margin-bottom: 50px;
}

.info-container-right {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    vertical-align: middle;
    background-image: linear-gradient(to left, #ffffff5e, #b2bfc714);
    margin-bottom: 100px;
}

.info {
    align-items: center;
    width: 80%;
    max-width: 100%;
    border-radius: 0px;
    padding: 2%;
}

.header {
    color: #020321;
    font-size: 40px;
    font-style: italic;
    margin-bottom: 10px;
    margin-left: 5%;
    display: flex;
    flex-direction: row;
}

.header-right {
    color: #020321;
    font-size: 40px;
    font-style: italic;
    margin-bottom: 10px;
    text-align: right; 
    margin-right: 5%;
}

.image-text-container {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

/*Telefonos verzió, a kép a header mellett van és a szöveg melletti eltűnik*/
@media (max-width: 700px) {
    .info {
        width: 100%;
    }

    .image-text-container {
        flex-direction: column;
        
    }
    /*Ez nem a legjobb megoldás, de máshogy nem működött*/
    .description {
        width: 90% !important;
        font-size: 18px !important; 
    }
    .header-text {
        width: 70%;
    }
    .header-text-right {
        margin: 0 5%;
    }

    .image {
        display: none;
    }
    /*Szintén. Nem akart megjelenni a kép*/
    .image-mobile {
        display: block !important;
        width: 50%;
        margin: 0 5%;
    }
    .header {
        align-items: center;
        margin-right: 10%;
        font-size: 30px;
    }
    .header-right {
        align-items: center;
        margin-right: 5%;
        font-size: 30px;
        text-align: right;
        flex-direction: row;
        display: flex;
    }
}

.image {
    width: 20%;
}

/*Telefonos kép, alap esetben el van rejtve*/
.image-mobile {
    display: none;
}
.image-mobile img {
    width: 100%;
    margin: 0 10%;
    display: block;
    box-shadow: 0 0 10px 5px rgba(6, 9, 54, 0.3);
    border: 2px solid #020321;
}

.description {
    color: #020321;
    width: 70%;
    margin-left: 5%;
    font-size: 20px;
}

.description p {
    margin: 2% 0;
}
.description ul {
    margin: 10px 0;
}

.image img {
    width: 100%;
    margin: 0 15px;
    display: block;
    box-shadow: 0 0 10px 5px rgba(6, 9, 54, 0.3);
    border: 2px solid #020321;
    max-width: 800px;
    height: auto;
}

/*_________________________________________*/


#hero {
    background-size: cover;
    background-attachment: fixed;
    color: #ECF0F9;
    text-align: center;
    padding: 150px 20px;
}

footer {
    background-color: rgba(2, 3, 33, 0.8);
    color: #B2BFC7;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 10px;
    margin: 20px;
    margin-bottom: 0px;
}

footer p {
    margin: 0;
}
