
.on-the-map-inner {
    padding-top: 40px;
}

.on-the-map-title {
    position: relative;
    margin-left: 80px;
}

.map {
    min-height: 900px;
    height: 80vh;
    width: 100%;
}

footer {
    background: #1055AD;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    padding: 40px 0 0;
}

.footer-logo {
    display: flex;
    margin-right: 200px;
    font-size: 20px;
    line-height: 1.4em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.footer-logo img {
    position: relative;
    width: 80px;
    top: -13px;
    margin-right: 20px;
}

.contacts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.contacts > div {
    margin-bottom: 20px;
}

.address, .contacts a {
    font-size: 20px;
    line-height: 1.4em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.address {
    margin-right: 60px;
}

.footer-phone {
    margin-right: 60px;
}

.footer-title {
    font-size: 14px;
    line-height: 28px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.footer-phone .number, .email-address {
    line-height: 20px;
}

.footer-item-contacts {
    width: 100%;
    margin: auto;
}

.footer-item-logo {
    width: max-content;
    margin: auto;
}

@media (max-width: 1600px) {
    .footer-logo {
        margin-right: 100px;
    }

    .address, .contacts a, .footer-logo {
        font-size: 16px;
    }

    .address {
        margin-right: 3%;
    }

    .footer-title {
        font-size: 13px;
    }
}

@media (max-width: 1124px) {
    .map {
        min-height: initial;
        height: 50vh;
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
    }

    .contacts {
        justify-content: space-between;
    }
}

@media (max-width: 850px) {
    .address {
        text-align: center;
    }

    .on-the-map-title {
        margin: auto;
    }
}

@media (max-width: 768px) {
    .footer-item:first-child {
        display: none;
    }

    .contacts {
        justify-content: space-around;
    }

    .on-the-map-title {
        top: 8px;
    }
}

@media (max-width: 420px) {
    .contacts {
        justify-content: center;
        flex-direction: column;
    }

    .contacts > div {
        width: 100%;
        text-align: center;
    }
}
