.gallerysimple {
    display: flex;
    flex-wrap: wrap;
}

.gallerysimple a {
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 23%;
    height: 190px;
    margin: 1%;
}

.gallerysimple a img {
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: all 0.2s;
}

.gallerysimple a:hover div {
    position: absolute;
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    transition: all 0.2s;
}

.gallerysimple a:hover div span {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 56.966 56.966" style="enable-background:new 0 0 56.966 56.966;" xml:space="preserve"><path fill="#fff" d="M55.146,51.887L41.588,37.786c3.486-4.144,5.396-9.358,5.396-14.786c0-12.682-10.318-23-23-23s-23,10.318-23,23s10.318,23,23,23c4.761,0,9.298-1.436,13.177-4.162l13.661,14.208c0.571,0.593,1.339,0.92,2.162,0.92c0.779,0,1.518-0.297,2.079-0.837C56.255,54.982,56.293,53.08,55.146,51.887z M23.984,6c9.374,0,17,7.626,17,17s-7.626,17-17,17s-17-7.626-17-17S14.61,6,23.984,6z"/></svg> ');
    background-repeat: no-repeat;
    transition: all 0.2s;
}

.gallerysimple a:hover img {
    transform: scale(1.2);
    transition: all 0.2s;
}

@media screen and (max-width: 1360px) {

    .gallerysimple a {
        width: 31.1%;
        height: 190px;
    }

}

@media screen and (max-width: 768px) {

    .gallerysimple a {
        width: 100%;
        height: 190px;
    }

}
