#contacts {
    color: white;
}
#contacts-box {
    margin: 0 2% 0 0;
    padding: 20px 0 2% 4%;
}

.contacts-row {
    display: flex;
    justify-content: space-around; 
}


.contact-info-item {
    display: flex;
    margin-top: 20px;
    align-items: flex-start;
}

.contact-field {
    padding: 0 15px 5px 30px;
    border-bottom: 0.15vw solid #fff;
    font-size: 15px;
    position: relative;
    text-align: left;
}

.contact-field:after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    bottom: -4px;
    right: 0;
}

.contact-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

.contact-info-shape {
    background: #506975;
    clip-path: polygon(0 0, 89% 0, 100% 100%, 0 100%);
}

.contact-map-shape {
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 15% 100%);
    background: #fff;

}

.geolocation-google {
    color: #506975;
    margin-top: -10vh;
    font-size: 15px;
    padding: 0 10px 10px;
}

.contacts-info {
    width: 56%;
}

.contact-field:before {
    content: "";
    position: absolute;
    width: 20px;
    height: calc(100% + 42px);
    border-bottom: 0.15vw solid #fff;
    border-left: 0.15vw solid #fff;
    left: -20px;
    box-sizing: border-box;
    bottom: -0.15vw;
}

.contact-info-value {
    font-size: 17px;
    margin-top: 10px;
    margin-left: 15px;
    text-align: left
}

.contact-info-address {
    color: #7cc041
}

.contacts-map {
    width: 40%;
    padding: 15px;
    margin-left: -11%;
}

.contacts-row-buildings {
    margin-top: 20px;
    padding: 0 2%;
}

.contacts-building {
    height: 42vh;
}

.contacts-building-1 {
    width: 58%;
}

.contact-info-content {
    max-width: 85%;
}

.contacts-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#maps {
    text-align: right;
    width: 100%;
    right: 0;
    position: relative;
    align-items: center;
    justify-content: flex-end;
    display: flex;
}
#geolocation {
    margin-right: 3%;
    position: relative;
}
#geolocation h3 {
    float: right;
    color: white;
    margin: 0 10% 3% 0;
}

.contacts-building-2 {
    width: 35%;
    margin-left: -1%;
}

.map {
    max-width: 100%;
    width: 75%;
}


.contact-block {
    box-sizing: border-box;
    position: relative;
    padding-bottom: 3%;
}


#contacts-box h1 {
    margin-bottom: 2vh;
}

.contact {
    text-decoration: none;
    margin: 1.5vh 0;
    display: block;
    color: black;
    width: auto;
    font-size: 20px;
}
#contacts {
    width: auto;
    display: block;

}

@media (max-width: 600px) {
    #contacts {
        text-align: center;
        width: 100%;
    }
    .contact {
        width: 100%;
    }
    #contacts p {
        font-size: 20px;
    }
    #contacts h1 {
        font-size: 30px;
    }
    #contacts {
        text-align: center;
        width: 100%;
    }
    #contacts-box {
        text-align: center;
    }
    #geolocation {
        text-align: center;
        width: 100%;
        height: auto;
    }
    #maps {
        width: 90%;
        height: auto;
        margin: 5%;
    }
}

@media (min-width: 1024px) {
    #geolocation {
        text-align: center;
        height: auto;
    }
}

@media screen and (max-width: 768px) {
    .contact-info-shape,
    .contact-map-shape {
        clip-path: unset;
    }

    .contacts-info {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .contacts-map {
        width: 100%;
        margin-left: 0;
        background: #fff;
    }

    #maps {
        flex-direction: column;
    }

    .map {
        width: 100%;
    }


    .contacts-building {
        /* margin-top: 20px; */
        width: auto;
    }

    #contacts-box {
        padding: 20px 0 2% 10%;
    }

    .contact-field {
        padding-left: 10px;
    }

    .contact-field:before {
        left: -21px;
        bottom: -1px;
    }

    .contacts-row-buildings {
        padding: 0;
    }

    .contact-block {
        width: unset;
        clip-path: unset;
    }

    .contacts-row {
        flex-direction: column;
    }

    .contact-info-value {
        font-size: 16px;
    }

    .contact-info-content {
        max-width: unset;
        padding-right: 20px;
    }

    .contacts-building-2 {
        margin-left: 0;
        display: none;
    }
}

@media (max-width: 1024px) {
    #contacts p {
        font-size: 30px;
    }
    #contacts h1 {
        font-size: 40px;
    }
    #contacts {
        text-align: center;
        width: 100%;
    }

    #geolocation {
        width: 100%;
        height: auto;
    }
}