@font-face {
    font-display: swap;
    font-family: 'HVD';
    src: url(../fonts/HVDComicSerifPro.woff2) format('woff2'), url(../fonts/HVDComicSerifPro.woff) format('woff');
    font-weight: 400;
    font-style: normal
}

a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block
}

body {
    line-height: 1
}

ol, ul {
    list-style: none
}

blockquote, q {
    quotes: none
}

blockquote:after, blockquote:before, q:after, q:before {
    content: '';
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 100%
}

*, :after, :before {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
    -moz-box-sizing: inherit
}

* {
    max-height: 1000000px;
    outline: 0
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: 400;
    margin: 0
}

button {
    cursor: pointer
}

img {
    vertical-align: top;
    max-width: 100%;
    height: auto;
    border-style: none
}

a {
    display: inline-block;
    text-decoration: none;
    outline: 0;
    color: inherit
}


body {
    -ms-text-size-adjust: none;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    font-family: HVD;
    color: #fff;
    background: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-width: 320px;
    overflow-x: hidden;
}

.header {
    margin-top: 1vh;
    width: 100%;
}

.header__title {
    color: black;
    font-size: 40px;
    font-size: 5vh;
    text-align: center;
}

.page {
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.page__wrap {
    max-width: 370px;
    width: 95%;
    margin: 0 auto;
}

.question {
    height: 11vh;
    background-color: white;
    border: 5px solid black;
    position: relative;
    margin-bottom: 3vh;

}

.question__number {
    text-align: center;
    color: #b0e1b7;
    font-size: 85px;
    font-size: 9vh;

}

.question__text {
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: 600;
    font-size: 16px;
    font-size: 2.5vh;

    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;

}

.answers {
    /*margin-top: 5vh;*/
}

.answer {
    margin: 0 auto;
    /*width: 95%;*/
    height: 65px;
    height: 9vh;
    background-color: white;
    border: 5px solid black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2vh auto;
    cursor: pointer;
}

.answer__letter {
    font-size: 31px;
    font-size: 4vh;
    text-align: left;
    margin-left: 10px;
}

.answer__text {
    text-align: center;
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: 600;
    font-size: 16px;
    font-size: 2.5vh;
    color: black;
}

.description {
    margin: 1vh auto;
    height: 90px;
    height: 12vh;
    background-color: white;
    border: 5px solid green;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /*justify-content: space-around;*/
}

.description__img {
    margin-left: 10px;
    height: 6vh;

}

.description__text {
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: 400;
    font-size: 16px;
    font-size: 2vh;
    color: black;
    text-align: left;
    margin: 0 10px;
}

.footer {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 2vh;
}

.footer__link {
    color: #fff;
    font-size: 30px;
    font-size: 4vh;
    border: 3px solid black;
    padding: 5px 15px;
    background-color: #2f2f2f;

}

.right {
    background: #cbf4c7;
    border: 5px solid #13ce00;
}

.wrong {
    background: #ffc7c7;
    border: 5px solid red;
}

.result {
    background-color: white;
    border: 5px solid black;
    padding-bottom: 2vh;

}

.result__score {
    position: relative;
}

.confetti {
    width: 100%;

}

.score {
    color: #f93b24;
    font-size: 112px;
    font-size: 15vh;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 100%;
}

.result__description {
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: 600;
    font-size: 16px;
    font-size: 2.5vh;
    color: black;
    text-align: center;
    margin: 3vh auto;
}

.result__text {
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: 400;
    font-size: 16px;
    font-size: 2.5vh;
    color: black;
    text-align: center;

}

.result .footer__link {
    margin: 3vh;
}

@media (orientation: landscape) and (max-height: 500px) {
    .page__wrap {
        max-width: 430px;
        width: 95%;
        margin: 0 auto;
    }

    .question {
        height: 15vh;
         margin-bottom: 1.5vh;

    }

    .question__number {
        font-size: 12vh;
    }

    .question__text {
        font-size: 14px;
    }

    .answers {
        display: flex;
    }

    .answer {
        width: 48%;
        height: 12vh;
          margin: 1vh auto;
    }

    .answer__letter {
        font-size: 8vh;
    }

    .answer__text {
        font-size: 14px;
    }

    .description {
        height: 15vh;
    }

    .description__text {
        font-size: 12px;
    }

    .footer__link {
       font-size: 5vh;

    }
.confetti {
    width: 100%;
    height: 35vh;
}
    .score {
        font-size: 10vw;
        position: absolute;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -80%);
        width: 100%;

    }

    .result__description {
        font-size: 14px;
        margin: 1vh auto;

    }

    .result__text {
        font-size: 14px;

    }
.result{
padding-bottom: 0px;
}
}

@media (min-width: 659px)and (min-height: 655px) {

    .header__title {
        font-size: 60px;
        font-size: 5vh;
    }

    .page {
        margin-top: 5vh;
    }

    .page__wrap {
        max-width: 600px;
        width: 95%;
        margin: 0 auto;
    }

    .footer {
        bottom: 3vh;
    }

    .footer__link {
        font-size: 4.3vh;
    }

}

@media screen and (min-width: 1440px) {
    .header__title {
        font-size: 60px;
    }
}




