body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #e8e8ee;

}

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;
    }
}

/*_________Képek______________________*/

.return-button {
    margin: 20px
}

.button-img {
    width: 70px;
    height: 70px;
    transition: all 0.5s;
}
.button-img:hover {
    width: 90px;
    height: 90px;
}

.main-header h2 {
    background-color: #020321;
    margin: auto;
    margin-top: 20px;
    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 2s;
    animation: expand 2s forwards;
}
@keyframes expand {
    from { width: 20%; }
    to { width: 85%; }
}

.gallery {
    display: grid;
    gap: 10px;
    padding: 20px;
    justify-content: center;
    margin: 0 auto;
    width: 80%;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gallery-item {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background-color: #f0f0f0; /* Background color in case image doesn't load */
    box-shadow: 0 0 50px 5px rgba(6, 9, 54, 0.3);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the container */
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.gallery-item img:hover {
    transform: scale(1.3);
}

.top-button {
    margin: 20px;
    display: flex;
    justify-content: right;   
}

.top-button a:hover {
    color: #020321;
    background-color: #B2BFC7;
}

.top {
    font-size: 25px;
    position: sticky;
    text-decoration: none;
    padding: 20px;
    color: #B2BFC7;
    background: #020321;
    border-radius: 100px;
}

/*____________________________________*/

#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;
}
