﻿.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    width: 100%;
    height: 100%;
    align-content: flex-start;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        transition: transform 0.2s;
    }

        .gallery-item img:hover {
            transform: scale(1.05);
        }


.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    .fade-in[src] {
        opacity: 1;
    }