body {
    font-family: "Inter", Helvetica, Arial, sans-serif;
    background-color: rgb(240, 240, 240);
}

.body-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
}

.main-button-container {
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .55) 40%, hsla(0, 0%, 100%, .8) 87%);
    z-index: 1;
    position: fixed;
    width: 100%;
    padding: 35px 0 15px;
    bottom: 0;
    display: flex;
    justify-content: center;
}

.main-button {
    background-color: #007bff; 
    color: #ffffff;
    border-color: transparent;
    font-size: 20px;
    font-weight: 500;
    position: static;
    width: auto;
    height: 52px;
    min-height: 43px;
    min-width: 300px;
    max-width: 100%;
    border-radius: 24px;
}

.main-button:hover {
    background: #0063cc;
    cursor: pointer;
}

.landing-container {
    max-width: 880px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    width: 100%;
}

@media (max-width: 818px) {
    .landing-container {
        max-width: 500px;
    }
}

.landing-block {
    width: 100%;
    padding: 15px 0;
}

.landing-block_text {
    text-align: center;
}

.landing-block_text h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.landing-block_text h2{
    padding: 0 20px;
    font-size: 24px;
}

.landing-block_text h1,h2,h3,p{
    padding: 0 20px;
    margin-top: 0;
}

.landing-block_text p {
    font-size: 18px;
    line-height: 26px;
}

.landing-block_text ul {
    font-size: 18px;
    line-height: 26px;
    margin: 0;
    margin-left: 1.4rem;
    padding: 0;
}

.landing-block_img {
    max-width: 752px;
}

.landing-block_img img {
    border-radius: 10px;
    width: 100%;
}

/* footer */

.footer_section {
    padding: 25px 0;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}

.footer_section img {
    display: block;
    margin: 0 auto 10px auto;
}

.footer_section a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none
}

.footer_section p {
    margin: 0;
}

/* footer */

/* quiz */

.quiz {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.display-none {
    display: none;
}


.quiz-container {
    /* display: flex; */
    display: none;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.quiz-container fieldset {
    padding: 0;
}

.quiz-question {
    padding: 30px 30px 10px;
    font-size: 28px;
    line-height: 1.2;
}

.answer-variants-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: min-content;
    grid-gap: 16px;
    padding-bottom: 6px;
    padding: 10px 30px 0;
}

@media (max-width: 767px) {
    .answer-variants-group {
        grid-template-columns: 1fr;
    }
}

.answer-variant {
    display: flex;
    border-radius: 5px;
    border: solid 1px rgba(217, 216, 230, .55);
    padding: .8rem 1rem;
    cursor: pointer;
}

.answer-variant:hover {
    -webkit-box-shadow: 2px 2px 5px 0px rgba(214, 214, 214, 1);
    -moz-box-shadow: 2px 2px 5px 0px rgba(214, 214, 214, 1);
    box-shadow: 2px 2px 5px 0px rgba(214, 214, 214, 1);
}

.answer-variant label {
    padding-left: 1rem;
    display: block;
    height: 100%;
    cursor: pointer;
    user-select: none;
}

.answer-variant input {
    cursor: pointer;
    /* user-select: none; */
}


.quiz-button-container {
    position: absolute;
    bottom: 0;
    width: calc(100% - 60px);
    display: flex;
    justify-content: space-between;
    padding: 26px 30px 30px;
    border-top: solid 1px #d6d6d6;
    background-color: #f0f0f0;
}

.quiz-button {
    font-size: 16px;
    height: 43px;
    padding: 0 22px;
    font-weight: 500;
    overflow: hidden;
    color: white;
    background-color: #007bff;
    box-shadow: 0 3px 10px 0 rgba(0, 123, 255, 0.5);
    border-radius: 24px;
    border: none;
    line-height: 1.3rem;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
    cursor: not-allowed;
    content: '+';
}

@media (max-width: 245px) {
    .quiz-button {
        padding: 0 19px;
    }
    .quiz-button span {
        display: none;
    }
    .quiz-button-next:after {
        content: '›';
    }
    .quiz-button-back:after {
        content: '‹';
    }
}
/* quiz */


/* final-page */

.final-page-container {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.final-page-text-container {
    max-width: 635px;
    padding: 1.5rem 1rem 1.6rem;
}

.final-page-text-container h1 {
    margin-bottom: 1.2rem;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
}

.final-page-form-container {
    padding: 29px 35px 19px;
    border-radius: 3px;
    -webkit-box-shadow: 0 9px 40px 0 #d6d6d6;
    box-shadow: 0 9px 40px 0 #d6d6d6;
    border: solid 1.2px #d6d6d6;
    background-color: #f0f0f0;
    max-width: 500px;
    width: 100%;
}

@media (max-width: 625px) {
    .final-page-form-container{
        border:none;
        box-shadow: none;
        background-color: transparent;
    }

    .final-page-form-container input {
        margin: 0 16px;
    }

    .final-page-form-container button {
        margin: 0 16px;
        max-width: calc(100% - 32px);
    }
    
}

.final-page-form-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.final-page-form-container input {
    height: 48px;
    border: solid 1.2px var(--color-bg-3, #b1b5be);
    color: #000000;
    background: none;
    border-radius: 4px;
    font-weight: 500;
    padding: calc(.375em - 1px) calc(.625em - 1px);
    padding-left: 3.4rem;
}

.final-page-form-container a {
    text-decoration: none;
    color: #007bff;
}

.final-page-form-container a:hover {
    text-decoration: underline;
    color: gray;
}

.final-page-form-container .field[name='name'] {
    background: #ebebeb url(../images/name-icon.png) 22px center no-repeat;
}

.final-page-form-container .field[name='phone'] {
    background: #ebebeb url(../images/phone-icon.png.png) 20px center no-repeat;
}

.final-page-form-container button {
    margin-top: 10px;
    min-height: 50px;
    overflow: hidden;
    width: 100%;
    font-weight: 400;
    color: white;
    background-color: #007bff;
    box-shadow: 0 3px 15px 0 rgba(0, 123, 255, 0.5);
    font-size: 18px;
    padding: 12px 30px;
    border-radius: 24px;
    border: none;
    line-height: 1.3rem;
    cursor: pointer;
}

.final-page-form-container button:hover {
    background-color: #0063cc;
}

.final-page-container p {
    font-size: 18px;
    line-height: 26px;
}


/* final-page */