h2 {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
}

.location {
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
}

.location p {
    font-size: 20px;
    color: rgb(255, 216, 190);
}

.location>div {
    max-width: 60%;
}

.location>.route>.navigation,
.location>.route>.contacts,
.location>.link {
    background-color: rgb(77, 150, 17);
    border: 3px solid rgb(12, 61, 0);
}

.route .navigator,
.link>.navigation,
.contacts>.social_networks {
    padding: 10px;
}

.route {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.route>div {
    min-height: 50%;
}

.social_networks img {
    border-radius: 40%;
}

.vk {
    display: flex;
    justify-content: space-between;
}

.link a {
    text-align: center;
    text-decoration: none;
    color: rgb(0, 52, 73);
    font-size: 20px;
    font-weight: 800;
}

@media (max-width: 868px) {
    h2 {
        font-size: 22px;
    }
    .location p {
        font-size: 15px;
    }
}

@media (max-width: 425px) {
    h2 {
        font-size: 18px;
    }

    .location {
        flex-direction: column;
        justify-content: center;
        margin-bottom: auto;
        row-gap: 20px;
    }

    .location p {
        font-size: 13px;
    }

    .location>div {
        max-width: 100%;
    }

    .route .navigator,
    .link>.navigation,
    .contacts>.social_networks {
        padding: 5px;
    }

    .route {
        order: 1;
        row-gap: 20px;
    }

    .social_networks img {
        width: 40px;
    }

}