@font-face {
    font-family: MuseoSansCyrl_100;
    src: url(../fonts/MuseoSansCyrl_100.otf);
}

@font-face {
    font-family: MuseoSansCyrl_300;
    src: url(../fonts/MuseoSansCyrl_300.otf);
}

@font-face {
    font-family: MuseoSansCyrl_500;
    src: url(../fonts/MuseoSansCyrl_500.otf);
}

@font-face {
    font-family: MuseoSansCyrl_700;
    src: url(../fonts/MuseoSansCyrl_700.otf);
}

@font-face {
    font-family: MuseoSansCyrl_900;
    src: url(../fonts/MuseoSansCyrl_900.otf);
}

body {
    background-image: url(../img/1080-background.png);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
}

.wrapper {
    padding: 50px 140px 0 140px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo_block img {
    height: 80px;
}

.phone_block {
}

.phone_block .phone {
    font-size: 30px;
    display: inline-block;
    font-family: 'MuseoSansCyrl_500';
    display: block;
}

.phone_block .online_label {
    color: #fff;
    font-size: 20px;
    display: inline-block;
    font-family: MuseoSansCyrl_500;
    border-radius: 20px;
    background: #a5c92b;
    padding: 6px 15px;
    margin-top: 10px;
}

.main_text {
    display: flex;
    position: relative;
    z-index: 0;
}

.title_text {
    font-size: 96px;
    font-family: MuseoSansCyrl_300;
    margin: 80px 0 45px 0;
    letter-spacing: 1;
}

.subtitle_text {
    font-size: 50px;
    font-family: MuseoSansCyrl_100;
    display: inline-block;
    margin-top: 0px;
    letter-spacing: 1;
}

.background_town {
    display: none;
}

h1.title_text {
}

.title_text_bold {
    font-family: MuseoSansCyrl_900;
    display: block;
}

.phone_block a {
    text-decoration: none;
    color: #1c1c1c;
}

.call_block_inner input {
    border: 2px solid #a0c621;
    padding: 35px 50px 35px 112px;
    border-radius: 100px;
    font-family: MuseoSansCyrl_300;
    font-size: 30px;
    background-image: url(../img/phone.png);
    background-position: 56px 36px;
    background-repeat: no-repeat;
    outline: none;
    color: #bcbcbc;
    max-width: 442px;
}

::-webkit-input-placeholder {
    color: #bcbcbc;
}

:-ms-input-placeholder {
    color: #bcbcbc;
}

::-moz-placeholder {
    color: #bcbcbc;
    opacity: 1;
}

:-moz-placeholder {
    color: #bcbcbc;
    opacity: 1;
}

.main_figure span {
    display: inline-block;
    font-family: MuseoSansCyrl_700;
    font-size: 38px;
    position: relative;
    top: 0px;
}

.main_figure {
    width: 230px;
    display: flex;
    height: 230px;
    background-image: url(../img/figure.png);
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    line-height: 35px;
    position: relative;
    left: -290px;
    top: 190px;
    filter: drop-shadow(0px 10px 45px rgba(0, 0, 0, 0.15));
    background-size: contain;
    background-repeat: no-repeat;
}

.green_btn_block:hover .green_btn_shaddow {
    background-image: linear-gradient( 45deg, #a4c724, #c9e279 100%);
}

.call_block_button {
    font-family: MuseoSansCyrl_700;
    font-size: 30px;
    padding: 35px 80px;
    border-radius: 100px;
    border: none;
    color: #fff;
    text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
    outline: none;
    background-image: -moz-linear-gradient( 50deg, rgb(160,197,32) 0%, rgb(200,226,110) 74%, rgb(239,255,188) 100%);
    background-image: -webkit-linear-gradient( 50deg, rgb(160,197,32) 0%, rgb(200,226,110) 74%, rgb(239,255,188) 100%);
    background-image: -ms-linear-gradient( 50deg, rgb(160,197,32) 0%, rgb(200,226,110) 74%, rgb(239,255,188) 100%);
    z-index: 1;
}

.call_block_button:hover {
    background-image: -moz-linear-gradient( 50deg, rgb(172, 210, 40) 0%, rgb(200,226,110) 74%, rgb(238, 253, 190) 100%);
    background-image: -webkit-linear-gradient( 50deg, rgb(172, 210, 40) 0%, rgb(200,226,110) 74%, rgb(238, 253, 190) 100%);
    background-image: -ms-linear-gradient( 50deg, rgb(172, 210, 40) 0%, rgb(200,226,110) 74%, rgb(238, 253, 190) 100%);
    cursor: pointer;
}

.green_btn_block {
    border-radius: 100px;
    display: flex;
    margin-left: 40px;
    position: relative;
    width: max-content;
}

.green_btn_shaddow {
    background-image: linear-gradient( 45deg, #93b31f, #c9e279 100%);
    width: 100%;
    position: absolute;
    height: 100%;
    z-index: 0;
    border-radius: 100px;
    top: 4px;
    left: -5px;
    box-shadow: -24.749px 24.749px 32px 0px rgba(0, 0, 0, 0.1);
}

.call_block {
    position: fixed;
    bottom: calc( 12vh );
    width: 100%;
}

.call_block_inner .line {
    position: absolute;
    bottom: -80px;
    left: 13%;
}

.call_block_inner {
    position: relative;
    display: flex;
    width: 100%;
}

.title_text_br {
    display: none;
}

.background_town .cloud-left {
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: 2;
}

.background_town .cloud-right {
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 2;
}

.background_town .town {
    width: 100%;
    top: 190px;
    position: absolute;
    z-index: 1;
}

/* THANS PAGE */
body.thanks_page {
    background-color: #a0c520;
    background-image: url(../img/thanks.png);
    background-size: cover;
    background-position: center;
}

.thanks_title {
    font-size: 96px;
    font-family: MuseoSansCyrl_700;
    margin: 0;
    width: 100%;
    align-self: flex-end;
}

.thanks_subtitle {
    font-size: 40px;
    font-family: MuseoSansCyrl_500;
    line-height: 40px;
    margin: 45px 0 0 0;
    width: 500px;
    align-self: flex-start;
    line-height: 40px;
}

.thanks_text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    position: absolute;
    width: 100vw;
    height: 100vh;
    color: #fff;
}

body.thanks_page .wrapper {
    padding: 0;
}

.back_btn {
    position: absolute;
    left: 70px;
    bottom: 60px;
    background: #fff;
    color: #313131;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 60px;
    border-radius: 100px;
    font-size: 30px;
    font-family: MuseoSansCyrl_500;
}

.back_btn .left-arrow {
    margin-right: 15px;
}

.back_btn:hover {
    opacity: .9;
}

/* -------------- */
@media(max-width: 1500px) {
    .title_text {
        font-size: 80px;
        margin-bottom: 10px;
    }

    .subtitle_text {
        font-size: 45px;
    }

    .main_figure {
        left: -200px;
    }

    .wrapper {
        padding: 50px 80px 0 80px;
    }
}

@media(max-width: 1300px) {
    .main_figure {
        left: -90px;
        top: 190px;
    }

    .title_text_bold, .title_text {
        font-size: 60px;
        margin-bottom: 0px;
    }

    .subtitle_text {
        font-size: 40px;
    }
}

@media(max-width: 1200px) {
    .call_block_inner .line {
        display: none;
    }

    .call_block_inner input {
        padding: 30px 40px 30px 92px;
        background-position: 44px 32px;
        font-size: 24px;
        background-size: 26px;
        max-height: 93px;
    }

    .call_block_button {
        padding: 30px 70px;
        font-size: 24px;
    }

    .green_btn_block {
        margin-left: 30px;
    }

    .call_block {
        width: 100%;
        bottom: 50px;
        left: 0px;
    }

    .call_block_inner {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
    }

    .phone_block .online_label {
        font-size: 14px;
        margin-top: 5px;
        padding: 3px 10px;
    }

    .logo_block img {
        height: 60px;
    }

    .phone_block .phone {
        font-size: 20px;
    }
}

@media(max-width: 1100px) {
    .title_text_bold, .title_text {
        font-size: 60px;
    }

    .subtitle_text {
        font-size: 35px;
    }

    .main_figure {
        position: absolute;
        right: 0px;
        left: auto;
        top: 100px;
    }
}

@media(max-width: 1000px) {
    .thanks_title {
        font-size: 60px;
    }

    .thanks_subtitle {
        font-size: 30px;
        margin: 40px 0 0 0;
        line-height: 30px;
    }

    body {
        background-image: url(../img/1000-background.png);
        background-size: auto;
    }

    .back_btn {
        font-size: 20px;
        padding: 25px 40px;
    }

    body.thanks_page {
        background-image: url(../img/1000-thanks.png);
        background-size: cover;
    }

    .wrapper {
        padding: 40px 50px 0 50px;
    }

    .title_text {
        font-size: 50px;
    }

    .subtitle_text {
        font-size: 35px;
    }

    .main_figure span {
        font-size: 30px;
        line-height: 28px;
    }

    .main_figure {
        position: absolute;
        right: 0px;
        left: auto;
        top: 100px;
        width: 200px;
        height: 200px;
    }
}

@media(min-width: 1000px) and (max-height: 900px) {
    .title_text {
        margin-top: 60px;
        font-size: 83px;
    }

    .main_figure {
        left: -230px;
    }

    .call_block {
    }

    .subtitle_text {
        margin-top: 0px;
    }
}

@media(max-width: 1000px) and (min-height: 768px) {
    body {
        background-image: url(../img/1000-background.png);
        background-size: auto 100%;
    }
}

@media(max-width: 950px) {
    .green_btn_block {
        margin: 20px 15px;
    }

    .call_block_inner input {
        margin: 0 15px;
    }
}

@media(max-width: 900px) {
    .main_figure span {
        font-size: 30px;
    }
}

@media(max-width: 800px) {
    .main_figure span {
        font-size: 20px;
        line-height: 18px;
    }

    .main_figure {
        width: 120px;
        height: 120px;
        top: 15px;
        right: 20%;
    }
}

@media(max-width: 700px) {
    .title_text_br {
        display: block;
    }
}

@media(max-width: 600px) {
    .logo_block img {
        height: 50px;
    }

    .back_btn {
        width: 100px;
        left: calc(50% - 90px);
    }

    .call_block_inner input {
        margin: 0;
    }

    .green_btn_block {
        margin: 15px 0 0 0;
    }

    .subtitle_text {
        font-size: 25px;
    }

    .background_town {
        display: block;
        position: absolute;
        width: 100vw;
        height: 100vh;
        bottom: 0px;
    }

    .call_block {
        position: absolute;
        z-index: 2;
        width: 100%;
        left: 0px;
    }

    body {
        background-image: url(../img/414-background.png);
        background-size: 100%;
        background-attachment: fixed;
    }
}

@media(max-width: 500px) {
    .title_text_bold, .title_text {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .thanks_title {
        font-size: 50px;
        line-height: 41px;
    }

    .thanks_subtitle {
        font-size: 22px;
        line-height: 22px;
        margin-top: 35px;
    }

    .call_block {
        padding: 0 50px;
        box-sizing: border-box;
    }

    .phone_block .phone {
        font-size: 15px;
    }

    .phone_block .online_label {
        font-size: 10px;
        padding: 2px 7px;
    }

    .logo_block img {
        height: 40px;
    }

    .subtitle_text {
        font-size: 22px;
    }

    .call_block_inner input {
        font-size: 19px;
        padding: 25px 30px 25px 30%;
        background-position: 15% 24px;
        background-size: 24px;
        width: 100%;
        max-width: 100%;
    }

    .green_btn_block {
        width: 100%;
        margin: 15px 0 0 0;
    }

    .call_block_button {
        font-size: 19px;
        padding: 25px 40px;
        width: 100%;
    }
}

@media(max-width: 414px) {
    .call_block {
        position: relative;
        padding: 0;
        margin-top: 94px;
    }

    body {
        background-image: url(../img/320-background.png);
        background-size: 100%;
        background-attachment: fixed;
    }

    .thanks_title {
        font-size: 50px;
        line-height: 41px;
    }

    .thanks_subtitle {
        font-size: 22px;
        line-height: 22px;
        margin-top: 35px;
    }

    .thanks_title {
        font-size: 38px;
        line-height: 28px;
    }

    .back_btn .left-arrow {
        height: 15px;
        margin-right: 10px;
    }

    .back_btn {
        font-size: 12px;
        padding: 15px 25px;
        width: auto;
        left: calc(50% - 51px);
    }

    .thanks_subtitle {
        font-size: 17px;
        line-height: 17px;
        margin-top: 20px;
    }

    body.thanks_page {
        background-image: url(../img/320-thanks.png);
        background-size: 100%;
        background-attachment: fixed;
    }

    .wrapper {
        padding: 30px 25px 0 25px;
    }

    .main_figure {
        display: none;
    }

    .title_text_bold, .title_text {
        font-size: 38px;
    }

    .subtitle_text {
        font-size: 17px;
    }

    .background_town {
        display: none;
    }
}

@media(max-width: 500px) and (min-height: 640px) {
    body {
        background-size: cover;
    }
    body.thanks_page{
        background-size: 100% 100%;
    }
    .call_block {
        position: fixed;
        padding: 30px;
        bottom: 10px;
    }
}

@media(max-width: 414px) and (min-height: 700px) {
    body {
        background-size: cover;
        background-position: right;
    }
}

@media(max-width: 350px) and (min-height: 600px) {
    body {
        background-size: cover;
    }
}

@media(max-width: 768px) and (min-height: 1024px) {
    .main_text {
        top: 150px;
        position: relative;
    }

    body {
        background-position: 65%;
    }

    .call_block_inner input {
        width: 48%;
        margin: 0;
    }

    .green_btn_block {
        width: 48%;
        margin: 0;
        margin-left: 10px;
    }

    .main_figure {
        top: 150px;
    }
}

@media(max-width: 1024px) and (min-height: 1366px) {
    body {
        background-position: 60%;
    }

    .title_text_bold, .title_text {
        font-size: 80px;
    }

    .main_text {
        top: 150px;
        position: relative;
    }

    .main_figure {
        top: 200px;
        right: 60px;
    }
}
