.header-main {
    text-align: center;
    padding: 55px 0;
}
.links-main {
    display: flex;
    flex-wrap: wrap;
    font-weight: 100;
}
.link-wrap {
    width: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    font-size: 21px;
    letter-spacing: 1px;
    padding: 10% 0 12%;
}
.link-bg {
    padding: 45px 15px 35px;
}
.link-wrap a {
    display: inline-block;
    font-size: 1.6em;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 3px 25px;
    margin-bottom: 10px;
}
.link-wrap span {
    display: block;
}
.text-main {
    text-align: center;
    font-weight: 100;
    color: #000;
    padding-top: 40px;
    padding-bottom: 50px;
}
.text-main-title {
    font-size: 30px;
    margin-bottom: 12px;
}
.text-main-subtitle {
    font-size: 17px;
    margin-bottom: 40px;
}
.text-main-contacts {
    display: flex;
    justify-content: center;
    text-align: left;
    font-size: 15px;
}
.text-main-address,
.text-main-communication {
    width: 300px;
    padding-top: 10px;
    padding-bottom: 15px;
}
.text-main-address {
    padding-right: 30px;
    border-right: 1px solid #a2c7b5;
    padding-left: 25px;
    background-repeat: no-repeat;
    background-position: 0 10px;
    background-image: url(../img/address-icon.png);
}
.text-main-communication {
    padding-left: 30px;
    border-left: 1px solid #e0ece6;
}
.text-main-phones {
    padding-left: 25px;
    background-repeat: no-repeat;
    background-position: 0 2px;
    background-image: url(../img/phone-icon.png);
    margin-bottom: 10px;
}
.text-main-email {
    padding-left: 25px;
    background-repeat: no-repeat;
    background-position: 0 3px;
    background-image: url(../img/mail-icon.png);
}

@media (max-width: 1439px) {
    .header-main {
        padding: 25px 0;
    }
    .link-wrap {
        font-size: 16px;
    }
    .link-bg {
        padding: 30px 15px 20px;
    }
}

@media (max-width: 767px) {
    .header-main {
        padding: 10px 0;
    }
    .header-main img {
        max-width: 110px;
    }
    .link-bg {
        padding: 20px 15px 15px;
    }
    .link-wrap {
        width: 100%;
        font-size: 14px;
        padding: calc(50% - 94px) 0;
    }
    .link-wrap a {
        font-size: 1.3em;
    }
    .text-main {
        padding-left: 15px;
        padding-right: 15px;
    }
    .text-main-subtitle {
        margin-bottom: 30px;
    }
    .text-main-contacts {
        flex-wrap: wrap;
    }
    .text-main-address,
    .text-main-communication {
        width: 100%;
        border: none;
    }
    .text-main-address {
        padding-right: 0;
        padding-bottom: 10px;
    }
    .text-main-communication {
        padding: 0;
    }
}