body {
    font-family: "Zalando Sans Expanded", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #141313;
    color: #fff;
}


.menuband {
    width: fit-content;
    position: fixed;
    top: 20px;
    left: 20px;
    border: 3px solid #b7bead;
    border-radius: 104px;
    padding: 9px 21px;
    background-color: transparent;
    z-index: 1000;
}

.menuband nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.menuband nav ul li a {
    color: #e4e3f5;
    text-decoration: none;
    padding: 10px 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;  
    padding: 132px 20px 20px 20px;  
    box-sizing: border-box;
    justify-items: center; 
}

.gallery img {
    width: 100%;  
    max-width: 550px; 
    height: auto;  
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery img:hover {
    transform: scale(1.05); 
    box-shadow: 0 8px 15px rgba(0,0,0,0.4);
}


.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox:target {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
}


.back-button {
    display: block;    
    width: fit-content;    
    margin-top: -46px;
    margin-left: 1421px;
    margin-bottom: 30px;
    padding: 12px 20px;
    color: #c5d4d9;
    text-decoration: none;
    border-radius: 228px;
    border: 2px solid #d1dbdf;
}

.back-button:hover {
    background-color: #7b806e;
    color: #fff;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}
