
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    grid-gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1128px;
    
}


.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.gallery-link {
    display: block;
    text-decoration: none;
    color: inherit;
}


.gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease-in-out;
}


.gallery-link:hover .gallery-image {
    transform: scale(1.05);
}