.quiz {
    padding-bottom: 288px;
}
.quiz__title {
    font-weight: bold;
    font-size: 58px;
    line-height: 122%;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 94px;
}
.quiz__title span {
    color: #f7ca60;
}
.quiz__body {
    display: flex;
    background: #FFFFFF;
    border-radius: 10px;
    max-width: 940px;
    margin: 0 auto;
    padding-top: 24px;
}
.quiz__bar {
    width: 502px;
    height: 62px;
    background: #EDEDED;
    border-radius: 31px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 49px;
}
.quiz__progress {
    display: flex;
    background: linear-gradient(293.89deg, #F6C150 35.44%, #FDED9B 94.34%);
    border-radius: 31px;
    height: 62px;
    overflow: hidden;
}
.quiz__progress--1 {
    width: 20%;
}
.quiz__progress--2 {
    width: 40%;
}
.quiz__progress--3 {
    width: 60%;
}
.quiz__progress--4 {
    width: 80%;
}
.quiz__progress--5 {
    width: 100%;
}


.quiz2 .quiz__progress--1 {
    width: 16%;
}
.quiz2 .quiz__progress--2 {
    width: 33%;
}
.quiz2 .quiz__progress--3 {
    width: 50%;
}
.quiz2 .quiz__progress--4 {
    width: 66%;
}
.quiz2 .quiz__progress--5 {
    width: 83%;
}
.quiz2 .quiz__progress--6 {
    width: 100%;
}


.quiz__bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    line-height: 122%;
    text-transform: uppercase;
    color: #000000;
}
.quiz__name {
    justify-content: center;
    display: flex;
    font-weight: bold;
    font-size: 32px;
    line-height: 122%;
    text-align: center;
    color: #000000;
    margin-bottom: 62px;
}
.quiz__vars {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.quiz__var {
    display: flex;
    width: 32%;
    align-items: center;
    cursor: pointer;
}
.quiz__var:last-child {
    margin-right: 0;
}
.quiz__var span {
    margin-left: 13px;
    font-size: 20px;
    line-height: 122%;
    color: #000000;
}
.quiz__var-radio {
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.3;
}
.quiz__var input {
    display: none;
}
.quiz__var input:checked + .quiz__var-radio {
    opacity: 1;
}
.quiz__var input:checked + .quiz__var-radio > .quiz-var__circle {
    width: 22px;
    height: 22px;
    background: linear-gradient(293.89deg, #F6C150 35.44%, #FDED9B 94.34%);
    border-radius: 50%;
}
.quiz__next {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(293.89deg, #F6C150 35.44%, #FDED9B 94.34%);
    border-radius: 100px;
    width: 318px;
    height: 90px;
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000000;
    border-bottom: 3px solid #C49028;
    box-shadow: 0px 4px 50px #FFD57A;
    border-radius: 100px;
    cursor: pointer;
}
.quiz__btns {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 12px;
}
.quiz__prev {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000000;
    opacity: 1;
    margin-right: 23px;
    cursor: pointer;
}
.quiz__prev.disabled {
    opacity: 0.3;
    pointer-events: none;
}
.quiz__item {
    display: none;
}
.quiz__item--active {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    padding: 0 12px;
}
.quiz__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 670px;
    margin: 0 auto;
}
.quiz__inp {
    width: 317px;
}
.quiz__inp:first-of-type {
    margin-right: 30px;
}
.quiz__form-top {
    margin-bottom: 25px;
}
.quiz__form-btm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.quiz__form-note {
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    color: #000000;
}
.quiz__form-btn {
    background: linear-gradient(293.89deg, #F6C150 35.44%, #FDED9B 94.34%);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000000;
    border: none;
    width: 317px;
    height: 90px;
    border-bottom: 3px solid #C49028; 
    box-shadow: 0px 4px 50px #FFD57A;
    cursor: pointer;
}
.quiz__name--last {
    margin-bottom: 34px;
}
.quiz__name--last span {
    color: #f6c150;
}
.quiz__item-1 .quiz__var
.quiz__item-1 .quiz__vars {
    margin-bottom: 50px;
}
.quiz__item-1 .quiz__name {
    margin-bottom: 55px;
}

.quiz__item-4 .quiz__name {
    margin-bottom: 55px;
}
.quiz__item-4 .quiz__vars {
    margin-bottom: 49px;
    flex-wrap: wrap;
    gap: 12px;
}
.quiz__item-4 .quiz__var {
    margin-right: 0;
    padding-left: 27px;
    width: 20%;
}
.quiz__item-4 {
    position: relative;
}
.quiz__item-4 .quiz__bar {
    margin-bottom: 40px;
}
.quiz__item-5 .quiz__bar {
    margin-bottom: 0;
    position: relative;
    top: -40px;
}
.quiz__item-5 {
    position: relative;
    right: 0;
    bottom: 8px;
}
.quiz__item-5 .quiz__form-note {
    margin-top: 20px;
}
.quiz__item-5 .quiz__prev {
    position: relative;
    left: 50px;
    margin-right: 0;
}
.quiz__item-3 .quiz__vars {
    margin-bottom: 50px;
}

.quiz1 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 150;    

    display: none;
}
.quiz1-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 100;

    display: none;
}
.quiz1__inner {
    display: grid;
    position: relative;
    width: 100%;
    height: 100%;
}
.quiz1__close {
    width: 115px;
    height: 44px;
    justify-self: flex-end;
    margin: 12px;
    font-weight: bold;
    font-size: 20px;
    line-height: 125%;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.02em;
    color: #000000;
    background: #F6C150;
    border-radius: 8px;
    cursor: pointer;
}
.quiz1 {
    padding-top: 0;
}

.quiz2 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 150;
    display: none;
}

