.container-gallery-ih {
    position: relative;
    column-count: 5;
    padding: 20px
}

.gallery-image {
    display: inline-block;
    margin-bottom: 10px;
    overflow: hidden
}

.gallery-image>img {
    width: 100%;
    transition: .25s ease-in-out
}

.gallery-image>img:hover {
    transform: scale(1.1)
}



@media screen and (max-width:768px) {
    .container-gallery-ih {
        column-count: 3
    }
}

@media screen and (max-width:425px) {
    .container-gallery-ih {
        column-count: 2
    }
}