/*--------------------------------------------------------------
# Video Player
--------------------------------------------------------------*/

.pxl-video-player1 {
    .pxl-video--holder {
        + .btn-video-wrap {
            position: absolute;
            z-index: 5;
            &.p-center {
                top: 50%;
                left: 50%;
                @include transform(translate(-50%, -50%));
            }
        }
    }
    .btn-video-wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .pxl-video--inner {
        position: relative;
        .pxl-video--holder {
            &:before {
                position: absolute;
                content: '';
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                opacity: 0;
                background: $primary_color;
                @include border-radius(inherit);
            }
            .pxl-video--image, img {
                @include border-radius(inherit);
            }
            img {
                object-fit: cover;
            }
        }
    }
    .pxl-item--title {
        color: $heading_color;
        margin: 0 15px 37px;
        @extend .pxl-h2-size;
        span {
            @include animation(pxl_smoke_animate 2.5s linear);
        }
        // @for $i from 2 through 200 {
        //     span:nth-child(#{$i}) {
        //         -webkit-animation-delay: #{0.2s * ($i - 1)};
        //         animation-delay: #{0.2s * ($i - 1)};
        //     }
        // }
    }
    .btn-video {
        &.style1 {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #FFF;
            z-index: 2;
            @include border-radius(50%);
            &:before {
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                display: block;
                width: 100%;
                height: 100%;
                background-color: rgba(#FFF, 0.63);
                z-index: -2;
                @include border-radius(inherit);
                @include animation(pxl_scale1 1500ms ease-out infinite);
            }
            &:hover {
                &:before {
                    -webkit-animation-play-state: paused;
                    -moz-animation-play-state: paused;
                    -o-animation-play-state: paused;
                    animation-play-state: paused;
                }
            }
        }
        &.style1 {
            font-size: 48px;
            width: 106px;
            height: 106px;
            line-height: 106px;
            background: #FD4145;
            @include border-radius(100%);
            @media #{$max-md} {
                font-size: 40px;
                width: 80px;
                height: 80px;
                line-height: 80px;
            }
            &:hover {
                @include transform(scale(0.9));
            }
        }
    }
}