@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Roboto";
    font-size: 20px;
}

body>* {
    width: 100%;
    max-width: 1366px;
    margin: auto;
}

nav {
    font-size: 24px;
    color: rgb(0, 0, 0);
    text-align: right;
    padding: 30px 0;
}

nav div,
nav ul>li {
    display: inline-block;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul>li {
    margin: 0 15px;
}

nav>div {
    margin: 0 30px;
    padding: 10px 0;
}

nav>div>div {
    margin: 0 10px;
}

.nav_phone>a{
    color: inherit;
}

.nav_lang {
    font-size: 18px;
}

@media (max-width:905px) {
    nav>div {
        display: block;
        text-align: center;
    }
}

@media (max-width:630px) {
    nav {
        padding: 0;
    }

    nav ul>li {
        display: block;
    }
}

body>header {
    background-image: url(/images/BG16.png);
    height: 563px;
    background-repeat: no-repeat;
    background-size: contain;
}

.calculate_header_battons_background {
    height: 100%;
}

h1 {
    width: max-content;
    text-align: center;
    margin: 0;
    font-size: 48px;
    font-weight: 400;
    text-transform: uppercase;

    position: relative;
    left: calc(100% - 600px);
    padding: 53px 0;
}

.calculate_header_battons {
    width: 468px;
    height: 285px;
    border-style: solid;
    border-width: 3px;
    border-color: #20477b;
    border-radius: 60px;
    text-align: center;
    padding: 27px;
    box-sizing: border-box;

    position: relative;
    left: calc(100% - 560px);
}

.calculate_header_battons>span {
    font-size: 30px;
    color: #20477b;
}

.calculate_header_battons>button:nth-of-type(1) {
    margin: 35px 0 10px 0;
}

.calculate_header_battons>button {
    height: 60px;
    border: none;
    background-color: #20477b;
    border-radius: 24px;
    color: #fefefe;
    font-size: 24px;
    margin: 14px 0;
    width: 367px;
    vertical-align: top;
    text-align: left;
    cursor: pointer;
}

.calculate_header_battons>button>img {
    vertical-align: middle;
}

.calculate_header_battons>button:nth-of-type(1)>img {
    margin: 0 10px 0 20px;
}

.calculate_header_battons>button:nth-of-type(2)>img {
    margin: 0 20px;
}

@media (max-width:1060px) {
    .calculate_header_battons_background {
        background-color: rgba(255, 255, 255, 0.4);
    }
}

@media (max-width:630px) {
    body>header {
        height: unset;
    }

    .calculate_header_battons_background {
        padding: 0 0 10px 0;
    }

    h1,
    .calculate_header_battons {
        position: initial;
        margin: auto;
    }

    h1 {
        font-size: 8.5vw;
    }

    .calculate_header_battons {
        padding: 20px 10px;
        width: 95%;
    }

    .calculate_header_battons>button {
        width: 90%;
    }
}

@media (max-width:430px) {
    .calculate_header_battons>button {
        text-align: center;
    }

    .calculate_header_battons>button>img {
        display: none;
    }
}

.advantages, footer {
    background-color: #20477b;
    font-size: 14px;
    color: #fefefe;
    padding: 0 20px 25px 30px;
    box-sizing: border-box;
}

.advantages>header {
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    padding: 25px 0;
    text-transform: uppercase;
}

.advantages>div {
    display: inline-block;
    width: 20%;
    padding: 0 10px;
    box-sizing: border-box;
    vertical-align: top;
}

.advantages>div>span {
    display: block;
    text-transform: uppercase;
    font-size: 16px;
    margin: 25px 0;
}

@media (max-width:730px) {
    .advantages {
        display: none;
    }
}

main>article>header>h2, main>section>header>h2{
    text-align: center;
    font-size: 48px;
    font-weight: 400;
}
main>article{
    overflow: hidden;
}
main>article>img{
    float: left;
}
@media (max-width:730px) {
    main>article>img{
        float: unset;
        display: block;
        margin: auto;
        max-width: 100%;
    }
}

footer{
    text-align: center;
    padding: 20px 0;
    font-size: 20px;
}

footer>a{
    color: inherit;
}

.call_back_form{
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}

.call_back_form>form{
    width: 468px;
    height: 240px;
    border-style: solid;
    border-width: 3px;
    border-color: #20477b;
    border-radius: 60px;
    text-align: center;
    padding: 27px;
    box-sizing: border-box;
    margin: auto;
    top: calc(100% / 2 - 120px);
    position: relative;
    max-width: 95%;
}
.call_back_form>form>input{
    width: 367px;
    box-sizing: border-box;
    border: none;
    height: 60px;
    border-radius: 24px;
    font-size: 24px;
    text-align: center;
    margin: 14px 0;
    max-width: 100%;
}
.call_back_form>form>input[type="tel"]{
    box-shadow: 1px 2px 3px black;
}
.call_back_form>form>input[type="submit"]{
    background-color: #20477b;
    color: #fefefe;
    cursor: pointer;
}
.call_back_form>span{
    float: right;
    font-size: 40px;
    font-weight: 900;
    color: #700;
    cursor: pointer;
}