* {
    box-sizing: border-box;
}
div.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
}
div.desc {
    padding: 1em;
    text-align: center;
}
.responsive {
    margin-bottom: 10px;
    float: left;
    width: 25%;
}
@media only screen and (max-width: 1000px){
    .responsive {
        width: 33%;
    }
}
@media only screen and (max-width: 800px) {
    .responsive {
        width: 49.99999%;
    }
}
