@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800;900&display=swap');

*{
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
}

header .sticky-menu{
    top:10px;
    bottom:auto;
}

.top-links{
    top:30px;
    bottom:auto;
}

.container_close_quiz{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    cursor:pointer;
}

.close_quiz{
    position:absolute;
    top:20px;
    right:20px;
    cursor:pointer;
}

.container_quiz{
    display: none;
    font-family: 'Rubik' , sans-serif;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #015b1b5e;
}

.wrap_quiz{
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    margin: auto;
    height: 100vh;
    overflow: auto;
}

.item_quiz{
    position:relative;
    width: 100%;
    height: 900px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
    max-width: 1600px;
    margin: auto;
}

.item_quiz_home{
    background: url(../images/quiz/home.png);
    background-repeat: no-repeat;
    background-position: center;
    object-fit: cover;
}

.item_quiz_home .wrap_text_home{
    max-width: 660px;
    width: 100%;
    height: 100%;
    margin: 0 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 50px;
}

.item_quiz_home .wrap_text_home > h1{
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 101.7%;
    text-align: center;
    color: #FFFFFF;
}

.item_quiz_home .wrap_text_home > h2{
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 57px;
    text-align: center;
    color: #FFFFFF;
    margin-top: 44px;
    max-width: 606px;
}

.item_quiz_home .wrap_text_home > h2 span{
    color: #FFD503;
}

.btn_quiz{
    width: 100%;
    font-family: 'Rubik' , sans-serif;
    background: #FFD503;
    border-radius: 10px;
    text-align: center;
    padding: 22px 0;
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 38px;
    color: #000000;
    transition: .3s;
    cursor: pointer;
    opacity: 0.7;
    cursor: not-allowed;
}


.btn_quiz:hover{
    transform: translateY(-3px);
}

.btn_quiz_start,
.btn_quiz_submit,
.btn_quiz_adress{
    opacity: 1;
    cursor: pointer;
}

.item_quiz_home .wrap_text_home .btn_quiz{
    max-width: 493px;
    margin-top: 86px;
}

.item_quiz_question{
    background: url(../images/quiz/quest.png);
    background-size: cover;
}

.item_quiz_question{
    padding: 56px 87px 106px 120px;
    box-sizing: border-box;
}

.item_quiz_question > h2{
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    color: #000000;
    text-align: center;
}

.item_quiz_question > h3{
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 38px;
    color: #000000;
    text-align: center;
    margin-top: 28px;
}

.wrap_progress_quiz{
    max-width: 1006px;
    margin: auto;
    margin-top: 26px;
}

.container_progress_quiz{
    position: relative;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 4px 40px rgba(1, 91, 27, 0.3);
    border-radius: 50px;
    height: 21px;
}

.wrap_progress_quiz > h4{
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 19px;
    color: #000000;
    margin-bottom: 11px;
    text-align: center;
}