.quiz2-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 100;

    display: none;
}
.quiz2__inner {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    padding-top: 86px;
}
.quiz2__close {
    width: 115px;
    height: 44px;
    justify-self: flex-end;
    margin: 12px;
    font-weight: bold;
    font-size: 20px;
    line-height: 125%;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.02em;
    color: #000000;
    background: #F6C150;
    border-radius: 8px;
    cursor: pointer;
}
.quiz2 {
    padding-top: 0;
}
.quiz2__titles {
    font-weight: bold;
    font-size: 32px;
    line-height: 120%;
    text-align: center;
    color: #000000;
    margin-bottom: 18px;
}
.quiz2__titles--last {
    margin-bottom: 62px;
}
.quiz2__titles span {
    color: #f6c150;
}




.quiz2 .quiz__item-6 .quiz__bar {
    margin-bottom: 0;
    position: relative;
    top: -40px;
}
.quiz2 .quiz__item-6 {
    position: relative;
    right: 0;
    bottom: 8px;
}
.quiz2 .quiz__item-6 .quiz__form-note {
    position: absolute;
    bottom: -57px;
    right: 132px;
}
.quiz2 .quiz__item-6 .quiz__prev {
    position: relative;
    left: 50px;
    margin-right: 0;
}
.quiz2 .quiz__item-5 .quiz__prev {
    margin-right: 95px;
}

.quiz__item-2 .quiz__var {
    width: 33%;
}


