.container-videos {
    display: flex;
    flex-wrap: wrap;
}


.box-img {
    position: relative;
    overflow: hidden;
    width: calc(100% / 2 - 20px);
    height: 200px;
    cursor: pointer;
    margin: 5px;

}

.box-img img {
    object-fit: cover;
}


@media (max-width: 1199px) {
    .box-img {
        height: 164px;
    }
}

@media (max-width: 992px) {
    .box-img {
        height: 120px;
    }
}


@media (max-width:767px) {
    .box-img {
        width: 100%;
        height: 200px;
    }

    .box-img video {
        width: 100%;
    }
}

.box-img .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-img .icon img {
    width: 50px;
    margin: 0;
    object-fit: cover;
}

.box-img:hover .icon img {
    animation: scale .5s infinite ease-in-out;
}

@keyframes scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(.9);
    }

    100% {
        transform: scale(1);
    }
}

@-webkit-keyframes scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(.9);
    }

    100% {
        transform: scale(1);
    }
}

@-moz-keyframes scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(.9);
    }

    100% {
        transform: scale(1);
    }
}

@-o-keyframes scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(.9);
    }

    100% {
        transform: scale(1);
    }
}

.pop_up {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;


}

.show-pop {
    opacity: 1;
    z-index: 100;
}

.hide-pop {
    opacity: 0;
    z-index: -100;
}

.show-pop,
.hide-pop {
    transition: all .5s ease-in-out;
}

.pop_up .box-pop {
    position: relative;
    width: 900px;
    height: 600px;
}

@media (max-width:767px) {

    .pop_up .box-pop {
        width: 100%;
        height: auto;
    }

    .iframe {
        width: 100%;
        height: 100%;
    }


}




.pop_up .box-pop .close-pop {
    position: absolute;
    top: -50px;
    right: 0;
    width: 50px;
    height: 50px;
    font-size: 50px;
    font-weight: bolder;
    color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pop_up .box-pop iframe {
    margin: 0;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}


.show_all_videos {
    margin-top: 10px;
    font-size: 16px;
}

.show_all_videos span {
    margin-right: 25px;
}

.video_gallery {
    margin-top: 15px !important;
}