.footer__container {
    width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer__copyright-text {
    margin: 0;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #535B63;
}

.footer__copyright {
    display: flex;
    justify-content: center;
    margin-top: 53px;
    padding-top: 16px;
    padding-bottom: 16px;
    background-color: #F6F6F6;
}

.footer__email {
    margin: 0;
    margin-bottom: 29px;
    color: #0173C1;
    font-size: 20px;
    line-height: 28px;
    text-decoration: none;
}

.footer__image {
    width: 220px;
    margin-bottom: 37px;
}

.footer__item_contacts {
    align-items: flex-end;
}

.footer__item {
    display: flex;
    flex-direction: column;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
}

.footer__logo {
    max-height: 28px;
    margin-right: 16px;
    margin-top: -3px;
    align-self: center;
}

.footer__phone {
    margin: 0;
    margin-bottom: 9px;
    font-size: 28px;
    line-height: 28px;
    color: #008452;
}

.footer__text {
    margin: 0;
    margin-bottom: 34px;
    width: 370px;
    color: #0173C1;
}

.footer__text:last-of-type {
    margin-bottom: 0;
}

.footer__link {    
    color: #0173C1;
    text-decoration: none;
}

.footer__link:hover {    
    color: #0173C1;    
}

.footer__phone-text {
    margin: 0;
    font-size: 18px;
    line-height: 25px;
    color: #535B63;
}

.footer__about {
    margin: 0;
    width: 430px;
    color: #535B63;
}


.footer {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #1E3685;
    padding-top: 44px;
}

@media screen and (max-width: 1220px) {
    .footer__container {
        width: 90%;
    }
}

@media screen and (max-width: 1150px) {
    .footer__about {
        width: 380px;
    }
}

@media screen and (max-width: 1080px) {
    .footer__container {
        flex-direction: column;
    }
    .footer__image {
        margin-bottom: 25px;
    }
    .footer__item_contacts {
        align-items: flex-start;
        margin-top: 40px;
    }
    .footer__item:first-of-type {
        margin-bottom: 18px;
    }
    .footer__text {
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 500px) {
    .footer__logo {
        width: 80px;
        height: 23px;
    }
}

@media screen and (max-width: 470px) {
    .footer__text {
        width: 100%;
    }
    .footer__about {
        width: 100%;
    }
}

@media screen and (max-width: 359px) {
    .footer__copyright-text {  
        font-size: 16px;     
    }
}