* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", sans-serif;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}


.top {
    background-color: #EBF3FB;
    background: linear-gradient(0deg, #EBF3FB 8.84%, rgba(152, 195, 232, 0) 31.12%);
    height: 768px;
}

.top_content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.top__info {
    background-image: url("img/illustration_main.png");
    background-repeat: no-repeat;
    background-position: right center;
    flex-grow: 1;
    margin-top: 107px;
}

.info_contact-us {
    width: 100%;
    height: 250px;
    background-color: #356EAD;
    background-image: url("img/topContactUs.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center, center;
    margin-top: 50px;
    padding: 50px 0;
    box-sizing: border-box;
}

.conthead {

    font-weight: 500;
    font-size: 44px;
    line-height: 74px;
    text-align: center;
    letter-spacing: 0.04em;
    color: #FFFFFF;
}

.menu {
    display: flex;
    list-style-type: none;
    justify-content: space-between;
    padding-top: 34px;
}

.mainhead {
    font-size: 64px;
    color: #1F3F68;
    width: 510px;
    font-weight: 300;
    line-height: 74px;
    letter-spacing: 0.04em;
    margin-bottom: 32px;
}

.maininfo {
    width: 425px;
    margin-bottom: 71px;
}

.btn_main {
    display: inline-block;
    background: #5A98D0;
    box-shadow: 5px 10px 20px rgba(53, 110, 173, 0.2);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    letter-spacing: 0.04em;
    padding: 15px 50px;
    box-sizing: border-box;
}

.text_par {
    font-size: 16px;
    line-height: 26px;
    color: #1F3F68;
    letter-spacing: 0.05em;
    opacity: 0.6;
}



.text_h2 {
    font-weight: 500;
    font-size: 44px;
    text-align: center;
}

.text_h3 {

    font-size: 36px;
    text-align: center;
    font-weight: 300;
    line-height: 46px;
    letter-spacing: 0.05em;
    color: #000000;
}

.text_h4 {

    font-size: 20px;
    line-height: 30px;
    color: #1F3F68;
}

.form_btn {
    background: #5A98D0;
    box-shadow: 5px 20px 50px rgba(16, 112, 177, 0.2);
    border-radius: 10px;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    color: #FFFFFF;
    text-transform: uppercase;
    width: 100%;
    border-width: 0;
    padding: 23px 0;
}

.form_enter {
    border: 1px solid #356EAD;
    box-sizing: border-box;
    border-radius: 10px;
    min-height: 72px;
    opacity: 0.4;
    width: 100%;
    padding-left: 36px;
    margin-top: 8px;
}

.form_enter[placeholder] {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0.04em;
    color: #1F3F68;
}

.form_textarea {
    padding-top: 21px;
}

label {
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0.04em;
    color: #1F3F68;
    opacity: 0.8;
}

.continfo {
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.6);
    width: 70%;
    margin: 0 auto;
    padding-top: 16px;
}

.cards {
    display: flex;
    justify-content: space-between;
    margin: 64px 0;

}

.cards_head {
    margin-top: 64px;
}

.cards_item {

    width: 359px;
    background: #FFFFFF;
    box-shadow: 5px 20px 50px rgba(16, 112, 177, 0.2);
    border-radius: 10px;
    padding: 44px 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cards_item img {
    align-self: center;
}

.cards_item_head {
    letter-spacing: 0.05em;
    padding-top: 50px;
    padding-bottom: 14px;
}

.cards_item_link {
    padding-top: 28px;
    font-size: 14px;
    line-height: 30px;
    letter-spacing: 0.05em;
    color: #5A98D0;
    text-decoration: none;
}

.cards_item_link::after {
    content: url("img/Vector.svg");
    padding-left: 14px;
}

.content__offer {
    margin: 64px 0;
}

.offer_info {
    width: 75%;
    margin: 0 auto;

    text-align: center;

    color: #222222;
    padding-top: 32px;
    opacity: 1;
}

.content_img {
    margin-bottom: 112px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.img_item {
    position: relative;
    margin-bottom: 32px;
}

.img_item:first-child {
    flex-grow: 1;
    flex-basis: 100%;

}


.img_name {
    position: absolute;
    font-size: 28px;
    line-height: 46px;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    top: 32px;
    left: 32px;
}

.name_right {
    top: 64px;
    right: 64px;
    left: auto;
}

.img_image {
    width: 100%;
}

.content {
    display: flex;
    justify-content: space-around;
    margin: 55px 213px 90px;
}

.content_contacts {
    margin-right: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contenthead {
    margin-top: 40px;
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.04em;
    color: #1F3F68;
    text-transform: uppercase;
}

.number {
    list-style-image: url("img/num.svg");
    list-style-position: inside;
}

.number li,
.service li {
    padding-bottom: 16px;
}

.service {
    list-style-type: none;
}

.service a {
    text-decoration: none;
}

.site::before {
    content: url("img/site.svg");
    padding-right: 16px;
    opacity: 0.6;
}

.mail::before {
    content: url("img/mail.svg");
    padding-right: 16px;
    opacity: 0.6;
}

.content__feedback {
    min-width: 540px;
    max-height: 800px;
    background: #FFFFFF;
    box-shadow: 5px 10px 50px rgba(16, 112, 177, 0.2);
    border-radius: 10px;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.content__feedback .contenthead {
    margin-top: 0;
}

.content__maps {
    margin: 20px auto;
    width: 940px;
    height: 480px;
}

.footer {
    /*height: 657px;*/
    background: #316099;
}

.footer__before {
    display: flex;
    justify-content: space-between;
    padding-top: 90px;
    padding-bottom: 90px;
    align-items: center;
}

.footer__before__info {
    max-width: 50%;
}

.footer__before__link {
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    text-decoration: none;
    background: #5A98D0;
    padding: 15px 80px;
    box-sizing: border-box;
    display: inline-block;
}

.fthead {
    width: 340px;
    color: #FFFFFF;
    text-align: left;
    padding-bottom: 32px;

}

.fttext {
    color: #FFFFFF;
}

.ft_hr {
    opacity: 0.4;
    border: 1px solid #FFFFFF;
}

.ftlist {

    display: flex;
    justify-content: space-between;
    padding: 64px 0 40px;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    counter-reset: list;

}

.ftlist_item {
    /*padding-left: 19px;*/
    /*margin-left: 32px;*/
    padding-right: 32px;
    width: 316px;
    list-style-type: none;
    display: flex;
}

.ftlist_item::before {
    counter-increment: list;
    content: counter(list) ". ";
    padding-right: 24px;
    display: inline-block;
    height: 100%;
}

.copyright {
    color: #FFFFFF;
    opacity: 0.4;
    padding-bottom: 64px;
}

/*Медиа-запросы*/
@media(max-width:1024px) {
    .container {
        padding: 0 32px;
    }

    .top__info {
        background-position: right 200px;
        background-size: 50%;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .cards_item {
        margin-bottom: 32px;
    }

    .two {
        width: 48%;
    }

    .footer__before {
        padding: 50px 124px 64px;
    }

    .footer__before__link {
        padding: 10px 40px;
    }

    .footer__after {
        padding: 0 124px 64px;
    }

    .ftlist {
        flex-direction: column;
    }

    .ftlist_item {

        padding-bottom: 25px;
        width: 100%;
    }

    .ftlist_item::before {
        padding-right: 45px;
    }

    .content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 64px;
    }

    .content_contacts {
        margin-right: 0;
        width: 70%;
        margin-bottom: 64px;
    }

    .content__feedback {
        min-width: 520px;
        max-height: 780px;
    }

    .content__maps {
        margin: 0;
        width: 100%;
        height: 392px;
        margin-bottom: 64px;
    }

}

@media(max-width:667px) {
    .container {
        padding: 0 16px;
    }

    .top {
        height: 100%;
    }

    .menu {
        padding-top: 24px;

    }

    .top__info {
        display: flex;
        flex-direction: column;
        background-image: none;
        align-items: center;
        margin-top: 32px;
    }

    .mainhead {
        width: 100%;
        text-align: center;
        font-size: 32px;
        line-height: 37.5px;
        padding: 0 20px;
        box-sizing: border-box;
        margin-bottom: 12px;
    }

    .maininfo {
        width: 100%;
        text-align: center;
        margin-bottom: 32px;
    }

    .btn_main {
        margin-bottom: 40px;
        font-size: 12px;
        padding: 5px 10px;
    }

    .text_h3 {
        font-size: 24px;
        line-height: 28.13px;
    }

    .cards_head {
        margin-top: 48px;
    }

    .cards {
        margin: 32px 0;
    }

    .offer_info {
        width: 100%;
    }

    .content_img {
        margin-bottom: 64px;
    }

    .img_item {
        margin-bottom: 16px;
    }

    .img_name {
        font-size: 16px;
        line-height: 19px;
        letter-spacing: normal;
        top: 16px;
        left: 16px;
    }

    .two {
        width: 100%;
    }

    .name_right {
        right: 16px;
        left: auto;
    }

    .footer__before {
        flex-direction: column;
    }

    .footer__before__info {
        max-width: 100%;
    }

    .fthead {
        padding: 18px 50px 32px;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .fttext {
        text-align: center;
    }

    .footer__before__link {
        margin: 40px 0;
        padding: 10px 20px;
    }

    .copyright {
        text-align: center;
        padding-bottom: 32px;
    }

    .ftlist {
        padding: 32px 0;

    }

    .ftlist_item {
        padding-bottom: 18px;

    }


    .content {
        margin: 50px 0 32px;
    }

    .content__feedback {
        min-width: 342.67px;
        max-height: 514px;
        padding: 36px;
    }

    .content__maps {

        width: 100%;
        height: 349px;
        margin-bottom: 32px;
    }

    .content_contacts {
        margin-bottom: 32px;
    }

    .conthead {
        font-size: 24px;
        line-height: 28px;
        letter-spacing: 0.04em;

    }

    .content__feedback .contenthead {
        font-size: 16px;
        line-height: 30px;
        margin-bottom: 0;
    }

    .continfo {
        font-size: 16px;
        line-height: 30px;
        width: 100%;
        padding-top: 32px;
    }

    .form_enter {
        min-height: 46.26px;
        margin-top: 0;
    }

    label,
    .form_enter[placeholder] {
        font-size: 14px;
        line-height: 30px;
    }

    .form_btn {
        padding: 15px 0;
    }

    .form_textarea {
        padding-top: 5px;
        height: 92.52px;
    }
}