.lightvideobox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    /* padding: 10px; */
}

.lightvideobox-container .lightvideobox-video {
    position: relative;
    height: 250px;
    width: 350px;
    border: 5px solid #FFF;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .7);
    cursor: pointer;
    overflow: hidden;
}

.lightvideobox-container .lightvideobox-video::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background: rgb(2,0,36);
background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(0,0,0,0) 50%);
z-index: 2;
}

.lightvideobox-container .lightvideobox-video iframe,
.lightvideobox-container .lightvideobox-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .2s linear;
}

.lightvideobox-container .lightvideobox-video:hover iframe,
.lightvideobox-container .lightvideobox-video:hover img {
    transform: scale(1.1);
    z-index: 1;
}

.lightvideobox-container .lightvideobox-video .lightvideobox-video__overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient( rgba(100, 100, 100, .5), rgba(150, 150, 150, 0));
    align-items: center;
    justify-content: center;
    z-index: 90;
    display: none;
}

.lightvideobox-container .lightvideobox-video .lightvideobox-video__overlay i {
    font-size: 6rem;
}

.lightvideobox-container .lightvideobox-video:hover .lightvideobox-video__overlay {
    display: flex;
}

.lightvideobox-container .lightvideobox-video .lightvideobox-video__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 15px;
}

.lightvideobox-container .lightvideobox-video .lightvideobox-video__title span {
    font-size: 1.2rem;
}

.lightvideobox-popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 0, 0, .8);
    height: 100%;
    width: 100%;
    display: none;
}

.lightvideobox-popup iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    height: 450px;
    border-radius: 5px;
    border: 3px solid #FFF;
    object-fit: cover;
}

.lightvideobox-popup span {
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 85px;
    color: #FFF;
    font-weight: bolder;
    z-index: 100;
    cursor: pointer;
}

@media (max-width: 768px) {
    .lightvideobox-popup iframe {
        width: 95%;
    }
}
