html,
body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent;
    font-family: "Poppins", sans-serif;
    color: #231F20;
}

body {
    max-width: 1920px;
    height: 100vh;
    margin: 0 auto;
    background: linear-gradient(180deg, #F3FDED 0%, #F8FEF4 74.59%, #FFFFFF 100%);
    padding-bottom: 108px;
}

.container {
    max-width: 924px;
    padding: 0 20px;
    margin: 0 auto;
}

.trial_style:hover {
    cursor: pointer;
}

ul,
li,
img,
a,
button,
input {
    display: block;
    font-family: "Poppins", sans-serif;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #000 !important;
}

a {
    text-decoration: none;
}

button,
input {
    outline: none;
    border: none;
}

input {
    width: 100%;
    height: 46px;
    border: 2px solid #DFDFDF;
    border-radius: 8px;
    padding: 14px 19px;
    margin-top: -12px;
    margin-bottom: 10px;
}

input::plceholder {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #666;
    opacity: 0.3;
}

input.error {
    border: 2px solid #EE1C25;
}

label {
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    color: #666;
    padding: 4px 10px;
    background: #fff;
    margin-left: 9px;
    position: relative;
    z-index: 1;
}

label.error {
    visibility: hidden;
    position: absolute;
    z-index: -9;
}

button {
    cursor: pointer;
    width: 100%;
    height: 56px;
    background: #D7D7D7;
    box-shadow: inset 0px -3px 0px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    color: #fff;
}

button.active {
    background: #F7910E;
    box-shadow: inset 0px -6px 0px #CD7300;
}

h2 {
    max-width: 650px;
    margin: 0 auto;
    font-weight: 600;
    font-size: 28px;
    line-height: 37px;
    text-align: center;
    letter-spacing: -0.168px;
}

h2 span {
    color: #F7910E;
}

.h2_block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.h2_block h2 {
    max-width: 100%;
    margin: 0;
}

.h2_block img {
    margin: 0 16px;
}

h3 {
    font-weight: 700;
    font-size: 28px;
    line-height: 33px;
}

.btn {
    cursor: pointer;
    max-width: 310px;
    height: 80px;
    background: #F7910E;
    box-shadow: inset 0px -6px 0px #CD7300;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 28px;
    line-height: 42px;
    text-align: center;
    letter-spacing: -0.168px;
    color: #fff;
}

/*header*/
.header {
    background-color: #af6db7;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.159957);
    padding: 10px 0;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo p {
    font-weight: 600;
    font-size: 20px;
    line-height: 17px;
    letter-spacing: 0.9px;
    margin-left: 16px;
}

/*header page*/
.header_page .logo {
    justify-content: start;
}

/*nav*/
.quiz_block {
    padding-top: 108px;
    position: relative;
}

@media (max-width: 640px) {
    .quiz_block{
        padding-top: 70px;
    }
}

.quiz_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.quiz_prev img {
    cursor: pointer;
    width: 15px;
}

.quiz_dots {
    display: flex;
}

.quiz_dots li {
    width: 20px;
    height: 20px;
    background: #D8D8D8;
    border-radius: 50%;
    margin-left: 16px;
}

.quiz_dots li:first-child {
    margin-left: 0 !important;
}

.quiz_dots li.active {
    background: #F7910E;
}

.quiz_dots li.passed {
    background: #D8D8D8;
}

.quiz_number {
    font-size: 18px;
    letter-spacing: -0.11px;
    line-height: 52px;
}

/*offer*/
.btn_selection {
    margin: 100px auto 0;
}

/*slider*/
.quiz_slider {
    margin-top: 40px;
}

.quiz_slide {
    position: relative;
}

.quiz_item {
    display: none;
}

.quiz_item.active {
    display: block;
}

/*yes or no*/
.yesOrNo {
    position: relative;
    max-width: 304px;
    display: flex;
    justify-content: space-between;
    margin: 70px auto 0;
}

.yesOrNo input {
    position: absolute;
    z-index: -1;
    visibility: hidden;
}

.yesOrNo label {
    cursor: pointer;
    width: 117px;
    height: 53px;
    border: 2px solid #F7910E;
    border-radius: 26.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.17px;
    line-height: 52px;
    transition: all 0.2s linear;
}

.yesOrNo label.active,
.yesOrNo label:active {
    background: #F7910E;
    color: #fff;
}

.next {
    cursor: pointer;
    width: 310px;
    height: 80px;
    border-radius: 18px;
    background: #eee;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.26);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #b6b6b6;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.17px;
    line-height: 46px;
    text-align: center;
    margin: 70px auto;
}

.next.active {
    background: #34d148;
    color: #fff;
}

.btn_quiz_item {
    margin: 100px auto 0;
}

.btn_quiz_item_new {
    margin: 100px auto 0;
}

/*registration*/
.reg_block {
    display: flex;
    box-shadow: 0px 5px 16px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    margin-top: 53px;
}

.reg_title_mob {
    display: none;
}

.reg_image {
    position: relative;
}

.reg_image > img {
    width: 100%;
}

.reg_logo {
    display: flex;
    align-items: center;
    position: absolute;
    top: 26px;
    left: 24px;
}

.reg_logo p {
    font-weight: 900;
    font-size: 20px;
    line-height: 17px;
    letter-spacing: 0.9px;
    margin-left: 16px;
}

.reg_form {
    width: 442px;
    background: #fff;
    border-radius: 0 16px 16px 0;
    padding: 32px;
    position: relative;
}

.reg_form_nav {
    display: flex;
    justify-content: space-between;
    margin: 16px 0 25px;
}

.reg_form_nav li {
    cursor: pointer;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #404040;
    opacity: 0.7;
    position: relative;
}

.reg_form_nav li:after {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background: transparent;
    border-radius: 4px;
    transition: all 0.2s linear;
    position: absolute;
    bottom: -11px;
}

.reg_form_nav li.active:after {
    background: #F7910E;
}

/*form email*/
.form_email {
    display: none;
}

.button_mail {
    margin-top: 90px;
}

.reg_link {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #F7910E;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
}

/*form phone*/
.form_phone_input {
    display: flex;
    position: relative;
}

.form_phone_choise {
    filter: drop-shadow(0px 10px 30px rgba(0, 0, 0, 0.2));
    position: absolute;
    z-index: 2;
    top: -12px;
    left: 0;
    right: 0;
    display: none;
}

.form_phone_choise_block {
    width: 100%;
    height: 46px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
}

.form_phone_choise_block > div {
    display: flex;
    align-items: center;
}

.form_phone_choise_block > div:first-child span {
    font-size: 12px;
    line-height: 14px;
    color: #666;
    margin-left: 10px;
}

.form_phone_choise_block > div:last-child span {
    font-size: 12px;
    line-height: 14px;
    color: #666;
    margin-right: 10px;
}

.return_form_email {
    width: 100%;
    height: 46px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 2px solid #DFDFDF;
}

.return_form_email p {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #F7910E;
}

.form_phone_flag_arrow {
    cursor: pointer;
    display: flex;
    align-items: center;
    position: absolute;
    left: 18px;
}

.form_phone_arrow {
    margin-left: 40px;
}

.form_phone_input_1 {
    width: 135px;
    border-radius: 8px 0 0 8px;
    border-right: none;
    padding-left: 48px;
}

.form_phone_input_1.error {
    border-right: none;
}

.form_phone_input_2 {
    border-radius: 0 8px 8px 0;
}

.button_phone {
    margin-top: 90px;
}

/*trial*/
.trial_block {
    width: 100%;
    background: #fff;
    box-shadow: 0px 5px 16px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 40px 95px 64px;
}

.trial_title {
    font-weight: 600;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
    color: #000;
}

.trial_description {
    max-width: 508px;
    margin: 48px auto 13px;
}

.trial_description li {
    position: relative;
    font-weight: 600;
    font-size: 18px;
    line-height: 21px;
    color: #555;
    margin-top: 20px;
    margin-left: 56px;
}

.trial_description li:first-child {
    margin-top: 0;
}

.trial_description li:last-child {
    color: #F7910E;
}

.trial_description li:before {
    display: block;
    width: 32px;
    height: 32px;
    background: #F7910E;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
    color: #fff;
    text-align: center;
    position: absolute;
    top: -4px;
    left: -56px;
}

.trial_description li:nth-child(1):before {
    content: '1';
}

.trial_description li:nth-child(2):before {
    content: '2';
    top: 6px;
}

.trial_description li:nth-child(3):before {
    content: '3';
}

.trial_downloads {
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.trial_downloads a {
    position: relative;
    width: 262px;
    height: 56px;
    background: #F7910E;
    border-radius: 10px;
    filter: drop-shadow(0px 20px 20px rgba(0, 0, 0, 0.1));
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 56px;
    transition: all 0.2s linear;
    cursor: pointer;
}

.trial_downloads a:hover {
    background: #555;
}

.trial_downloads a:before {
    content: '';
    display: block;
    width: 23px;
    height: 32px;
    background: url(../img/download.png) no-repeat;
    position: absolute;
    top: 12px;
    right: 22px;
}

.trial_downloads a p {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #fff;
    margin-left: 12px;
}

/*index 2*/
.form_phone_code {
    display: flex;
    justify-content: space-between;
}

.form_phone_code input {
    width: 212px;
}

.button_form_code {
    width: 150px;
    height: 46px;
    margin-top: 13px;
}

.button_phone_code {
    margin-top: 21px;
}

.error_code {
    border: 2px solid #EE1C25;
}

.form_phone_code label.error {
    visibility: visible;
    position: fixed;
    z-index: 1;
    top: 108px;
    left: 0;
    right: 0;
    max-width: 510px;
    height: 0;
    background: transparent;
    font-size: 0;
    line-height: 0;
    margin: 0 auto;
}

.form_phone_code label.error:before {
    content: 'Oops! The confirmation code is invalid. Please, try another one';
    min-height: 44px;
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.16);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding-left: 35px;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #404040;
}

.form_phone_code label.error:after {
    content: '';
    width: 24px;
    height: 24px;
    background: url(../img/allert.png) no-repeat;
    position: absolute;
    z-index: 1;
    top: 14px;
    left: 14px;
}

.quiz_item_block {
    width: 1170px;
    display: flex;
    justify-content: space-between;
    margin-top: 56px;
    margin-left: -143px;
}

.quiz_item_block > div:nth-child(1) {
    width: 300px;
    margin-top: 25px;
}

.quiz_item_block > div:nth-child(3) {
    width: 230px;
    margin-top: 40px;
}

.quiz_item_block > div:nth-child(5) {
    width: 240px;
    margin-top: 50px;
}

.quiz_item_block > div:nth-child(7) {
    width: 250px;
}

.quiz_item_block_item img {
    width: 100%;
}

.quiz_item_block_item div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quiz_item_block_item span {
    display: block;
    width: 32px;
    height: 32px;
    background: #F7910E;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    line-height: 21px;
    color: #fff;
}

.quiz_item_block_item p {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    margin-left: 16px;
}

.quiz_item_block_arrow {
    margin-top: 298px;
}

.quiz_item_block > div:nth-child(1) div {
    margin-top: 36px;
}

.quiz_item_block > div:nth-child(3) div {
    margin-top: 41px;
}

.quiz_item_block > div:nth-child(5) div {
    margin-top: 80px;
}

/*layout*/
@media screen and (max-width: 1170px) {
    .quiz_item_block {
        width: 610px;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0 auto;
    }

    .quiz_item_block_item {
        margin-top: 35px;
    }

    .quiz_item_block_arrow {
        margin: 125px 25px 0;
    }

    .quiz_item_block > div:nth-child(1) {
        width: 250px;
    }

    .quiz_item_block > div:nth-child(3) {
        margin-top: 18px;
    }

    .quiz_item_block > div:nth-child(7) {
        width: 210px;
    }

    .quiz_item_block > div:nth-child(4) {
        display: none;
    }

    .quiz_item_block > div:nth-child(1) div {
        margin-top: 11px;
    }

    .quiz_item_block > div:nth-child(3) div {
        margin-top: 0;
    }

    .quiz_item_block > div:nth-child(5) div {
        margin-top: 71px;
    }
}

@media screen and (max-width: 924px) {
    h2 {
        font-size: 24px;
        line-height: 29px;
    }

    .reg_block {
        flex-direction: column;
        box-shadow: none;
        border-radius: 0;
        margin-top: -70px;
    }

    .h2_block,
    .reg_image {
        display: none;
    }

    .reg_title_mob {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .reg_title_mob h2 {
        text-align: left;
        margin: 66px 0 0 30px;
    }

    .reg_form {
        width: 100%;
        border-radius: 16px;
        box-shadow: 0px 5px 16px rgb(0 0 0 / 25%);
    }

    .button_mail,
    .button_phone {
        margin-bottom: 16px;
    }

    .trial_block {
        padding: 40px 65px 60px;
    }

    .trial_title {
        font-size: 24px;
        line-height: 29px;
    }

    .trial_description li {
        font-size: 16px;
        line-height: 19px;
        margin-left: 40px;
    }

    .trial_description li:before {
        width: 24px;
        height: 24px;
        font-size: 14px;
        line-height: 25px;
        top: calc(50% - 12px);
        left: -40px;
    }

    .trial_description li:nth-child(2):before {
        top: calc(50% - 12px);
    }

    .trial_downloads a {
        width: 220px;
    }
}

@media screen and (max-width: 640px) {
    .trial_downloads a {
        width: 100%;
        margin-top: 40px;
    }

    .quiz_item_block {
        width: 260px;
    }

    .quiz_item_block_arrow {
        transform: rotate(90deg);
        margin-left: auto;
    }

    .quiz_item_block > div:nth-child(1) {
        margin-top: 35px;
    }

    .quiz_item_block > div:nth-child(2) {
        margin-top: -270px;
        margin-right: 100px;
    }

    .quiz_item_block > div:nth-child(3) {
        width: 230px;
        margin-top: 35px;
    }

    .quiz_item_block > div:nth-child(4) {
        display: block;
        margin-top: -300px;
        margin-right: 113px;
    }

    .quiz_item_block > div:nth-child(5) {
        margin-top: 35px;
    }

    .quiz_item_block > div:nth-child(5) div {
        margin-top: 25px !important;
    }

    .quiz_item_block > div:nth-child(6) {
        margin-top: -250px;
        margin-right: 87px;
    }

    .quiz_item_block > div:nth-child(7) {
        width: 210px;
    }

    .quiz_item_block > div div {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 480px) {
    .quiz_dots li {
        width: 10px;
        height: 10px;
    }

    h2 {
        font-size: 16px;
        line-height: 19px;
    }

    h3 {
        font-size: 24px;
        line-height: 29px;
    }

    .btn {
        width: 150px;
        height: 45px;
        font-size: 14px;
        line-height: 21px;
        margin-top: 80px
    }

    .yesOrNo {
        max-width: 220px;
    }

    .yesOrNo label {
        width: 79px;
        height: 36px;
        font-size: 14px;
        line-height: 52px;
    }

    .reg_title_mob img {
        width: 40px;
    }

    .reg_title_mob h2 {
        text-align: left;
        margin: 27px 0 0 15px;
    }

    .reg_form {
        padding: 15px 15px 25px;
    }

    .reg_form_nav{
        margin: 10px 0 20px;
    }

    .reg_form_nav li {
        font-size: 14px;
        line-height: 17px;
    }

    .button_mail,
    .button_phone {
        margin-top: 15px;
    }

    .trial_block {
        padding: 40px 20px;
    }

    .trial_title {
        font-size: 18px;
        line-height: 21px;
    }

    .trial_description li {
        font-size: 14px;
        line-height: 17px;
    }

    .form_phone_code input {
        width: 100%;
    }

    .button_form_code {
        white-space: nowrap;
        width: 95px;
        padding: 0 2px;
        margin-left: 5px;
    }
}

.error-message,
.success-message {
    position: absolute;
    top: 85px;
    left: 50%;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
    padding: 12px 10px 12px 44px;
    background-color: #fff;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.16);
    border-radius: 8px;
    display: none;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

@media (min-width: 768px) {
    .error-message,
    .success-message {
        padding: 14px 10px 14px 44px;
        top: 6px;
    }
}

@media (max-width: 768px) {
    .error-message,
    .success-message {
        padding: 14px 10px 14px 44px;
        top: 6px;
    }
}

@media (min-width: 992px) {
    .error-message,
    .success-message {
        top: 35px;
    }
}

.error-message::after,
.success-message::after {
    content: "";
    display: block;
    position: absolute;
    width: 18px;
    height: 17px;
    top: 50%;
    left: 13px;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.success-message::after {
    background: url(../img/like_icon.svg) center/cover no-repeat;
}

.error-message::after {
    background: url(../img/warning.svg) center/cover no-repeat;
}

.error .error-message,
.success .success-message {
    display: block;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .js-btn-nav-slide img {
        border: none;
    }
    .form_phone_input_2 {
        width: 72%;
    }

    .form_phone_input_1 {
        width: 105px;
    }
}