:root {
    --front-title-size: 28px;
    --front-title-size-mob: 22px;
    --front-subtitle-size: 28px;
    --front-subtitle-size-mob: 20px;
    --subtitle-color: #ffffff;
    --font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --main-color: rgb(204, 0, 204);
    --main-hover-color: rgb(90, 8, 90);
    --main-text-color: #FFF;
    --answer-border-color: rgba(255, 255, 255, 0.5);
    --question-font-size: 36px;
    --question-font-size-mob: 22px;
    --first-title-last-slide-size: 28px;
    --first-title-last-slide-size-mob: 18px;
    --small-text-last-slide-size: 20px;
    --small-text-last-slide-size-mob: 18px;
    --answer-font-size: 20px;
    --answer-font-mob: 20px;
    --button-font-size: 24px;
    --button-font-size-mob: 24px;
    --quiz-padding-left-right:10px;
    --quiz-padding-left-right-mob: 40px;
    --front-image-width: 320px;
    --front-image-width-mob: 320px;
    --front-image-height: 46vh;
    --front-image-height-mob: 46vh;
    --last-image-width: 320px;
    --last-image-width-mob: 320px;
    --last-image-height: 46vh;
    --last-image-height-mob: 46vh;
    --front-image-shadow: none;
    --last-image-shadow: none;
    --button-margin-top: 24px;
}

/* reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    text-decoration: none;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* quiz */
body * {
    max-height: 9999999px;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: #000;
    overflow-x: hidden;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    width: 100%;
    height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-style: normal;
    font-weight: normal;
}

button {
    padding: 0;
    margin: 0;
    border: 0;
    font-family: inherit;
}

.com-main {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    font-family: var(--font-family);
    overflow: hidden;
}

.com-main .com-background {
    height: 100vh;
    width: 100vw;
    background-position: top;
    background-size: cover;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
}

.com-main .com-background .com-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.com-main .com-background .com-overlay.black {
    background-color: #000;
    opacity: 0.8;
}

.com-main .com-background .com-overlay.white {
    background-color: #fff;
}

.com-main .com-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
}

.com-main .com-wrapper {
    height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    scroll-snap-type: y mandatory;
}

.com-main .com-step {
    height: calc(var(--vh, 1vh) * 100);
    min-height: 100vh;
    flex-direction: column;
    text-align: left;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    transition: margin 1s cubic-bezier(.77,0,.18,1);
    position: relative;
    display: inline-flex;
    color: #fff;
    scroll-snap-align: start;
    background: transparent;
}

.com-main .com-step.loader {
    padding: 0 40px;
    background: aliceblue;
    display: block;
    height: 100vh;
    width: 100vw;
    z-index: 21;
}

.com-main .com-step.loader .preloader {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.com-main .com-step.loader .text__container {
    color: #000;
    font-size: 36px;
    line-height: 42px;
    text-align: center;
}

.com-main .com-step.loader #loaderContainer {
    margin-top: 50px;
    position: relative;
    width: 250px;
    height: 250px;
}

.com-main .com-step.loader #loaderText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.com-main .com-step.last, .com-main .com-step.first {
    max-width: 100vw;
    justify-content: flex-start;
    padding-top: 30px;
}

.com-main .com-front-image {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: var(--front-image-width, 320px);
    max-height: var(--front-image-height, 46vh);
    margin: 0 auto 20px;
    width: 100%;
    height: 100%;
    position: relative;
}

.com-main .com-front-image.last {
    max-width: var(--last-image-width, 320px);
    max-height: var(--last-image-height, 46vh);
}

.com-main .com-front-image img {
    box-shadow: var(--front-image-shadow, none);
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.com-main .com-front-title {
    font-family: var(--font-family);
    text-align: center;
    font-size: var(--front-title-size);
    line-height: 32px;
    color: var(--main-text-color);
    font-weight: 700;
}

.com-main .com-front-subtitle {
    width: 100%;
    font-size: var(--front-subtitle-size);
    line-height: 32px;
    color: var(--subtitle-color);
    text-align: center;
    margin-top: 16px;
    font-weight: 400;
}

.com-main .com-front-subtitle strong {
    color: var(--subtitle-color);
}

.com-main .com-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: var(--button-margin-top);
}

.com-main .com-button-wrapper.ok-btn-wrapper {
    justify-content: flex-start;
}

.com-main .com-button-wrapper.button-first, .com-main .com-button-wrapper.button-last {
    display: none;
    position: fixed;
    width: 100vw;
    height: 75px;
    z-index: 10;
    flex-direction: column;
    bottom: 0;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: rgba(255, 255, 255, 0.2) 0px -1px;
}

.com-main .step-inner {
    padding: 0 40px;
    width: 100%;
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100vh;
}

.com-main .step-inner.step-questions {
    justify-content: center;
}

