* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
}


body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Noto Sans', sans-serif;
    counter-reset: question;

}

#main-wrapper {
    background-color: #fff;
}

/* ---- Start screen ---- */
#start-screen {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    background: url('../images/start-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* display: none; */
}

#start-screen .inner {
    display: flex;
    height: 100%;
    max-height: 80vh;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    z-index: 2;
}

.start-screen__cup {
    max-width: 140px;
    width: calc(10px + 10vmax);
}

.start-screen__title {
    max-width: 300px;
    width: calc(20px + 15vmax);
}

#start-screen__start-btn {
    cursor: pointer;
    max-width: 200px;
    width: calc(40px + 14vmax);
    margin-bottom: 3vmax;
}

.start-screen__big-star {
    position: absolute;
    z-index: 1;
    height: 100%;
}

/* ---- Survey screen ---- */
#survey-screen {
    padding: 0;
    position: relative;
    z-index: 20;
    display: none;
}

.survey-screen__header {
    background: url('../images/header-4.jpg');
    background-size: cover;
    background-position: 50% 50%;
}

.survey-screen__header h3 {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: calc(15px + 3vmax);
    line-height: calc(15px + 3vmax);
    padding: calc(25px + 1vmax) 0;
}

.survey-screen__timer-score {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    column-gap: 1rem;
}

.survey-screen__timer-score .timer-container {

    background-image: url('../images/timer-bg.svg');
    background-size: 100% 100%;
    width: 220px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 35px;
    position: relative;
}

.survey-screen__timer-score .timer-container span {
    transform: translateX(-50%);
    position: absolute;
    left: 63%;
    font-weight: bold;
    color: #f49c3b;
    font-size: 30px;
}

.survey-screen__timer-score .score-container {
    background-image: url('../images/score-bg.svg');
    background-size: 100% 100%;
    width: 165px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 0px 0 0;
    position: relative;
    display: none;
}



.survey-screen__timer-score .score-container span {
    transform: translateX(-50%);
    position: absolute;
    left: 55%;
    font-weight: bold;
    color: #f49c3b;
    font-size: 30px;
}


.survey-container .question {
    padding: 2vw 0 calc(5px + 1vmax) 30px;
    background-image: url('../images/bottom-border.png');
    background-position: left bottom;
    background-repeat-y: no-repeat;
    position: relative;
    opacity: 0;

}

.survey-container .question.error::before {
    content: 'Please select an answer';
    position: absolute;
    bottom: 10px;
    left: 0;
    color: red;
    font-size: 14px;
}

.survey-container .form-check {
    font-size: calc(8px + 0.8vw);
    color: #4d4d4d;
    margin-bottom: calc(5px + 1vmax);
}

.survey-container .question> :first-child {
    position: relative;
    margin-left: 0;
    padding-top: 5px;
}

.survey-container .question> :first-child::before {
    counter-increment: question;
    content: counter(question);
    width: 40px;
    height: 40px;
    background: url('../images/small-star.svg');
    background-size: cover;
    color: #fff;
    position: absolute;
    left: -40px;
    top: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    padding-top: 5px;
    font-weight: 200;
}


.survey-container .question h4 {
    color: #39489d;
    font-weight: bold;
    padding: 0 8px;
    margin-bottom: calc(10px + 1vmax);
    font-size: calc(12px + 1vw);
    /* padding-top: 5px; */
}

.survey-container .question p {
    color: #00adee;
    font-weight: bold;
    padding: 0 8px;
    margin-bottom: 0.2rem;
    font-size: calc(10px + 0.6vw);
}


#survey-form__submit-btn {
    margin: calc(20px + 2vmax) 0 calc(20px + 2vmax) auto;
    border: none;
    display: block;
    cursor: pointer;
}

#survey-form__submit-btn img {
    width: 200px;
}

/* ---- Success screen ---- */
#success-screen {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: rgb(19 38 109 / 91%);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

#success-screen .inner {
    display: flex;
    height: 100%;
    max-height: 80vh;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    z-index: 2;
}

.success-screen__cup {
    max-width: 140px;
    width: calc(10px + 10vmax);
}

.success-screen__title {
    max-width: 380px;
    width: calc(25px + 20vmax);
}

.success-screen__player-img {
    width: 100%;
}


/* ---- Lock portrait ---- */
.portrait_rotation {
    background: black;
    height: 100vh;
    width: 100%;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.rotation_content {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ipad {
    height: 100px;
    width: 200px;
    border: 3px solid white;
    border-radius: 10px;
    -webkit-animation: rotate 1.5s ease-in-out infinite alternate;
    animation: rotate 1.5s ease-in-out infinite alternate;
}

.message_tablet,
.message_disktop {
    color: white;
    font-size: calc(0.5rem + 2vmax);
    margin-top: calc(20px + 5vw);
    display: none;
}