@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800");

@font-face {
    font-family: "custom";
    src: url("fonts/custom.ttf");
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clear::after {
    content: '';
    display: table;
    clear: both;
}

body {
    background: #37a8aa url("../img/body-bg.png") no-repeat center;
    font-family: 'Open Sans', sans-serif;
    background-size: cover;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    display: block;
    color: inherit;
}

.wrapper {
    width: 1291px;
    margin: 0 auto;
}

.main-content {
    border-radius: 11px;
    background-color: #2e9a9c;
    box-shadow: 0px 13px 54px 0px rgba(55, 168, 170, 0.8);
    width: 1291px;
    height: 709px;
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    margin-top: -106px;
}

.header-flex {
    display: flex;
}

.woman {
    position: absolute;
    top: -104px;
    left: -314px;
}

.logo {
    margin-left: -76px;
    margin-top: 106px;
    position: relative;
    z-index: 10;
}

.text {
    padding-right: 25px;
}

.title {
    text-align: right;
    font-size: 66px;
    font-weight: bold;
    color: #fff;
    -moz-transform: matrix(1.00668, 0, 0, 1.00668, 0, 0);
    -webkit-transform: matrix(1.00668, 0, 0, 1.00668, 0, 0);
    -ms-transform: matrix(1.00668, 0, 0, 1.00668, 0, 0);
    line-height: 1.2;
    letter-spacing: 3px;
}

.subtitle {
    color: #202454;
    font-size: 28px;
    text-align: right;
    margin-top: 51px;
    line-height: 1.2;
}

.ellipse {
    border-width: 6px;
    border-color: #00acb0;
    border-style: solid;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
}

.text {
    position: relative;
    z-index: 2;
}

.list {
    display: flex;
    width: 926px;
    float: right;
    justify-content: space-between;
    margin-top: 64px;
}

.list__item {
    display: flex;
    align-items: center;
}

.list__item span {
    color: white;
    font-size: 31px;
    line-height: 1.2;
    padding-left: 15px;
}

.rules {
    color: #8ec741;
    text-decoration: underline;
    text-align: center;
    font-size: 30px;
    margin-top: 120px;
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
}

.custom-text {
    font-size: 56px;
    font-family: "custom", sans-serif;
    color: white;
    line-height: 1.2;
    text-align: center;
    -moz-transform: matrix(1.07877, -0.06602, 0.06602, 1.07877, 0, 0);
    -webkit-transform: matrix(1.07877, -0.06602, 0.06602, 1.07877, 0, 0);
    -ms-transform: matrix(1.07877, -0.06602, 0.06602, 1.07877, 0, 0);
    margin-top: 33px;
    height: 143px;
    position: relative;
    z-index: 10;
}

.btn {
    border-radius: 9px;
    background-color: #8ec741;
    width: 326px;
    height: 93px;
    color: white;
    text-align: center;
    line-height: 93px;
    font-weight: 800;
    font-size: 38px;
    margin: 0 auto;
    margin-top: 80px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.step {
    display: none;
    padding-top: 20px;
}

.step.active {
    display: block;
}

.step__number {
    font-size: 41px;
    font-weight: bold;
    color: white;
    border-radius: 50%;
    background-color: #23adb0;
    width: 119px;
    height: 119px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step__number-active {
    font-size: 50px;
}

.step__number-border {
    border-width: 8px;
    border-color: #23adb0;
    border-style: solid;
    border-radius: 50%;
    width: 155px;
    height: 155px;
    padding: 10px;
    margin: 0 auto;
    margin-top: -118px;
}

.step__title {
    font-size: 83px;
    text-align: center;
    font-weight: 300;
    color: white;
}

.step__var-wrap {
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.step_var {
    cursor: pointer;
    position: relative;
}

.step_var img {
    width: 100%;
    height: 100%;
    box-shadow: -1px -1px 40px 9px rgba(0, 0, 0, 0.27);
}

.step_var:not(:last-child) {
    margin-right: 100px;
}

.step__branch {
    margin-left: -215px;
    margin-right: -205px;
}

.step__branch .step_var:not(:last-child) {
    margin-right: 50px;
}

.data-step-2 .step_var {
    height: 400px;
}

.data-step-2 .step_var img {
    width: auto;
}

.step__branch-q {
    font-size: 416px;
    font-family: "custom", sans-serif;
    color: white;
    line-height: 0.5;
}

.step__branch-q .step_var {
    box-shadow: none;
    transition: .2s;
}

.step__branch-q .step_var:hover {
    text-shadow: 1px 1px 20px rgba(0, 0, 0, 0.42);
}

.text-top {
    text-align: right;
    font-weight: 300;
    font-size: 45px;
    color: #171c4d;
}

.step__result-title {
    font-size: 75px;
    font-weight: bold;
    color: #8ec741;
    text-align: right;
}

.step__result-subtitle {
    font-weight: 300;
    font-size: 33px;
    text-align: right;
    color: white;
}

.step-result {
    padding-right: 50px;
    padding-top: 00px;
}

.result-bord {
    top: -25px;
    position: absolute;
    left: 50px;
}

.step__result-poz {
    font-size: 33px;
    color: #272727;
    text-align: right;
    margin-top: 20px;
    margin-bottom: 45px;
}

.action-title {
    font-size: 25px;
    color: white;
    text-align: right;
}

.soc {
    display: flex;
    float: right;
    padding-top: 20px;
    margin-bottom: 15px;
}

.ya-share2__item {
    width: 62px;
    height: 62px;
    cursor: pointer;
    background: url("../img/soc.png") no-repeat;
}

.ya-share2__item:not(:last-child) {
    margin-right: 10px;
}

.ya-share2__badge {
    display: none !important;
}

.ya-share2__item_service_vkontakte {
    background-position: 50% 0;
}

.result__dinamic {
    display: none;
}

.result__dinamic.active {
    display: block;
}

.input {
    font-size: 25px;
    color: #8ec741;
    border-radius: 50px 0 0 50px;
    margin-right: -20px;
    height: 65px;
    background: white;
    border: none;
    width: 345px;
    padding-left: 30px;
    outline: none;
}

.input::placeholder {
    color: #8ec741;
}

.btn-send {
    background-color: #8ec741;
    width: 246px;
    height: 67px;
    border-radius: 8%/50%;
    font-weight: 800;
    font-size: 25px;
    text-align: center;
    line-height: 67px;
    color: white;
    cursor: pointer;
}

.form-send {
    display: flex;
    float: right;
    padding-top: 17px;
}

.data-step-4.step__branch-man .step_var img {
    width: 100%;
    height: 100%;
    max-width: 410px;
}

.ya-share2__item {
    background-size: 310% 100%;
}

@media (max-width: 1700px) {
    .step__branch {
        margin-left: -15px;
        margin-right: -15px;
    }

    .data-step-2 .step_var {
        height: 298px;
    }
}

@media (max-width: 1440px) {
    .step__branch {
        margin: 0;
        padding: 0 10px;
        padding-top: 40px;
    }

    .data-step-4.step__branch-man .step_var img {
        width: auto;
    }

    .step__branch-q {
        font-size: 244px;
        padding-top: 19px;
    }

    .result-bord {
        top: -25px;
        position: absolute;
        left: 150px;
    }

    .result-bord img {
        width: 57%;
    }

    .custom-text {
        font-size: 30px;
        margin-top: 20px;
        margin-left: 60px;
    }

    .logo {
        margin-left: 0;
        margin-top: 44px;
        position: relative;
        z-index: 10;
        width: 167px;
    }

    .logo img {
        width: 100%;
    }

    .main-content {
        margin-top: -44px;
        height: 410px;
        width: 1000px;
    }

    .woman {
        position: absolute;
        top: -72px;
        left: -75px;
        height: 581px;
        overflow: hidden;
    }

    .woman img {
        width: 64%;
    }

    .title {
        font-size: 42px;
        letter-spacing: 1.5px;
    }

    .step {
        padding-top: 15px;
        padding-right: 20px;
    }

    .subtitle {
        margin-top: 25px;
        font-size: 16px;
    }

    .list__item span {
        font-size: 18px;
    }

    .list {
        width: 694px;
        margin-top: 27px;
    }

    .btn {
        border-radius: 9px;
        background-color: #8ec741;
        width: 260px;
        height: 70px;
        color: white;
        text-align: center;
        line-height: 70px;
        font-weight: 800;
        font-size: 28px;
        margin: 0 auto;
        margin-top: 46px;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }

    .rules {
        font-size: 16px;
        margin-top: 64px;
        padding-bottom: 0;
    }

    .step__title {
        font-size: 42px;
    }

    .step_var {
        height: 295px;
        text-align: center;
    }

    .step_var img {
        width: auto;
    }

    .step_var:not(:last-child) {
        margin-right: 50px;
    }

    .data-step-2 .step_var {
        height: 270px;
    }

    .text-top {
        font-size: 18px;
    }

    .step__result-title {
        font-size: 42px;
    }

    .step__result-subtitle {
        font-size: 16px;
    }

    .step__result-poz {
        font-size: 16px;
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .soc {
        padding-top: 10px;
        margin-bottom: 10px;
    }

    .action-title {
        font-size: 16px;
    }

    .ya-share2__item {
        width: 42px;
        height: 42px;
        background-size: 300% 100%;
    }

    .input {
        font-size: 20px;
        color: #8ec741;
        border-radius: 50px 0 0 50px;
        margin-right: -20px;
        height: 50px;
        background: white;
        border: none;
        width: 250px;
        padding-left: 30px;
        outline: none;
    }

    .btn-send {
        width: 186px;
        height: 50px;
        font-size: 18px;
        line-height: 50px;
    }

    .ellipse {
        width: 70px;
        height: 70px;
        font-size: 24px;
        border-width: 5px;
    }

    .wrapper {
        width: 1000px;
        max-width: 100%;
    }

    .step__number-border {
        border-width: 7px;
        border-color: #23adb0;
        border-style: solid;
        border-radius: 50%;
        width: 115px;
        height: 115px;
        padding: 5px;
        margin: 0 auto;
        margin-top: -82px;
        display: flex;
        align-items: center;
    }

    .step__number {
        font-size: 28px;
        width: 79px;
        height: 79px;
    }

    .step__number-active {
        font-size: 34px;
    }
}

@media (max-width: 1000px) {
    .wrapper {
        width: 320px;
    }

    .custom-text {
        font-size: 16px;
        height: auto;
        margin-top: 10px;
        margin-left: 0;
    }

    .logo {
        margin: 0;
        width: 80px;
    }

    .logo img {
        width: 100%;
    }

    .header-flex {
        display: flex;
        align-items: center;
        padding-top: 10px;
        justify-content: space-around;
    }

    .main-content {
        height: auto;
        padding-bottom: 30px;
        margin-top: 20px;
        width: 300px;
    }

    .woman {
        display: none;
    }

    .text {
        padding: 0;
    }

    .title {
        font-size: 26px;
        letter-spacing: normal;
        text-align: center;
    }

    .step {
        padding-top: 30px;
        padding-right: 0;
    }

    .subtitle {
        font-size: 16px;
        text-align: center;
        margin-top: 21px;
        padding: 0 10px;
    }

    .subtitle br {
        display: none;
    }

    .list {
        display: flex;
        width: 200px;
        justify-content: space-between;
        margin: 0 auto;
        margin-top: 10px;
        flex-flow: column;
        float: none;
    }

    .list__item {
        margin-top: 25px;
    }

    .list__item span {
        font-size: 18px;
    }

    .ellipse {
        min-width: 60px;
        width: 60px;
        border-width: 6px;
        height: 60px;
        min-height: 60px;
        font-size: 20px;
    }

    .btn {
        border-radius: 9px;
        background-color: #8ec741;
        width: 260px;
        height: 65px;
        color: white;
        text-align: center;
        line-height: 65px;
        font-weight: 800;
        font-size: 26px;
        margin: 0 auto;
        margin-top: 40px;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }

    .rules {
        color: #8ec741;
        text-decoration: underline;
        text-align: center;
        font-size: 20px;
        margin-top: 20px;
        position: relative;
        z-index: 2;
        padding-bottom: 20px;
    }

    .step__number-active {
        font-size: 30px;
    }

    .step__number {
        font-size: 24px;
        width: 80px;
        height: 80px;
    }

    .step__number-border {
        border-width: 6px;
        border-color: #23adb0;
        border-style: solid;
        border-radius: 50%;
        width: 113px;
        height: 113px;
        padding: 10px;
        margin: 0 auto;
        margin-top: -21px;
    }

    .step__title {
        font-size: 25px;
        padding-top: 13px;
    }

    .step_var:not(:last-child) {
        margin-right: 0px;
        margin-bottom: 10px;
    }

    .step__var-wrap {
        flex-flow: column;
        padding: 0 30px;
        padding-top: 40px;
    }

    .step__branch.step__branch-man .step_var img {
        max-width: 100%;
    }

    .step__branch {
        margin: 0 auto;
    }

    .step__branch .step_var:not(:last-child) {
        margin-right: 0px;
    }

    .step__branch-q {
        font-size: 166px;
        text-align: center;
        font-family: "custom", sans-serif;
        color: white;
        line-height: 1.2;
        padding-top: 0;
    }

    .result-bord {
        top: 20px;
        position: absolute;
        left: 18%;
        height: 100px;
        width: 100px;
        transform: translateX(-50%) rotate(-90deg);
    }

    .result-bord img {
        width: 100%;
    }

    .text-top {
        font-size: 20px;
        text-align: center;
    }

    .step-result {
        padding-top: 132px;
        padding-right: 0;
    }

    .step-result {
        font-size: 45px;
        text-align: center;
    }

    .step__result-subtitle {
        font-size: 18px;
        text-align: center;
        padding: 0 10px;
    }

    .step__result-subtitle br {
        display: none;
    }

    .step__result-poz {
        font-size: 18px;
        text-align: center;
        padding: 0 10px;
        margin-bottom: 25px;
    }

    .action-title {
        font-size: 16px;
        text-align: center;
    }

    .ya-share2__item {
        width: 42px;
        height: 42px;
        background-size: 330% 100%;
    }

    .step__result-title {
        font-size: 45px;
        text-align: center;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .ya-share2__item:not(:last-child) {
        margin-right: 5px;
    }

    .soc {
        display: flex;
        float: none;
        width: 137px;
        margin: 0 auto;
        padding-top: 20px;
        margin-bottom: 15px;
    }

    .input {
        font-size: 20px;
        color: #8ec741;
        border-radius: 50px;
        margin-right: 0;
        height: 45px;
        background: white;
        border: none;
        width: 90%;
        padding-left: 0;
        outline: none;
        text-align: center;
    }

    .form-send {
        display: flex;
        float: none;
        flex-flow: column;
        align-items: center;
        padding-top: 17px;
    }

    .btn-send {
        background-color: #8ec741;
        width: 90%;
        height: 50px;
        border-radius: 50px;
        font-weight: 800;
        font-size: 22px;
        text-align: center;
        line-height: 50px;
        color: white;
        margin-top: 17px;
        cursor: pointer;
    }

    .step_var {
        height: auto;
    }

    .step_var img {
        width: 100%;
        height: auto;
    }

    .data-step-2 .step_var img {
        width: 100%;
        height: auto;
    }

    .data-step-2 .step_var {
        height: auto;
    }

    .step__branch-q {
        font-size: 115px;
    }

    .soc {
        width: 88px;
    }

    .data-step-4.step__branch-man .step_var img {
        width: 100%;
    }
}

@media (min-height: 700px) and (max-height: 900px) and (max-width: 1440px) {
    .woman {
        height: 93vh;
        left: -216px;
    }

    .woman img {
        width: 74%;
        margin-left: 31px;
    }

    .main-content {
        height: 500px;
        padding-top: 20px;
    }

    .list {
        width: 694px;
        margin-top: 70px;
    }

    .btn {
        margin-top: 80px;
    }
}

@media (max-height: 650px) {
    .woman {
        position: absolute;
        top: -72px;
        left: -75px;
        height: 581px;
        overflow: hidden;
    }
}
