body {
    background-color: rgb(27, 22, 22);
    font-family: Eva;
}

h1 {
    color: #E6DED3;

}

h2 {
    color: #E6DED3;
    font-size: 30px;
    margin-top: 20px;

}

p {
    color: #373737;

}


a {
    color: #E6DED3;
    text-decoration: underline;
    text-indent: 5%;
    line-height: 5px;
}


/* Images */
img {
    width: 100%;
    height: auto;
    border: 5px solid white;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.25);
}

/* Responsive Grid */
.photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns */
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
}

@font-face {
    font-family: Eva;
    src: url(assets/EVA-Matisse_Standard.ttf);
}

#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;

    opacity: 0;
    transform: scale(0.96);
    animation: lightboxZoom 220ms ease-out forwards;
}

@keyframes lightboxZoom {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.photos img {
    cursor: zoom-in;
}

#lightbox img:hover {
    transform: none;
}

@media (max-width: 600px) {
    #lightbox img {
        max-width: 94vw;
        max-height: 94vh;

    }

}

/* Lazy loading styles */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in;
    min-height: 200px; 
    background: #f0f0f0; 
}

.lazy[src] {
    opacity: 1;  
}