html,
body {
    margin: 0;
    height: 100%;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    font-family: "Roboto Condensed", sans-serif;
}

img {
    display: block;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff;
}


.first_screen {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10%;
    justify-content: space-evenly;
}

.logo_main {
    position: relative;
    height: 3%;
}

.bg_main {
    position: absolute;
    width: 100%;
    bottom: 0;
}

.copy_1 {
    position: relative;
    height: 15%;
    margin: 5% 0;
}

.steps_and_cta_wrapper {
    position: relative;
    width: 100%;
    height: 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.steps_wrapper {
    position: relative;
    width: 62%;
    display: flex;
    flex-direction: column;
    height: 56%;
}

.rule {
    position: relative;
    height: 15.8%;
    margin-top: 5%;
    left: 0%;
    align-self: flex-start;
}

.input_wrapper {
    position: relative;
    margin-top: 2%;
    width: 100%;
}

.nickname_input {
    position: relative;
    width: 100%;
    font-size: 2vh;
    padding: 2%;
    border: 4px solid #D5D5D5;
    color: #1b2440;
}

.nickname_input::placeholder {
    color: #D5D5D5;
}

.icon_nickname {
    position: absolute;
    height: 40%;
    top: 50%;
    right: 0%;
    transform: translateY(-50%);
}

.cta_wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 25%;
}

.copy_nick {
    position: relative;
    height: 17%;
    margin-top: 10%;
    align-self: center;
}

.nick_error {
    height: 50%;
    position: absolute;
    top: -10%;
    opacity: 0;
}

.cta_start_quiz {
    position: relative;
    height: 55%;
    margin-top: 3%;
    align-self: center;
}

.bottom_logo {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: flex-end;
    height: 10%;
}

.logo_dol {
    height: 22%;
}

.quiz_screen {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10%;
    justify-content: space-between;
    display: none;
}

.decor_kwadraciki {
    position: absolute;
    bottom: 0;
    height: 13.5%;
    left: 50%;
    transform: translate(-50%);
}

.copy2 {
    position: relative;
    height: 7%;
    margin: 10% 0;
}

.timer_and_progress_wrapper {
    position: relative;
    width: 100%;
    display: flex;
    height: 8%;
    justify-content: space-between;
    align-items: center;
}

.timer_wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.icon_timer {
    position: relative;
    height: 100%;
    margin-right: 15%;
}

.timer_txt, .progress_txt {
    font-size: 3vh;
    font-weight: bold;
}

.progress_wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}


.progress_txt {
    margin-left: 15%;
}

.icon_question {
    position: relative;
    height: 100%;

}

.questions_wrapper {
    position: relative;
    width: 70%;
    height: 60%;
}

.question_wrapper {
    position: relative;
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3%;
}

.question_2_wrapper, .question_3_wrapper {
    display: none;
}

.question {
    position: relative;
    height: 14%;
    align-self: center;
}

.question2, .question3 {
    height: 21%;
}

.answers_wrapper {
    position: relative;
    width: 100%;
    height: 45%;
    margin-top: 5%;
}

.answer {
    width: 100%;
    margin-top: 4%;
}

.score_screen {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10%;
    display: none;

    justify-content: space-evenly;
}

.error_page {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10%;
    justify-content: space-between;
    display: none;
}

.score_and_prize_wrapper {
    position: relative;
    height: 61%;
    margin-top: 5%;
}

.apla {
    position: relative;
    height: 100%;
}

.try_again_wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 5% 0;
    align-items: center;
    display: none;
}


.copy_twoj_wynik {
    position: relative;
    height: 3.38%;
    align-self: center;
}

.player_score {
    position: relative;
    font-size: 9vh;
    color: #ff4b1a;
    font-weight: bold;
    margin: 0;
}

.rocket_wrapper {
    position: relative;
    height: 41%;
    margin-top: 5%;
}

.kolko_kropki, .kolko_kropki_gift {
    position: relative;
    height: 100%;
}

.rocket {
    position: absolute;
    height: 70%;
    top: 5%;
    left: 10%;

}

.decor_kwadrat {
    position: absolute;
    left: 80%;
    top: 35%;
    opacity: 0;
}

.decor_kwadrat_1_anim {
    height: 4.6%;
    animation: decor_kwadrat_1_anim 3s infinite linear;
}

@keyframes decor_kwadrat_1_anim {
    0% {
        opacity: 0;
        top: 35%;
        left: 80%;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: 0%;
        left: 100%;
    }


}

.decor_kwadrat_2_anim {
    height: 3%;
    animation: decor_kwadrat_2_anim 3s infinite linear;
}

@keyframes decor_kwadrat_2_anim {
    0% {
        opacity: 0;
        top: 30%;
        left: 80%;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: -10%;
        left: 90%;
    }
}

