﻿body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    background: #f3f9fd;
    box-sizing: border-box;
    color: #222;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.header_wraper {
    display: inline-block;
    width: 100%;
    text-align: left;
    max-width: 720px;
}


.pm_logo {
    width:240px;
}


.header {
    padding: 15px 10px;
    text-align: center;
    background: linear-gradient(90deg, #4FC3F7, #7B68EE);
}



.progress-wrapper {
    position: sticky;
    top: 0;
    text-align: center;
    z-index: 999;
    margin-left: -40px;
    margin-right: -40px;
    padding: 20px 40px;
    background: linear-gradient(0deg, #f3f9fd00 0%, #f3f9fd 30%);
}

.progress-bg {
    width: 100%;
    max-width: 720px;
    padding: 4px;
    margin: auto;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 1px 1px 2px inset rgb(0 0 0 / 0.17);
}

.progress-fill {
    height: 6px;
    width: 0%;
    /*    background: linear-gradient(-90deg, #15d5c9 0%, #995de6 100%);
*/
    background-color: #15d5c9;
    transition: width 0.25s ease;
    border-radius: 3px;
    box-shadow: 0px 0px 5px rgb(0 0 0 / 0.10);
}



.question {
    box-shadow: 0 0px 8px rgb(0 95 143 / 7%), 0 4px 6px rgb(2 84 133 / 5%), 0 2px 0 rgb(79 133 169 / 10%);
    border-radius: 30px;
    padding: 40px;
    background-color: white;
    position: relative;
    margin: 30px auto;
}




.quiz_wrap {
    width: 100%;
    position: relative;
}

.dots {
    font-size: 10px;
}


.number {
    background: #807fef;
    color: white;
    width: 30px;
    padding: 5px;
    line-height: 1.9;
    height: 30px;
    /* padding-top: 5px; */
    border-radius: 100%;
    display: none;
    margin: auto;
    margin-top: -55px;
    position: relative;
    font-size: 15px;
    text-align: center;
    box-shadow: inset 0 -2px 0 #7877d8, 0 2px 0 rgba(0, 0, 0, 0.1), 0 0px 10px rgba(0, 0, 0, 0.2);
}

.question_text {
font-size:17px;
font-weight:bold;
margin-top:0px;
line-height:1.3;
font-family:'Open Sans';
margin-bottom:30px;
display:inline-block;
}

label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e1f0f9;
    border-radius: 6px;
    background: #f3f9fd;
    cursor: pointer;
    transition: 0.15s ease;
}



.result-score {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: "League Spartan", sans-serif;
    margin-bottom: 30px;
}

.result-title {
    font-size: 18px;
    font-weight: bold;
    font-family: "League Spartan", sans-serif;
    color: #222;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.result-message {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.4;
    display: inline-block;
    max-width: 500px;
}



.question.wrong {
    box-shadow: 0 0 0 3px #ff55b1;
}


.question.correct {
    box-shadow: 0 0 0 3px #15d5c9;
}


.question.wrong input[type="radio"] {
    accent-color: #ff4343;
    filter: hue-rotate(325deg) brightness(1.1);
}



input[type="radio"] {
    accent-color: #3189ff;
    filter: hue-rotate(313deg) brightness(1.22);
    width: 15px;
    height: 15px;
}


.correct input[type="radio"] {
    accent-color: #3189ff;
    filter: hue-rotate(313deg) brightness(1.22);
    width: 15px;
    height: 15px;
}



.button_check {
    background: linear-gradient(90deg, #4FC3F7, #7B68EE);
    color: white;
    padding: 20px 40px 18px 40px;
    margin-top: 10px;
    text-decoration: none;
    font-family: "League Spartan", sans-serif;
    font-weight: 600;
    display: inline-block;
    font-size: 18px;
    border-radius: 150px;
    box-shadow: inset 0 -2px 0 #06060638, 0 4px 0 rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    cursor: pointer;
}



    .button_check:hover {
        background: linear-gradient(-90deg, #4FC3F7, #7B68EE);
        box-shadow: inset 0 -2px 0 #2222221c, 0 4px 0 rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.2);
    }

.result-emoji {
    font-size: 4rem;
    margin-bottom: 8px;
    display: block;
    margin-top: -60px;
    text-shadow:  0 2px 0 rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2);
}


.result {
    display: none;
    padding: 30px;
    margin-top: 60px;
    margin-bottom:80px;
    border-radius: 30px;
    border: 4px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(90deg, #4FC3F7, #7B68EE) border-box;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1), 0 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/*.result {
    display: none;
    margin-top: 30px;
    padding: 30px;
    margin-top: 60px;
    border-radius: 30px;
    background: linear-gradient(90.23deg, #15d5c9 1.25%, #995de6 99.26%);
    text-align: center;
}
*/

.cta-button {
    background-color: #00C6A2;
    color: white;
    padding: 20px 40px 18px 40px;
    margin-top: 10px;
    font-family: "League Spartan", sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    border-radius: 150px;
    box-shadow: 0 2px 0 #04aa8c, 0 4px 0 rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    cursor: pointer;
}



.result .cta-button {
    padding: 20px 40px 20px 40px;
    background: linear-gradient(90deg, #4FC3F7, #7B68EE);
    box-shadow: inset 0 -2px 0 #2222221c, 0 4px 0 rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.2);
}

    .result .cta-button:hover {
        background: linear-gradient(-90deg,  #4FC3F7,  #7B68EE);
        box-shadow: inset 0 -2px 0 #2222221c, 0 4px 0 rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.2);
    }


    .math_img {
    width: 100%;
    margin-bottom: 40px;
    margin-top: 0px;
}


.cta-button-ban {
    background-color: #ffffff;
    color: #000;
    padding: 12px 20px 10px 20px;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    text-align: center;
    font-family: "League Spartan", sans-serif;
    font-weight:600;
    border-radius: 150px;
    box-shadow:  0 4px 0 rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    cursor: pointer;
}

.ban {
    width: 100%;
    background-color: white;
    position: relative;
    padding: 10px 20px;
    text-align: center;
    margin-bottom: 130px;
    margin-top: 30px;
    background: linear-gradient(90deg, #4FC3F7, #7B68EE);
/*    background: linear-gradient(90.23deg, #15d5c9 15%, #995de6 115%);
*/}


.ban_content_wrap {
    display: inline-grid;
    grid-template-columns: auto 150px;
    align-items: center;
    column-gap: 20px;
    width: 100%;
    margin: auto;
    max-width: 1000px;
}

.ban_text {
    font-size: 20px;
    font-family: "League Spartan", sans-serif;
    font-weight: 500;
    line-height:1.2;
    text-align: left;
    color: white;
}




.fraction {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: 0.9em;
}

    .fraction > span {
        display: block;
        line-height: 1;
    }

    .fraction .top {
        border-bottom: 1px solid #000;
        padding-bottom: 2px;
    }

    .fraction .bottom {
        padding-top: 2px;
    }



.main_header {
    display: grid;
    grid-template-columns: auto 60px;
    grid-template-rows: auto auto;
    justify-content: center;
    align-items: end;
    font-family: "League Spartan", sans-serif;
    column-gap: 10px;
    row-gap: 0;
    height: 90px;
    color: #8470f9;
    margin-top:40px;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
}

.small-text {
    grid-column: 1;
    grid-row: 1;
    height: 28px;
    font-size: 35.3px;
    letter-spacing: 0.71px;
    text-align: right;
    line-height: 0.8;
    margin-bottom: -10px;
}







 .large-text {
    grid-column: 1;
    grid-row: 2;
    font-size: 70px;
    height: 48px;
    letter-spacing: 0;
    text-align: right;
    line-height: 0.8;
}

.question-mark {
    grid-column: 2;
    grid-row: 1 / 3;
    position:absolute;
    line-height: 1;
    font-size: 9rem;
    font-weight:600;
    padding-top: 24px;
    align-self: center;
    transform: rotate(9deg) translateX(-5px);
    animation: vopr 5s ease-in-out infinite;
    transform-origin: 50% 95%;
}



@keyframes vopr {

    0% {
        transform: rotate(9deg) translateX(-25px) scale(1);
    }

    50% {
        transform: rotate(9deg) translateX(-22px) scale(1.1);
    }


    100% {
        transform: rotate(9deg) translateX(-25px) scale(1);
    }
}



@media screen and (max-width: 767px) {

    .main_header {
       
        column-gap: 10px;
        row-gap: 0;
       
        margin-top: 40px;
        margin-bottom: 10px;
        font-weight: 700;
        position: relative;
    }

    .large-text {
        font-size: 40px;

    }

    .small-text {
          height: 20px;
        font-size: 25.6px;
        letter-spacing: 0.71px;
     
    }

    .question-mark {
       
        font-size: 95px;
        left: 6px;
       
        padding-top: 9.4px;
 
    }


    .question {
        padding: 25px;
        background-color: white;
        position: relative;
        margin: 30px auto;
    }

    .description {
  
        margin-bottom: 20px;
    }


    .ban_content_wrap {
        display: inline-grid;
        grid-template-columns: auto 120px;
        align-items: center;
        column-gap: 20px;
        width: 100%;
        margin: auto;
        max-width: 1000px;
    }

    .ban_text {
        font-size: 19px;
      
    }
}

@media screen and (max-width: 400px) {

    .ban_text {
        font-size: 17px;
    }


    .ban_content_wrap {
        display: inline-grid;
        grid-template-columns: auto 90px;
        align-items: center;
        column-gap: 20px;
        width: 100%;
        margin: auto;
        max-width: 1000px;
    }

}