@media (max-width: 976px) {
    .quiz__item-3 .quiz__inp {
        width: 224px;
    }
    .quiz__item-5 .quiz__prev {
        left: 0;
    }
    .quiz__item-5 .quiz__form-top {
        margin-bottom: 16px;
    }
    .quiz__item-5 .quiz__name {
        margin-bottom: 27px;
        display: flex;
        flex-wrap: wrap;
    }
    .quiz__item-5 .quiz__form-note {
        bottom: -16px;
        right: unset;
        width: 100%
    }
    .quiz__item-5 .quiz__bar {
        top: -10px;
    }
    .quiz__form-btm {
        flex-direction: column-reverse;
    }
    .quiz__form-btn {
        width: 253px;
        height: 62px;
        font-size: 14px;
        line-height: 17px;
        box-shadow: 0px 4px 20px #FFD57A;
        margin-bottom: 10px;
    }
    .quiz__form-note {
        font-size: 10px;
        line-height: 140%;
    }
    .quiz__name--last {
        text-align: center !important;
    }
    .quiz__form {
        width: 100%;
    }
    .quiz__inp:first-of-type {
        margin-right: 0;
    }
    .quiz__title {
        font-size: 26px;
        line-height: 115%;
        margin-bottom: 15px;
    }
    .quiz__body {
        width: 94%;
        height: 465px;
    }
    .quiz__bar {
        width: 100%;
        height: 31px;
        margin-bottom: 12px;
    }
    .quiz__progress {
        height: 31px;
    }
    .quiz__bar-text {
        font-size: 10px;
        line-height: 122%;
    }
    .quiz__name {
        font-size: 14px;
        line-height: 122%;
        text-align: left;
        margin-bottom: 26px !important;
    }
    .quiz__vars {
        flex-direction: column;
        flex-grow: 1;
        margin-bottom: 0 !important;
        justify-content: center;
        align-items: flex-start;
    }
    .quiz__var {
        margin-right: 0;
        margin-bottom: 9px;
        width: auto !important;
        justify-content: flex-start !important;
        margin-top: 0 !important;
    }
    .quiz__var-radio {
        min-width: 18px;
        height: 18px;
    }
    .quiz__var input:checked + .quiz__var-radio > .quiz-var__circle {
        width: 10px;
        height: 10px;
    }
    .quiz__var span {
        margin-left: 9px;
        font-size: 12px;
        line-height: 122%;
    }
    .quiz__item--active {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .quiz__btns {
        flex-direction: column-reverse;
        margin: auto 0 12px;
    }
    .quiz__next {
        width: 224px;
        height: 62px;
        font-size: 14px;
        line-height: 17px;
        box-shadow: 0px 4px 20px #FFD57A;
        margin-bottom: 20px;
    }
    .quiz__prev {
        font-size: 14px;
        line-height: 17px;
        letter-spacing: 0.05em;
        margin-right: 0;
    }
    .quiz {
        padding-bottom: 73px;
    }
    .quiz__item-4 .quiz__var {
        padding-left: 0 !important;
        width: 53% !important;
    }
    .quiz__item-4 .quiz__vars {
        height: 210px !important;
    }
    .quiz__item-4 .quiz__var:nth-child(-n+7) {
        width: 45% !important;
    }
    .quiz__item-4 .quiz__bar {
        margin-bottom: 25px !important;
    }
    .quiz__item-4 {
        top: -10px;
    }
    .quiz1__close {
        display: flex;
        justify-self: flex-end;
        margin: 12px;
        font-size: 17px;
        line-height: 100%;
        width: 98px;
        height: 34px;
    }
    .quiz2__close {
        display: flex;
        justify-self: flex-end;
        margin: 12px;
        font-size: 17px;
        line-height: 100%;
        width: 98px;
        height: 34px;
    }
    .quiz1__inner {
        padding-top: 20px;
    }
    .quiz2__inner {
        padding-top: 0px;
    }
    .quiz__item-3 .quiz__inp {
        width: 100%;
    }
    .quiz__item input {
        width: 100%;
    }
    .quiz__form-btn {
        width: 100%;
    }
    .quiz__body {
        height: 530px;
    }
    .quiz2__titles {
        font-size: 13px;
        margin-bottom: 8px;
    }
    .quiz2__titles--last {
        margin-bottom: 30px;
    }
    
    .quiz2__titles br {
        display: none;
    }
    .quiz2 .quiz__item-1 .quiz__btns {
        padding-bottom: 30px;
    }
    .quiz2 .quiz__item-1 .quiz__vars {
        padding-bottom: 25px;
    }
    .quiz2 .quiz__item-5 .quiz__prev {
        margin-right: 0;
    }
    .quiz2 .quiz__item-5 {
        bottom: 0;
    }
    .quiz2 .quiz__item-5 .quiz__bar {
        top: 0px;
        margin-bottom: 28px;
    }
    .quiz2 .quiz__item-6 .quiz__bar {
        top: 0;
        margin-bottom: 20px;
    }
    .quiz2 .quiz__item-6 .quiz__form-note {
        bottom: -66px;
        left: 0;
        right: unset;
    }
    .quiz2 .quiz__item-6 .quiz__form-btm {
        padding-bottom: 100px;
    }
    .quiz2 .quiz__item-6 .quiz__prev {
        left: 2px;        
    }
    .btm-bg {
        background-image: linear-gradient( to bottom, #181818 0%, transparent 50%, #181818 100% ),url(../img/footer/bg-mob.png) !important;
    }
}