.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    grid-auto-rows: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.gallery-grid .item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: scale 0.25s ease;
    background-color: rgba(255, 255, 255, 0.1);
    border: 3px solid #eee;
}

.gallery-grid .item:hover {
    scale: 1.05;
}

.gallery-grid .item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-grid .item .description {
    position: absolute;
    bottom: 0px;
    background: linear-gradient(to bottom, transparent 0%, black 100%);
    width: calc(100% - 20px);
    padding: 50px 10px 10px 10px;
    font-size: 12px;
    pointer-events: none;
}

@media (min-width: 700px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        padding: 1rem;
    }
}

@media (min-width: 1000px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
}