.quiz_wrap * {
    font-family: 'Montserrat';
}

.quiz_wrap {
    position: relative;
    margin: 20px auto;
    max-width: 344px;
    width: 100%;
    height: 660px;
    border-radius: 10px;
    background: linear-gradient(180deg, #ADFBB9 0%, #E4FBAD 100%), #E4FBAD;
    overflow: hidden;
}

.quiz_header {
    background: linear-gradient(180deg, #8840C0 0%, #5A1784 71.67%);
    position: relative;
}

.quiz_header:after {
    content: ' ';
    display: block;
    position: absolute;
    bottom: -27px;
    background: 0 0 / 100% 100% url(../img/quiz_header-bg.png) no-repeat;
    height: 27px;
    width: 100%;
}

.quiz_title {
    padding-top: 20px;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    /* or 27px */

    text-align: center;

    color: #FFFFFF;
}

.quiz_title span {
    color: #F64777;
    margin-top: 5px;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.7);
    font-weight: 800;
    font-size: 22px;
    line-height: 135%;
}

.order_title {
    display: none;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 135%;
    /* or 24px */

    text-align: center;

    color: #FFFFFF;

    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.7);
    padding-top: 17px;

}

.order_title span {
    color: #E4FBAD;
    font-size: 20px;
    display: block;
    margin-top: 4px;
}

.quiz_question {
    display: flex;
    align-items: center;
    height: 48px;
    margin: 48px 38px 20px;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 133%;
    /* or 24px */


    color: #000000;
}

.quiz_question div {
    display: flex;
}

.quiz_question div span {
    display: block;
    padding-right: 8px;
}

.quiz_options {
    margin: 0 34px;
}

.quiz_option {
    position: relative;
    padding-left: 40px;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 21px;
    line-height: 135%;
    /* or 24px */
    cursor: pointer;


    color: #7931B1;
}

.quiz_option:before {
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
    content: ' ';
    display: block;
    background: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #959595;
    position: absolute;
    left: 0;
    top: -2px;
}

.quiz_option:after {
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
    content: ' ';
    display: block;
    background: #7931B1;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    position: absolute;
    left: 6px;
    top: 4px;
    opacity: 0;
}

.quiz_option.active:before {
    animation: radial-pulse 0.5s;
}

@keyframes radial-pulse {
    0% {
        box-shadow: 0 0 1px 2px #7931B1;
        ;
    }

    100% {
        box-shadow: 0 0 4px 5px rgba(0, 0, 0, 0);
    }
}

.quiz_option:hover:before,
.quiz_option.active:before {
    border: 1px solid #7931B1;
}

.quiz_option:hover:after,
.quiz_option.active:after {
    opacity: 1;
}

.quiz_nums {
    padding: 0 32px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 65px;
}

.quiz_num {
    -webkit-transition: 1s all;
    transition: 1s all;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    /* or 27px */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    background: #E5D2F2;
    border: 1px solid #FFFFFF;
    color: #9747FF;
}

.quiz_num span {
    -webkit-transition: 1s all;
    transition: 1s all;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    width: 34px;
    background: #fff;
    border-radius: 50%;
}

.quiz_num.active {
    background: #E5D2F2;
    border: 1px solid #A260D4;
}

.quiz_num.active span {
    background: linear-gradient(180deg, #962DD8 0%, #AD74DA 100%), #F64777;
    color: #fff;
}

.quiz_nums:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    width: calc(100% - 64px);
    height: 1px;
    background: #A260D4;
}

.quiz_footer {
    width: 100%;
    position: absolute;
    bottom: 20px;
    color: #000000;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
}

.quiz_footer span {
    font-weight: bold;
    color: #5A1784;
}

.quiz_step, #prod_img {
    transition: 0.5s all;
    display: none;
    opacity: 0;
    margin-top: -7px;
}

.quiz_step.active, #prod_img.active {
    opacity: 1;
    margin-top: 0;
}

.quiz_timer {
    margin-top: 39px;
    text-align: center;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;

    color: #000000;
}

.quiz_timer div {
    margin-top: 4px;
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 27px;
    text-align: center;

    color: #F64777;
    text-align: center;
}

.quiz_timer span {
    display: inline-block;
    width: 32px;
}

.quiz_prices {
    margin-top: 16px;
    margin-bottom: 12px;
    text-align: center;
}

.quiz_prices .quiz_oldprice {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    text-decoration-line: line-through;

    color: #000000;
}

.quiz_prices .quiz_newprice {
    margin-top: 4px;
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 27px;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    color: #5A1784;
}

.quiz_form form {
    width: 280px;
    margin: 0 auto;
}

.quiz_form form input, .quiz_form form select {
    line-height: 48px;
    padding-left: 24px;
    font-style: normal;
    font-weight: 400;
    height: 48px;
    box-sizing: border-box;
    font-size: 18px;
    display: block;
    background: #FFFFFF;
    border: 1px solid #5A1784;
    border-radius: 24px;
    width: 100%;
    margin-bottom: 16px;
    position: relative;
}

.quiz_form form input.active:invalid {
    border: 1px solid red;
}

.quiz_form form input.active:valid,
.quiz_form form input.active:-webkit-autofill:valid,
.quiz_form form input.active:-webkit-autofill:hover:valid,
.quiz_form form input.active:-webkit-autofill:focus:valid,
.quiz_form form input.active:-webkit-autofill:active:valid {
    border: 1px solid #68C853;
    background-color: #fff !important;
    background-image: url(../img/checked.png) !important;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    background-position: top 50% right 16px;
}


.quiz_form form button {
    text-transform: uppercase;
    margin-top: 24px;
    border-radius: 24px;
    height: 48px;
    display: block;
    text-align: center;
    width: 100%;
    background: #F64777;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 48px;
    letter-spacing: 0.03em;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
}

@media(max-width:360px) {
    .quiz_question {
        margin: 48px 18px 20px;
    }

    .quiz_options {
        margin: 0 14px;
    }
}
