#gallery-block .gallery-wrapper{
    display: grid;
    grid-template-columns: repeat(5,1fr);
}
#gallery-block  .item__block {
    cursor: pointer;
    height: 100%;
    transition: 0.3s;
}
#gallery-block .photo__item {
    position: relative;
}
#gallery-block .photo__item::before {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    pointer-events: none;
    background-image: url(images/plus.svg);
    background-color:#12206cad;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
}
#gallery-block .photo__item:hover::before {
    opacity: 1;
}
#gallery-block .photo__item.video {
    position: relative;
}
#gallery-block .photo__item.video::before {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    pointer-events: none;
    background: #000000;
    opacity: 0; 
}
#gallery-block .photo__item.video:hover::before {
    opacity: 0.4;
}
#gallery-block  .item__block img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1/1;
}
#gallery-block .photo__item.video .play {
    position: absolute;
    top: 36%;
    left: 36%;
}
@media (max-width: 996px) {
    #gallery-block .gallery-wrapper {
        grid-template-columns: repeat(3,1fr);
    }
}
@media (max-width: 776px) {
    #gallery-block .photo__item.video .play {
        top: 40%;
        left: 40%;
        width: 50px;
        height: 50px;
    }
    #gallery-block .photo__item.video .play svg {
        width: 100%;
        height: 100%;
    }
}
@media (max-width: 498px) {
    #gallery-block .photo__item.video .play {
        width: 35px;
        height: 35px;
    }
}
@media (max-width: 400px) {
    #gallery-block .photo__item.video .play {
        top: 33%;
        left: 37%;    
    }
}