.progress_quiz{
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(270deg, #44B865 7.67%, #015B1B 120%);
    border-radius: 50px;
    height: 100%;
}

.wrap_question_and_skidka_quiz{
    margin-top: 44px;
    display: flex;
    justify-content: space-between;
}

.wrap_quiz_items_questions > h4{
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 31px;
    color: #000000;
}

.item_radio_quiz{
    position: relative;
}

.custom_radio_quiz{
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.item_radio_quiz{
    max-width: 262px;
    width: 100%;
    margin-bottom: 20px;
}

.custom_radio_quiz+label{
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    display: block;
    padding: 16px 0 16px 19px;
    box-sizing: border-box;
    cursor: pointer;
}

.custom_radio_quiz+label span{
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 19px;
    color: #000000;
    display: flex;
    align-items: center;
}

.custom_radio_quiz+label span::before{
    content: '';
    background-image: url(../images/quiz/cust_rad.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 33px;
    height: 33px;
    display: block;
    margin-right: 20px;
}

.custom_radio_quiz:checked+label span::before{
    background-image: url(../images/quiz/cust_rad_active.svg);
}

.wrap_items_radio_quiz{
    margin-top: 50px;
}

.wrap_items_radio_quiz{
    display: flex;
    flex-wrap: wrap;
    max-width: 588px;
    justify-content: space-between;
}

.btn_quiz_quest{
    max-width: 416px;
    margin-top: 52px;
}

.wrap_skidka{
    background: #FFFFFF;
    border-radius: 50px;
}

.container_skidka{
    max-width: 306px;
    width: 100%;
}

.wrap_img_skidka{
    max-width: 100%;
    width: 100%;
}

.wrap_img_skidka img{
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0 0 50px 50px;
}

.content_skidka{
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 21px;
    text-align: center;
    color: #000000;
    margin-top: 40px;
}

.your_skidka{
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(1, 91, 27, 0.5);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 21px;
    box-sizing: border-box;
}

.your_skidka > h4{
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 19px;
    color: #000000;
}

.your_skidka > span{
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 46px;
    color: #015B1B;
}

section .item_radio_quiz_long{
    max-width: 389px;
}

.wrap_items_radio_quiz_long{
    max-width: 815px;
}

.item_quiz input[type = text]{
    max-width: 601px;
    width: 100%;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 15px;
    color: rgba(0, 0, 0, 0.46);
    padding: 28px 0 28px 25px;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(1, 91, 27, 0.5);
    border-radius: 20px;
    box-sizing: border-box;
}

.item_inp_text_quiz input[type = text]{
    margin-top: 30px;
}

section .wrap_quiz_items_questions_end > h4{
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 19px;
    color: #000000;
    max-width: 704px;
}

@media (max-width:1750px) {
    .btn_quiz {
        font-size: 26px;
        line-height: 32px;
        padding: 18px 0;
    }

    .item_quiz_home .wrap_text_home .btn_quiz {
        max-width: 370px;
        margin-top: 40px;
    }

    .item_quiz {
        height: 600px;
        object-fit: contain;
        max-width: 1200px;
    }

    .item_quiz_home .wrap_text_home > h1,
    .item_quiz_home .wrap_text_home > h2{
        font-size: 32px;
        line-height: 38px;
    }

    .item_quiz_question > h3{
        margin-top: 20px;
    }

    .item_quiz_home .wrap_text_home {
        max-width: 475px;
    }

    .item_quiz_home .wrap_text_home > h2{
        margin-top: 30px;
    }

    .item_quiz_question > h2,
    .item_quiz_question > h3,
    .wrap_quiz_items_questions > h4{
        font-size: 26px;
        line-height: 32px;
    }

    section .item_quiz_question{
        height: auto;
    }

    .item_quiz_question {
        padding: 40px 55px 60px 80px;
    }

    .wrap_items_radio_quiz {
        margin-top: 30px;
    }

    .custom_radio_quiz+label {
        padding: 12px 0 12px 15px;
    }

    .item_radio_quiz{
        margin-bottom: 15px;
        max-width: 230px;
    }

    .btn_quiz_quest {
        max-width: 370px;
        margin-top: 35px;
    }

    .container_skidka {
        max-width: 230px;
    }

    .your_skidka > h4,
    .content_skidka,
    .custom_radio_quiz + label span,
    .wrap_progress_quiz > h4{
        font-size: 16px;
        line-height: 18px;
    }

    .your_skidka > span {
        font-size: 38px;
        line-height: 42px;
    }

    .your_skidka{
        padding: 9px 16px;
    }

    .container_progress_quiz {
        height: 15px;
    }

    .custom_radio_quiz+label span::before{
        width: 25px;
        height: 25px;
    }

    section .item_radio_quiz_long {
        max-width: 350px;
    }

    .item_quiz input[type = text] {
        max-width: 520px;
        font-size: 15px;
        line-height: 14px;
        padding: 20px 0 20px 15px;
    }
}

@media (max-width:1399px) {
    .btn_quiz {
        font-size: 22px;
        line-height: 24px;
        padding: 12px 0;
    }

    .item_quiz {
        height: 500px;
        max-width: 1000px;
    }

    .item_quiz_home .wrap_text_home{
        padding-right: 30px;
    }

    .item_quiz_home .wrap_text_home > h1, .item_quiz_home .wrap_text_home > h2 {
        font-size: 28px;
        line-height: 32px;
    }

    .item_quiz_home .wrap_text_home {
        max-width: 375px;
    }

    .item_quiz_question > h2, .item_quiz_question > h3, .wrap_quiz_items_questions > h4 {
        font-size: 20px;
        line-height: 26px;
    }

    .wrap_items_radio_quiz {
        margin-top: 20px;
    }

    .your_skidka > h4, .content_skidka, .custom_radio_quiz + label span, .wrap_progress_quiz > h4{
        font-size: 14px;
        line-height: 16px;
    }

    .item_radio_quiz {
        max-width: 200px;
    }

    .wrap_items_radio_quiz {
        max-width: 460px;
    }

    .item_quiz_question {
        padding: 30px 50px 45px 50px;
    }

    .container_skidka {
        max-width: 200px;
    }

    .your_skidka > span {
        font-size: 30px;
        line-height: 36px;
    }

    .btn_quiz_quest {
        max-width: 250px;
        margin-top: 25px;
    }

    .custom_radio_quiz+label {
        padding: 11px 0 11px 12px;
    }

    .item_radio_quiz {
        margin-bottom: 12px;
    }

    .content_skidka{
        margin-top: 20px;
    }

    .wrap_progress_quiz {
        max-width: 666px;
        margin-top: 20px;
    }

    .container_progress_quiz {
        height: 10px;
    }

    .custom_radio_quiz + label span::before {
        width: 20px;
        height: 20px;
        margin-right: 15px;
    }

    
}

@media (max-width:1199px) {
    .item_quiz {
        height: 450px;
        max-width: 800px;
    }

    .item_quiz_home .wrap_text_home > h1, .item_quiz_home .wrap_text_home > h2 {
        font-size: 24px;
        line-height: 28px;
    }

    .item_quiz_home .wrap_text_home {
        max-width: 285px;
    }

    .btn_quiz {
        font-size: 20px;
        line-height: 24px;
    }

    .item_radio_quiz {
        max-width: 170px;
    }

    .wrap_items_radio_quiz {
        max-width: 415px;
    }

    .btn_quiz_quest {
        max-width: 200px;
    }

    .container_skidka {
        max-width: 165px;
    }

    .your_skidka > h4, .content_skidka, .custom_radio_quiz + label span, .wrap_progress_quiz > h4{
        font-size: 12px;
        line-height: 14px;
    }

    .wrap_progress_quiz {
        max-width: 510px;
    }
}

@media (max-width:967px) {
    .item_quiz {
        height: 450px;
        max-width: 567px;
    }

    .item_quiz_home {
        background: url(../images/quiz/home_mm.png);
        background-repeat: no-repeat;
        object-fit: cover;
        background-position: center;
    }

    .container_skidka{
        display: none;
    }

    .item_radio_quiz {
        max-width: 260px;
    }

    .wrap_items_radio_quiz{
        max-width: 100%;
        justify-content: center;
    }

    .wrap_quiz_items_questions > h4{
        text-align: center;
    }

    .btn_quiz_quest{
        display: block;
        margin: 50px auto 0;
    }

    .item_quiz_question > h3, .custom_radio_quiz + label span{
        font-size: 16px;
        line-height: 15px;
    }

    .custom_radio_quiz + label span::before {
        width: 24px;
        height: 24px;
        margin-right: 29px;
    }

    .wrap_question_and_skidka_quiz{
        justify-content: center;
    }
}

@media (max-width:600px){
    .item_quiz {
        height: auto;
        max-width: 300px;
        min-height: 655px;
    }

    .item_quiz_home {
        background: url(../images/quiz/home_mm.png);
        background-repeat: no-repeat;
        background-position-x: right;
        background-position-y: top;
        object-fit: cover;
    }

    .item_quiz_home .wrap_text_home{
        padding: 0 20px 44px;
        margin: auto 0 0 0;
        height: 100%;
    }

    .item_quiz_home{
        display: flex;
        align-items: flex-end;
    }

    .item_quiz_home .wrap_text_home > h1{
        margin: 0 0 0 auto;
        max-width: 186px;
    }

    .item_quiz_home .wrap_text_home > h2{
        font-size: 20px;
        line-height: 24px;
        max-width: 272px;
    }

    .item_quiz_question > h3{
        margin-top: 10px;
    }

    .wrap_question_and_skidka_quiz {
        margin-top: 19px;
        margin-bottom: 75px;
    }

    .container_progress_quiz {
        height: 6px;
    }

    .wrap_progress_quiz > h4 {
        font-size: 14px;
        line-height: 16px;
    }

    .custom_radio_quiz + label span::before{
        position: absolute;
        left: 10px;
    }

    .custom_radio_quiz + label span{
        margin-left: 50px;
    }

    .item_quiz input[type = text] {
        font-size: 14px;
        line-height: 14px;
        padding: 18px 0 18px 23px;
    }

    section .wrap_quiz_items_questions_end > h4{
        font-size: 16px;
        line-height: 15px;
    }

    .btn_quiz{
        font-size: 24px;
        line-height: 28px;
        padding: 18px 0;
    }

    .item_quiz_question {
        position: relative;
        background: url(../images/quiz/quest_mm.png);
        background-size: cover;
        padding: 30px 20px;
        background-position-x: left;
    }

    .btn_quiz_quest{
        position: absolute;
        max-width: 276px;
        margin: 0px auto 0;
        bottom: 40px;
        left: calc(50% - 276px / 2);
    }

    .wrap_quiz_items_questions > h4{
        line-height: 19px;
    }

    
}