.com-main .com-button {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    width: fit-content;
    cursor: pointer;
    font-family: inherit;
    box-shadow: rgba(0, 0, 0, 0.1) 0 3px 12px 0;
    min-height: 48px;
    background-color: var(--main-color, red);
    text-align: center;
    border-radius: 4px;
    padding: 15px 30px;
}

.com-main .com-button .arrow-span {
    padding-left: 20px;
    transition: 0.5s;
}

.com-main .com-button .arrow-span path.one {
    transition: 0.4s;
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.com-main .com-button .arrow-span path.two {
    transition: 0.5s;
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

.com-main .com-button .arrow-span path.three {
    animation: color_anim 1s infinite 0.2s;
}

@keyframes color_anim {
    0% {
        fill: white;
    }
    50% {
        fill: var(--main-hover-color, rgb(147, 1, 1));
    }
    100% {
        fill: white;
    }
}

.com-main .timer {
    width: 100%;
    margin-top: 20px;
    fill: var(--main-text-color, white);
    text-align: center;
    font-size: 14px;
    line-height: 20px;
}

.com-main .com-button.ok-btn {
    padding: 6px 14px;
}

.com-main .com-button .com-ok-button-svg {
    margin-left: 8px;
    display: block;
    fill: var(--main-text-color);
    transition: fill 0.2s ease 0s;
}

.com-main .com-button-text {
    font-weight: 700;
    color: #fff;
    font-size: var(--button-font-size);
    line-height: 32px;
    letter-spacing: 2px;
}

.com-main .com-button-text.ok-btn-text {
    margin: 0;
    max-width: 100%;
    font-weight: unset;
    font-size: 20px;
    line-height: 28px;
}

.com-main .com-main__num {
    display: flex;
    top: 25px;
    align-items: center;
    position: relative;
    right: 40px;
    width: 30px;
}

.com-main .com-main__num-number {
    color: var(--main-text-color);
}

.com-main .com-main__num-inner {
    fill: var(--main-text-color);
}

.com-main .com-step-question {
    font-size: var(--question-font-size);
    line-height: 1.4;
    color: var(--main-text-color);
    margin-bottom: 25px;
}

.com-main .com-step-answers-wrapper {
    width: fit-content;
    max-width: 100%;
}

.com-main .com-step-answers {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.com-main .com-step-answers-inner {
    display: flex;
    align-items: center;
}

.com-main .com-step-answer {
    margin-bottom: 8px;
    margin-right: 0;
    width: 100%;
    min-height: 40px;
    position: relative;
    display: flex;
    border-radius: 4px;
    --fallback-color: var(--answer-border-color, rgba(255, 255, 255, 0.6));
    box-shadow: var(--fallback-color) 0 0 0 1px inset;
    color: var(--main-text-color, #fff);
    background-color: var(--answer-color-bg, rgba(255, 255, 255, 0.1));
    outline: 0;
    padding: 4px;
    cursor: pointer;
    opacity: 1;
    font-weight: 300;
    min-width: 168px;
}

.com-main .com-step-answer:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.com-main .com-step-answer-inner {
    display: flex;
    align-items: center;
}

.com-main .com-step-answer-text {
    max-width: 100%;
    font-size: var(--answer-font-size, 20px);
    line-height: 28px;
    margin: 0 40px 0 35px;
}

.com-main .main__header-check {
    display: none;
    flex-shrink: 0;
    opacity: 1;
    fill: var(--main-text-color);
    transition: fill 0.2s ease 0s;
    position: absolute;
    right: 14px;
}

.com-main .com-step-answer.checked {
    animation: blink 0.2s linear 2;
    box-shadow: rgba(255, 247, 249, 0.8) 0 0 0 2px inset;
}

.com-main .com-step-answer.checked:active {
    animation: blink 0.2s linear 2;
}

.com-main .com-step-answer.checked .main__header-check {
    display: block;
}

.com-main .com-last-text-block {
    color: var(--main-text-color);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.com-main .com-last-text-block-title {
    margin-bottom: 20px;
    font-size: var(--first-title-last-slide-size);
    line-height: 1.4;
}

.com-main .com-last-text-block-text {
    margin-bottom: 20px;
    font-size: var(--small-text-last-slide-size);
    line-height: 1.4;
    font-weight: 400;
}

.com-main .com-last-text-block-text-third {
    font-size: var(--first-title-last-slide-size);
    line-height: 1.4;
    font-weight: 400;
}

.com-main .mob {
    display: none;
}

.com-main .com-footer {
    position: fixed;
    width: 100%;
    height: 75px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    bottom: 0;
    justify-content: center;
    align-items: center;
}

.com-main .com-footer__inner {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: row-reverse;
    font-family: sans-serif;
    padding: 24px;
    pointer-events: none;
    position: absolute;
    bottom: 0;
    left: 0;
}

.com-main .com-footer__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
    box-shadow: none;
    border-radius: 4px;
    user-select: none;
    line-height: 0;
    background-color: transparent;
    pointer-events: auto;
    white-space: nowrap;
}

.com-main .com-footer__nav {
    display: flex;
    flex-direction: row-reverse;
    border-radius: 4px;
    background-color: var(--main-color, red);
}

.com-main .com-footer__btn {
    font-weight: 700;
    cursor: pointer;
    outline: none;
    border: 1px solid transparent;
    width: 36px;
    min-width: 36px;
    height: 32px;
    justify-content: center;
    background-color: var(--main-color, red);
    color: rgb(255, 255, 255);
    border-radius: 4px;
}

.com-main .com-footer__btn:disabled {
    opacity: 0.5;
}

.com-main .com-footer__btn-span-svg {
    display: block;
    fill: rgb(255, 255, 255);
    transition: fill 0.2s ease 0s;
    margin: auto;
}

.com-main .com-footer__divider {
    background-color: rgba(255, 255, 255, 0.3);
    width: 1px;
    height: 100%;
}

@keyframes blink {
    0% { opacity: 1; }
    20% { opacity: 0.5; }
    70% { opacity: 0.2; }
    80% { opacity: 0; }
    90% { opacity: 0; }
}

@media (max-width: 776px) {
    .com-main .com-step.last, .com-main .com-step.first {
        padding-top: 0;
    }
    .com-main .com-step.questions {
        padding: 0 10px;
    }
    .com-main .step-inner {
        padding: 20px 20px 60px;
        text-align: left;
    }
    .com-main .step-inner.step-questions {
        padding: 20px 40px 60px;
    }
    .com-main .com-front-image {
        max-width: var(--front-image-width-mob, 320px);
        max-height: var(--front-image-height-mob, 46vh);
        height: auto;
    }
    .com-main .com-front-image img {
        object-fit: contain;
        height: auto;
    }
    .com-main .com-front-title {
        font-size: var(--front-title-size-mob, 22px);
        line-height: 1.4;
    }
    .com-main .com-front-subtitle {
        font-size: var(--front-subtitle-size-mob, 20px);
        line-height: 1.4;
    }
    .com-main .com-button {
        padding: 10px 40px;
    }
    .com-main .com-button-text {
        font-size: var(--button-font-size-mob, 24px);
    }
    .com-main .com-step-question {
        font-size: var(--question-font-size-mob, 30px);
        line-height: 38px;
        font-weight: 300;
    }
    .com-main .com-step-answer-text {
        font-size: var(--answer-font-mob, 20px);
        line-height: 20px;
    }
    .com-main .com-last-text-block-text {
        font-size: var(--small-text-last-slide-size-mob, 18px);
        line-height: 1.4;
    }
    .com-main .com-last-text-block-title, .com-main .com-last-text-block-text-third {
        font-size: var(--first-title-last-slide-size-mob, 18px);
        line-height: 1.4;
    }
}

@media (max-height: 600px) {
    .com-main .com-front-image {
        max-height: 35vh;
        margin-bottom: 15px;
    }
    
    .com-main .com-front-image.last {
        max-height: 35vh;
    }
    
    .com-main .com-front-title {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 8px;
    }
    
    .com-main .com-front-subtitle {
        font-size: 16px;
        line-height: 20px;
        margin-top: 8px;
    }
    
    .com-main .com-button-wrapper {
        margin-top: 15px;
    }
    
    .com-main .com-button {
        padding: 8px 20px;
        min-height: 40px;
    }
    
    .com-main .com-button-text {
        font-size: 18px;
        line-height: 24px;
    }
    
    .com-main .com-step-question {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 15px;
    }
    
    .com-main .com-step-answer {
        min-height: 35px;
        margin-bottom: 6px;
        padding: 3px;
    }
    
    .com-main .com-step-answer-text {
        font-size: 16px;
        line-height: 16px;
        margin: 0 30px 0 25px;
    }
    
    .com-main .com-last-text-block-title {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 12px;
    }
    
    .com-main .com-last-text-block-text {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 12px;
    }
    
    .com-main .com-last-text-block-text-third {
        font-size: 16px;
        line-height: 20px;
    }
    
    .com-main .step-inner {
        padding: 15px 30px;
    }
    
    .com-main .step-inner.step-questions {
        padding: 15px 30px 50px;
    }
    
    .com-main .com-step.last, .com-main .com-step.first {
        padding-top: 20px;
    }
    
    .com-main .com-footer {
        height: 60px;
    }
    
    .com-main .com-footer__inner {
        padding: 16px;
    }
    
    .com-main .com-footer__btn {
        width: 32px;
        min-width: 32px;
        height: 28px;
    }
} 