@font-face {
    font-family: "SlovicDemo";
    src: url(../fonts/Slovic_Demo-SlabSerif.otf) format(opentype);
}

@font-face {
    font-family: "Ubuntu Condensed";
    src: url(../fonts/UbuntuCondensed-Regular.ttf);
}

:root {
    --max-container-width: 500px;
    --max-width: 700px;
}

* {
    margin: 0;
    padding: 0;
    user-select: none;
    box-sizing: border-box;
}

body {
    width: 100%;
    color: #fff;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    font-family: "SlovicDemo", Tahoma, Geneva, Verdana, sans-serif;
}

.image-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-image: url(../imgs/bgr.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.preloader-image {
    width: 170px;
    margin-bottom: 10px;
    margin-left: 20px;
}
.preloader-image img {
    width: 100%;

}

.font-type-2 {
     font-family: "Ubuntu Condensed", Tahoma, Geneva, Verdana, sans-serif;
     font-size: 18px;
     line-height: 1.1;
}

.vjs-control-text {
    display: none !important;
}
.container {
    height: 100dvh;
    /* background-color: rgba(0, 0, 0, 0.5); */
}
.content {
    width: 100%;
    margin: 0 auto;
    max-width: var(--max-width);
    height: 100dvh;
    position: relative;
    /* border: 1px solid #000; */
    overflow: hidden;
    /* background-color: white; */
}

.video-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;

    /* background-color: black; */
}

.video-bg .video-elm {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    display: none;
}
.video-bg .video-elm.active {
    display: block;
}
.video-bg video {
    width: 100%;
    height: 100%;
    /* background-color: black; */
}
.videolist {
    display: none;
}

.header {
    top: 20px;
    left: 50%;
    /* display: flex; */
    z-index: 51;
    translate: -50% 0;
    /* width: fit-content; */
    width: 100%;
    max-width: 450px;
    position: absolute;
    text-align: center;
    align-items: center;
    flex-direction: column;
    justify-content: center;

    display: none;
}

.header-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 100%;
    text-align: center;
    /* width: max-content; */
    width: 100%;
    height: auto;
    padding: 16px 36px;
    background: url(../imgs/header.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;

    z-index: 2;
    border-radius: 5px;
    overflow: hidden;
}

.header-info {
    display: flex;
    position: absolute;
    z-index: 1;

    padding: 8px;
    top: 100%;
    width: 96%;
    font-size: 14px;
    border-radius: 0 0 8px 8px;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);

    display: none;
}

.header-info .steps {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    padding: 1px 3px;
    align-items: center;

    display: flex;
    gap: 10px;
}

.header-info .steps-digits {
    color: #433113;
    padding: 4px 8px;
    border-radius: 2px;
    background-color: #f0d8b2;
}
.header-info .steps-text {
    color: white;
    font-size: 18px;
    letter-spacing: 1px;
}

.header .hours {
    padding: 1px 3px;
    border-radius: 4px;
}

