@import '../../../scss/base';
/** video css --------------------------
--------------------------------------*/
@keyframes waves {
    0% {
      -webkit-transform: scale(0.2, 0.2);
      transform: scale(0.2, 0.2);
      opacity: 0;
      -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    }
    50% {
      opacity: 0.9;
      -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    }
    100% {
      -webkit-transform: scale(1.4, 1.4);
      transform: scale(1.4, 1.4);
      opacity: 0;
      -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    }
  }


.react-video {
    position: relative;
    background-repeat: no-repeat !important;
    background-size: content !important;
    padding: 100px 20px;

    &.center {
        .overly-border {
            margin: 0 auto;

        }
    }

    &.left {
        .overly-border {
            margin-left: 0;
            margin-right: auto;
        }
    }

    &.right {
        .overly-border {
            margin-left: auto;
            margin-right: 0;
        }
    }

    &.style1 {
        .video-desc {
            top: 60px;
        }
    }

    .video-desc {
        z-index: 1;
        font-size: 20px;
        position: relative;

        span {
            display: block;
            font-size: 22px;
            font-weight: 400;
        }
    }
    .overly-border {
        border-radius: 50%;
        position: absolute;
        width: 100px;
        height: 100px;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
    }
    .video-content {
        z-index: 10;
        h4 {
            margin-top: 40px;
            margin-bottom: 0;
            font-size: 30px;
            color: #fff;
            text-transform: uppercase;
        }
    }
    &:hover {
        .popup-videos {
            animation-duration: 0.8s;
        }
    }
    .popup-videos {
        position: absolute;
        transform: translateX(-50%) translateY(-50%);
        box-sizing: content-box;
        display: block;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        line-height: 90px;
        padding: 0;
        margin: 0 auto;
        left: 50%;
        top: 50%;
        z-index: 9;
        text-align: center;
        &:after {
            content: "";
            position: absolute;
            z-index: 1;
            left: 50%;
            top: 50%;
            transform: translateX(-50%) translateY(-50%);
            display: block;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            transition: all 200ms;
            background: var(--primaryColor);
        }
        &:before {
            border: 1px solid #fff;
            content: "";
            position: absolute;
            content: "";
            position: absolute;
            z-index: 0;
            left: -32%;
            top: -31%;
            display: block;
            width: 130px;
            height: 130px;
            background: transparent;
            border-radius: 50%;
            border: 1px solid var(--color-primary);
            animation: waves 3s ease-in-out infinite;
        }
        i {
            text-indent: 5px;
            -webkit-transition: 0.3s ease all;
            transition: 0.3s ease all;
            font-size: 28px;
            color: var(--primaryColor);
            position: relative;
            top: -4px;
            &:before {
                color: #fff;
                top: -1px;
            }
        }
        &:hover {
            border-color: rgba(255, 255, 255, 0.7);
        }
        span {
            display: block;
            position: relative;
            z-index: 3;
            width: 0;
            height: 0;
            border-left: 27px solid #fff;
            border-top: 17px solid transparent;
            border-bottom: 17px solid transparent;
        }
    }
    &:hover {
        .overly-border {

            &:before,
            &:after {
                opacity: 1;
                -webkit-transform: scale(1);
                transform: scale(1);
            }
        }
    }
    &.style2 {
        .overly-border {
            width: 60px;
            height: 60px;
        }
    }
}