* {
    box-sizing: border-box;
}

* {
    padding: 0;
    margin: 0;
}

html, body, #fullheight {
    min-height: 100% !important;
    height: 100%;
}

body {
    background: #000;
    min-height: 100vh;
}


html {
    font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.window {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.popup {
    cursor: pointer;
    max-width: 270px;
    /* padding: 20px 25px; */
    background: #2b2b2b;
    border-radius: 16px;
    font-size: 17px;
    line-height: 18px;
    text-align: center;
    padding-bottom: 0;
    z-index: 2;
    color: #fff;
}

.popup.active {
    display: block;
    position: absolute;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
}

.popup__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    padding: 20px 25px 0 25px;
}

.popup__text {
    margin-bottom: 20px;
    line-height: 18px;
    font-size: 14px;
    color: #e4e4e4;
    padding: 0 25px 0 25px;
}

.camera-icon {
    width: 60px;
    height: 60px;
    border: 3px solid red;
    border-radius: 100%;
    align-items: center;
    position: relative;
    padding: 5px;
    align-items: center;
    margin: 12px auto;
}

.camera-icon img {
    width: 35px;
    object-fit: contain;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.popup__close {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #8d8d8d27;
    font-size: 17px;
    font-weight: 600;
    color: #007AFF;
    width: 100%;
    padding: 10px 25px 10px 25px;
}

.palyer {
    width: 100%;
    height: 100%;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    z-index: 1;

}

.palyer.active {
    display: flex;
}

.player__topControls {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0.8;
}

.player__topControls-left img:first-child {
    width: 14px;
    margin-right: 20px;
}

.player__topControls-left img:last-child {
    width: 17px;
}

.player__topControls-right img {
    width: 26px;
}

.player__middleControls {
    width: 230px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0.8;
}

.nextBtn {
    width: 28px;
}

.playBtn {
    height: 40px;
}


.player__bottomControls {
    width: 100%;
}

.player__underline {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0.8;
}

.player__underline img:first-child {
    margin-right: 10px;
}

.player__underline img {
    width: 15px;
}

.player__progressWrap {
    height: 6px;
    border-radius: 3px;
    background-color: #ffffff33;
    margin-top: 16px;
}

.player__progressBar {
    height: 6px;
    border-radius: 3px;
    width: 0%;
    background-color: #ffffff33;

}

.player__counters {
    color: #fff;
    opacity: 0.8;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 11px;
    padding: 0px 5px;
}


.offerLink {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 99999;
}


.customVideoWrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.customVideoWrap video {
    width: 100%;
    min-width: 100%;
}

.hide {
    display: none !important;
}


.load {
    position: absolute;
    width: 4%;
    height: 6px;
    border-radius: 3px;
    background-color: #ffffff33;
    -webkit-animation: load-bar 2s linear;
    -moz-animation: load-bar 2s linear;
    -o-animation: load-bar 2s linear;
    animation: load-bar 2s linear;
}

.player__progressWrap {
    height: 6px;
    border-radius: 3px;
    background-color: #ffffff33;
    margin-top: 16px;
}

@keyframes load-bar {
    0% {
        width: 0%;
    }

    100% {
        width: 4%;
    }

}

.loading-img {
    object-fit: contain;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 40px;
    height: 40px;
}