.header .hours-block {
    padding: 4px 8px;
    border-radius: 2px;
}
.header .hours-block.success {
    background-color: #8dbc3c;
}
.header .hours-block.warning {
    background-color: #e4ae16;
    border: 1px solid #fac46d;
}
.header .hours-block.error {
    background-color: #d02a0b;
    border: 1px solid #ff3c3c;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;

    background-color: black;

    z-index: 50;

    top: 0px;
    left: 0px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.main-stage {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 5px;
}

.main-stage .stage {
    width: 100%;
    height: 100%;

    /* position: absolute; */
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.main-stage .stage {
    display: none;
    opacity: 0;
}

.main-stage .stage.active {
    display: flex;
    opacity: 1;
}
.popup {
    position: absolute;
    bottom: 0px;
    text-align: center;
    color: #59431f;
    width: 100%;
    min-width: 300px;
    max-width: var(--max-container-width);
    background-image: url(../imgs/popup-bg1.png);

    background-size: 100% 100%;

    gap: 20px;
    display: flex;
    padding: 30px 15px !important;
    align-items: center;
    flex-direction: column;

    box-sizing: border-box;

    margin-bottom: 15px;
}

.popup.short-bg {
    background-image: url(../imgs/popup-bg-short.png) !important;
}

.replay-btn-block {
    padding: 4px 10px;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    bottom: 100%;
    right: 0px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
}

.btn {
    width: 100%;
    max-width: 300px;

    height: 50px;

    color: white;

    background-image: url(../imgs/btn.svg);
    background-position: center;

    background-size: 100% 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: scale 50ms ease;
}

.btn.green {
    background-image: url(../imgs/btn_bg_green.svg);
}
.btn.red {
    background-image: url(../imgs/btn_bg_red.svg);
}
.btn:active {
    scale: 0.95;
}

.btn .btn-text {
    width: 100%;
    height: 100%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.quiz {
    gap: 6px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    padding: 5px 20px;
}

.quiz-item {
    gap: 8px;
    display: flex;
    align-items: center;
    background-color: #957e5a;
    border: 1px solid #7f663d;
    border-radius: 4px;
    padding: 4px;
    width: 100%;
    transition: scale 50ms ease;

    cursor: pointer;
}

.quiz-item:active {
    background-color: #8dbc3c;;
    border: 1px solid #688a2d;;
    scale: 0.95;
}

.quiz-item:active .num {
    color: #fff;
    border: 1px solid #ffffff80;
}

.quiz .num {
    font-size: 30px;
    padding: 1px 8px;
    color: #59431f;
    border-radius: 4px;
    border: 1px solid #59431f80;
}

.quiz p {
    color: #fff;
    font-size: 14px;
    text-align: left;
    letter-spacing: 1px;
    pointer-events: none;
}

.quiz .quiz-left-time {
    position: absolute;
    background-image: url(../imgs/beloe-oblako-v-golubom-nebe-Photoroom.png);
    background-repeat: no-repeat;
    width: 100%;
    height: 100px;
    max-width: 300px;
    background-size: contain;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    text-shadow: 0px 0px 3px #000;
    pointer-events: none;
    display: none;
}

.stage-8,
.stage-9 {
    background: rgba(0, 0, 0, 0.7);
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.8) 10%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0.8) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    /* padding: 10px; */
    margin: -5px;
    position: absolute !important;
}

.stage-8 .final-screen,
.congrat-screen {
    width: 100%;
    max-width: var(--max-container-width);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.congrat-screen {
    justify-content: space-evenly;
    text-align: center;
}
.congrat-screen .title {
    line-height: 1.4;
}

.stage-8 .final-screen p,
.congrat-screen {
    line-height: 1.1;
}

.final-screen .title,
.congrat-screen .title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.final-screen .archetype {
    width: 100%;
    max-width: var(--max-container-width);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.archetype-block {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;

    border-radius: 10px;

    background-color: rgba(0, 0, 0, 0.74);
}

.archetype--name {
    font-size: 50px;
    line-height: 1;
}

.defocus-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inpool-logo {
    width: 220px;
}

.defocus-in-live,
.defocus-in-ads {
    width: 100%;
    max-width: 200px;
    height: 170px;
    background-image: url(../imgs/popup-bg1.png);
    background-position: center;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    color: #59431f;
}

.buttons-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
}

.defocus-block .btn {
    width: 140px;
}
.archetype-description-1 .content-bg,
.archetype-description-2 .content-bg,
.defocus-in-live-main .content-bg,
.defocus-in-ads-main .content-bg {
    width: 100%;
    height: 100%;
    z-index: 10;
    max-width: var(--max-container-width);
    background-image: url(../imgs/popup-bg-long.png);
    background-position: center;
    background-size: 100% 100%;
    color: #59431f;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding: 30px;

    overflow: auto;
    text-align: center;
}
.defocus-in-live-main .content-bg,
.defocus-in-ads-main .content-bg {
    justify-content: flex-start !important;
}
.defocus-in-live-main .content-bg .btn-text,
.defocus-in-ads-main .content-bg .btn-text {
    width: 140px;
    padding: 5px 20px;
    font-size: 18px !important;
}
.archetype-description-1,
.archetype-description-2,
.defocus-in-live-main,
.defocus-in-ads-main {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;

    padding: 20px;

    display: none;
}

.mb-10 {
    margin-bottom: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-60 {
    margin-bottom: 60px;
}

.mt-70 {
    margin-top: 70px !important;
}
.mt-30 {
    margin-top: 30px !important;
}

.text-decor {
    text-decoration: underline;
}

.fs-20 {
    font-size: 20px !important;
}
.fs-24 {
    font-size: 24px !important;
}
.fs-30 {
    font-size: 30px !important;
    line-height: 1;
}
.fs-32 {
    font-size: 32px !important;
}
.fs-60 {
    font-size: 60px !important;
}
.line-height-1 {
    line-height: 1 !important;
}

.text-center {
    text-align: center;
}

.link {
    cursor: pointer;
}

.snowfall-flakes {
    z-index: 49 !important;
}

@media (max-width: 350px) {
    .header-title {
        font-size: 33px;
    }
    .header {
        top: 3px !important;
    }
}
@media (max-width: 700px) {
    .stage-8,
    .stage-9 {
        background: rgba(0, 0, 0, 0.7);
    }
}

@media (max-width: 450px) {
    .header {
        top: 3px !important;
    }
    .header-title {
        padding: 16px 16px;
    }
    .popup.short-bg {
        padding: 30px 15px !important;
    }
    .popup {
        padding: 9px 15px !important;
        margin-bottom: 5px;
    }
}
