.pop-up{
    opacity: 0;
    pointer-events: none;
}

.pop-up.active {
    opacity: 1;
    pointer-events: all;
    height: auto;
    min-height: 100vh;
    max-height: 100%;
}
.pop-up__bg {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    padding: 12.5vh 12.5vw;
    background: rgba(11, 19, 43, 0.30);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 99999;
}
.pop-up.js-pop-up-video {
    padding: 4vh 4vw;
}
.pop-up__block {
    width: 100%;
    height: auto;
    position: relative;
}
.pop-up__scroll {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}
.pop-up__close {
    position: absolute;
    right: 0px;
    top: -16px;
    transform: translate(100%, -100%);
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid #E7E7EA;
    background-color: rgba(255, 255, 255, 0.80);
    box-shadow: 0px 8px 48px 0px rgba(21, 33, 81, 0.08);
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 999999;
}
.pop-up__close svg {
    width: 15px;
}
.pop-up__video {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}
/*******VIDEO**********/
.pop-up .video {
    position: relative;
    width: 100%;
    padding-bottom: 50.787%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.pop-up .video__iframe {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 999;
}

.pop-up .video__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    object-fit: cover;
}

.pop-up .video__thumbnail:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
}

.pop-up .video__btn {
    width: 110px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 24px 18px 32px;
    border-radius: 16px;
    border: 1.734px solid #E6E9F0;
    background: #FFF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    box-shadow: 0px 13.875px 83.25px 0px rgba(18, 18, 18, 0.08);
    backdrop-filter: blur(17.34375px);
    z-index: 9;
    cursor: pointer;
}

.pop-up .video__btn:hover svg path:first-child {
    fill: var(--color-light-primary-hover);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

/*******VIDEO end******/

.pop-up__callback {
    background: #fff;
    width: 100%;
    border-radius: 16px;
    padding: 20px;
    margin: auto;
    position: relative;
    max-height: 75vh;
    overflow: auto;
}

.pop-up__thankyou {
    background: #fff;
    width: 100%;
    border-radius: 16px;
    padding: 20px;
    margin: auto;
    position: relative;
    max-height: 80vh;
    overflow: auto;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    text-align: center;
}
@media screen and (min-width: 600px) {
    .pop-up .video__btn {
        transform: translate(-50%, -50%) scale(0.7);
    }
}
@media screen and (min-width: 768px) {
    .pop-up__bg {
        height: 100vh;
    }
    .js-pop-up-video .pop-up__bg{
        padding: 12.5vh 12.5vw;
    }
    .pop-up__block {
        width: 100%;
        height: fit-content;
        max-width: 1082px;
        max-height: max(611px, 75vh);
    }

.pop-up__close {
    right: -8px;
    top: 0;
    transform: tanslate(100%, -100%);
    width: 44px;
    height: 44px;
}

    .pop-up__callback {
        padding: 42px 104px;
    }

    .pop-up__thankyou {
        padding: 42px 104px;
    }

}
@media screen and (min-width: 1024px) {
    .pop-up .video__btn {
        transform: translate(-50%, -50%) scale(0.8);
    }
}
@media screen and (min-width: 1281px) {
    .pop-up__close {
        right: -30px;
        top: 0;
        width: 64px;
        height: 64px;
    }
    .pop-up__close svg {
        width: 19px;
    }
}

@media screen and (min-width: 1281px) {
    .pop-up__block {
        width: 100%;
        height: 100%;
    }
     .pop-up .video__btn {
        transform: translate(-50%, -50%) scale(1);
    }
}


