body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #e8e8ee;
    display: flex;
    flex-direction: column;
}

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;
    }
}

/* _________Slideshow___________ */

.slideshow-container {
    position: relative;
    overflow: hidden;
    margin: auto;
    background-color: #020321;
    height: 100%;
    width: 100%;

}

/* Hide the images by default */
.mySlides {
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: slideshow 3.5s ease-in-out infinite;
}
@keyframes slideshow {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.textbox {
    text-align: center;
    color:#020321;
}

.separator {
    height: 50px;
    width: 1px;
    background-color: #1a1d5a;
}

.text-number {
    font-size: 45px; 
    color:#020321;
}

.numbertext {
  color: #f2f2f2;
  font-size: 16px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.mySlides.active {
    left: 0;
}

.mySlides.previous {
    left: -100%;
}

/* ____________________________ */


/*____________Welcome____________*/



.slide-welcome-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.full-screen-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #020321;
    overflow: hidden;
}

.welcome-container {
    background-color: #020321;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px #02032158;
    padding: 2%;
}

.welcome {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 100%;
    background-color: #14172a;
    border-radius: 10px;
    padding: 3%;
}
.welcome-text {
    color: #ECF0F9;
    font-size: 20px;
    font-style: italic;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-bottom: 20px;
    text-align: center;
}


.welcome-text-thin {
    color: #ECF0F9;
    margin-left: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    color: #ccd4d9;
}
.down_arrow img {
    width: 50px;
    height: 50px;
    animation: moveUpDown 2.5s ease-in-out infinite;
}
@keyframes moveUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/*________________________________*/


#background-image {
    position: fixed;
    top: 0px; /* Margin from the top */
    left: 0;
    width: auto;
    height: 600px;
    image-orientation: from-image;
    background-image: url('media/photos/2018-08-14-09-46-07-1489663025.jpg');
    background-size: cover;
    z-index: -1; /* Ensure the background image stays behind other content */
}

/*____________Szövegdoboz_________*/

.info-container {
    background-color: #ECF0F9;
    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: -4px;
}

.short-info {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #ffffff73;
    padding: 20px;
    margin: 5px auto;
    max-width: 100%;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 8px #02032158;
}

.info {
    align-items: center;
    display: flex;
    flex-direction: row;
    width: 90%;
    max-width: 100%;
    background-color: #ffffff73;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 8px #02032158;
}

@media (max-width: 780px) {
    .info {
        text-align: center;
        flex-direction: column;
    }
    /*Bocs, csak így megy be középre*/
    .question-right {
        text-align: center !important;
    }
    .short-info {
        flex-direction: column;
    }
    .separator {
        width: 80%;
        height: 1px;
    }
    .welcome-text {
        text-align: center;
    }
}

.question {
    color: #020321;
    font-size: 20px;
    font-style: italic;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    width: 100%;
}
.question-right {
    color: #020321;
    font-size: 20px;
    font-style: italic;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    width: 100%;
    text-align: right;
}

.answer {
    color: #020321;
    margin-left: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    width: 100%;
}

.pictogram-container {
    flex-shrink: 0;
    margin-right: 20px;
}
.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;
}

.portfolio-teaser {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 100%;
    background-color: #b2bfc7bd;
    border-radius: 10px;
    padding: 20px;
}

/*_________________________________*/


#hero {
    background-size: cover;
    background-attachment: fixed;
    color: #ECF0F9;
    text-align: center;
    padding: 150px 20px;
}

footer {
    background-color: #020321;
    color: #B2BFC7;
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 0;
}
