#gallery {
    width: 90%;
    padding: 5rem 0;
    margin: 0 auto;
}

#gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.responsive {
    width: calc(25% - 0.75rem);
}

div.gallery img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
}

@media only screen and (max-width: 700px) {
    .responsive {
        width: calc(50% - 0.5rem);
    }
}

@media only screen and (max-width: 500px) {
    .responsive {
        width: 100%;
    }
}