*{
    box-sizing: border-box;
}
#contact_container{
    margin-top: 50px;
}

@media screen and (max-width: 830px) {
    #contact_container{
        
    }
    h2:first-child{
        margin-top: 0;
    }
    h2:last-child{
        margin-top: 30px;
    }
}



@media screen and (max-width: 1350px) {
    .phone_contact, .email_contact, .adress_contact{
        flex-direction: column!important;
        align-items: flex-start!important;
    }
}

.about_us {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}
h2{
    margin: 3rem 0 2rem 0 ;
}

.about_us .contacts_text {
    display: flex;
    width: 35%;
    padding: 2rem;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 80px;
    border-radius: 10px;
    border: 1px solid #D8DBEB;
    background: #FFF;
    box-shadow: 2px 2px 12px 0px rgba(0, 0, 0, 0.10);
}

.about_us .contacts_text .name {
    color: #3C4B9B;

    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.about_us .contacts_text .contacts_info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about_us .contacts_text .contacts_info div {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
}

.about_us .contacts_text .contacts_info div .blue {
    color: #3C4B9B;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.about_us .contacts_text .contacts_info div .value {
    color: #363636;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.social {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center !important;
    text-decoration: none;
}

.social span {
    color: #3C4B9B;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}


.about_us .map{
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.bx-yandex-view-layout{
    width: 100%;
    height: 100%;
}

.form{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
.form_value{
    width: 35%;
}

.image{
    width: 40% !important;
}

.image img{
    width: 100%;
    height: 100%;
}


@media (max-width: 1440px){

    .name, .blue, .value{
        font-size: 18px !important;
    }
    .contacts_text{
        gap: 20px !important;
        padding: 1rem !important;
    }

}

@media (max-width: 1200px){
    .contacts_text{
        min-width: 370px;
    }
    .map{
        max-height: 400px;
    }

}


@media (max-width: 850px){

    .contacts_text{
       width: 100% !important;
       min-width: auto !important; 
    }
    .about_us{
        flex-wrap: wrap;
    }
    .form_value{
        width: 100%;
    }
    .image{
        width: 100% !important;
    }
}

@media (max-width: 500px){

    /* .value{
        width: 100%;
        align-self: center;
    }
    .blue{
        align-self: center;
    } */
}