.styble-video {
    overflow: hidden;
    &-wrap {
        overflow: hidden;
        .react-player__preview {
            position: relative;
            &::after{
                content: "";
                position: absolute;
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
            }
        }
    }
    &-wrap:has(iframe) > div {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        iframe {
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
        }
    }
    .styble-video-popup-modal {
        background-size: cover;
        height: 400px;
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;
        .styble-play-icon{
            cursor: pointer;
        }
    }
    .styble-video-cross-icon {
        display: none;
    }
}

.styble-video.styble-video-wrap-overlay .styble-video-overlay-color{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.styble-video.styble-video-popup{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;

    .styble-video-wrap {
        position: absolute;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
        width: 1000px;
        height: 575px;
    }
    .styble-video-popup-overlay {
        width: 100%;
        height: 100%;
        background: #2725259c;
    }
    .styble-video-cross-icon {
        display: block;
        position: absolute;
        top: 60px;
        right: 60px;
        color: #fff;
        font-size: 25px;
        cursor: pointer;
    }
}

.styble-play-icon{
    position: relative;
    cursor: pointer;
    z-index: 1;
    img,
    span {
        position: relative;
        z-index: 1;
    }
}

@-webkit-keyframes sonarWave {
    from {
        opacity: 0.3;
    }

    to {
        transform: scale(1.7);
        opacity: 0;
    }
}
  
@keyframes sonarWave {
    from {
        opacity: 0.3;
    }

    to {
        transform: scale(1.7);
        opacity: 0;
    }
}

@media only screen and (max-width: 780px) {
    .styble-video.styble-video-popup{
        .styble-video-wrap {
            width: 100%;
            height: 300px;
        }
    }
}