.decor_kwadrat_3_anim {
    height: 3.3%;
    animation: decor_kwadrat_3_anim 3s infinite linear;
}

@keyframes decor_kwadrat_3_anim {
    0% {
        opacity: 0;
        top: 35%;
        left: 75%;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: 10%;
        left: 80%;
    }
}

.decor_kwadrat_4_anim {
    height: 2%;
    animation: decor_kwadrat_4_anim 3s infinite linear;
}

@keyframes decor_kwadrat_4_anim {
    0% {
        opacity: 0;
        top: 40%;
        left: 75%;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: 20%;
        left: 85%;
    }
}


.copy_dziekujemy {
    position: relative;
    height: 16%;
    margin-top: 10%;
}

.ranking_cta {
    position: relative;
    height: 7%;
}

.back_to_start {
    position: relative;
    height: 7%;
}

.bg_pytania, .bg_wynik, .bg_ranking {
    position: absolute;
    width: 100%;
    bottom: 0;
}

.rankig_screen {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5%;
    justify-content: space-evenly;
    display: none;
}

.copy_ranking_1 {
    position: relative;
    height: 5%;
    margin-top: 5%;
}

.rank {
    position: relative;
    height: 100%;
}

.players_wrapper {
    position: relative;
    height: 33%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 5%;
}

.player {
    position: relative;
    height: 18%;
}

.player_text_and_score {
    position: absolute;
    height: 95%;
    width: 78%;
    top: 0;
    right: 2%;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    align-items: center;
    font-size: 3vh;
}

.player_name {
    color: #1b2440;

}

.player_score_txt {
    color: #ff4b1a;
}

.copy_rank_2 {
    position: relative;
    height: 2.6%;
    margin-top: 5%;
}

.arrow {
    position: relative;
    height: 3.2%;
}

.copy_rank_3 {
    position: relative;
    height: 9%;
}

.ranking_back_to_start {
    position: relative;
    height: 7.4%;
}

.video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: none;
}

.prize_wrapper {
    position: absolute;
    height: 92%;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 5% 0;
    align-items: center;
    justify-content: space-evenly;
    display: none;
}

.copy_gratulacje {
    position: relative;
    height: 7%;
}

.gift_wrapper {
    position: relative;
    height: 41%;
}

.gift {
    position: absolute;
    height: 76%;
    top: 10%;
    left: 20%;
}

.copy_odbierz_nagrody {
    position: relative;
    height: 3%;
}

.prize_name_txt {
    position: relative;
    height: 3%;
}

.decor_base_1_wrapper {
    position: absolute;
    height: 5.6%;
    left: -10%;
    top: 6%;
}

.decor_1_base {
    position: relative;
    height: 100%;
}

.decor_1_circle {
    position: absolute;
    height: 47%;
    left: 85%;
    top: -20%;
    animation: pulse 2s linear infinite;
}

.pulse {
    animation: pulse 2s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.decor_base_2_wrapper {
    position: absolute;
    height: 4%;
    right: 0%;
    top: 65%;
}

.decor_2_base {
    position: relative;
    height: 100%;
}

.decor_2_circle {
    position: absolute;
    height: 314%;
    top: -110%;
    left: -30%;
}

.decor_2_circle_anim {
    animation: decor_2_circle_anim 20s linear infinite;
}

@keyframes decor_2_circle_anim {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

.copy_error {
    position: relative;
    height: 16%;
}

.puzzle_wrapper {
    position: relative;
    height: 36%;
    width: 100%;
}

.cta_error {
    position: relative;
    height: 7.5%;
}

.puzle_1_wrapper {
    position: absolute;
    height: 55%;
    left: 50%;
    transform: translate(-80%);
    top: 48%;
}

.puzle_2_wrapper {
    position: absolute;
    height: 55%;
    left: 50%;
    top: 0;
    transform: translate(-15%);
}

.puzzle {
    position: relative;
    height: 100%;
}

.puzzle_1_anim {
    animation: puzzle_1_anim 2s infinite;
}

@keyframes puzzle_1_anim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.puzzle_2_anim {
    animation: puzzle_2_anim 2s infinite;
}

@keyframes puzzle_2_anim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.decor_kwadracik_ri {
    position: absolute;
    height: 16%;
    right: 0%;
    top: 50%;
}

.decor_kwadraciki_l {
    position: absolute;
    height: 16%;
    left: 0%;
    top: 32%;
}

.ranking_arrow_anim {
    animation: ranking_arrow_anim 2s infinite;
}

@keyframes ranking_arrow_anim {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20%);
    }
}

.mute_btn {
    position: absolute;
    height: 5%;
    top: 2%;
    left: 2%;
    display: none;
}