/* Yolo video player*/

.sc-video-player-wrap {
    position: relative;
    .transition (all 300ms ease);

    &:hover {
        .overlay-video {
            transform: scale(1.02);
        }

    }
}

.yolo-sc-video-player {
    position: relative;
    width: 100%;

    .overlay-video-wrap {
        overflow: hidden;
        position: relative;
        width: 100%;
        height: 100%;
    }

    .overlay-video {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        .transition (all 1s ease);
    }

    .play-button-wrap {
        z-index: 2;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);

    }   

    &.align-right {
        .play-button-wrap {
            right: 0;
            left: auto;
            transform: translate(50%, -50%);
        }
    }

    &.align-left {
        .play-button-wrap {
            left: 0;
            right: auto;
            transform: translate(-50%, -50%);
        }
    }

    .play-button {
        margin: auto;
        .transition (all 1.5s ease);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.05);
        position: relative;
        color: var(--primary_color);
        cursor: pointer;
        text-align: center;
        width: 80px;
        height: 80px;
        background-color: @white;
        border-radius: 50%;
        line-height: 80px;
        position: relative;
        display: block;
        .transition(all 500ms ease);

        i {
            z-index: 1;
            margin-left: 2px;
            font-size: 24px;
            line-height: 1;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        &:hover {
            .transform (scale3d(1.1, 1.1, 1.1));
            box-shadow: 0 20px 35px rgba(0, 0, 0, 0.05);
        }

        .wave-pulse {
            width: 1px;
            height: 0;
            margin: 0 auto;

            &:before,
            &:after {
                opacity: 0;
                content: '';
                display: block;
                position: absolute;
                width: 200px;
                height: 200px;
                top: 50%;
                border-radius: 50%;
                border: 2px solid @white;
                animation: zoomBig 3.25s linear infinite
            }

            &:before {
                animation-delay: 0.8s;
            }
        }

    }

    .iframe-video-player {
        opacity: 0;
        position: absolute;
        z-index: 2;
        top: 0px;
        left: 0px;
        height: 100%;
        width: 100%;
        opacity: 0;
        display: none;
        overflow: hidden;
        background-color: @black;

        iframe {
            border: 0;
        }
    }

    .video-close {
        right: 5px;
        top: 5px;
        cursor: pointer;
        background: @white;
        z-index: 1;
        position: absolute;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
    }
}