/* .footer {
    margin: 40px 0 0;
} */

.boxs {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 30px;
}

.box {
    display: flex;
    flex-direction: column;
    width: max-content;
}

.address,
.phoneNumber {
    width: 445px;
    border-radius: 15px;
    padding: 15px;
    background: var(--lightBlueGrd);
    color: var(--defaultColor);
    position: relative;
}


.address::before,
.phoneNumber::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    border-radius: 12px;
    filter: opacity(0.8) blur(0.5px);
    transform: rotate(60deg);
}

.address::before {
    background: linear-gradient(90deg, rgba(180, 227, 213, 1) 0%, rgba(255, 255, 255, 1) 100%);
    bottom: -27px;
    left: 160px;
}

.phoneNumber::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(164, 212, 232, 1) 88%);
    top: -25px;
    left: 50px;
}

/* .phoneNumber::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(164, 212, 232, 1) 88%);
    top: -25px;
    left: 50px;
} */

.boxTitle {
    padding: 8px 8px 11px 11px;
    border-radius: 25px;
    background: var(--lightBlueGrd);
    color: var(--defaultColor);
    border: 4px solid var(--defaultColor);
    position: absolute;
    top: -34px;
}

.boxTitle h1 {
    display: flex;
    font-weight: 500;
    font-size: 13pt;
    gap: 4px;
    width: 100%;
}


.boxDesc {
    line-height: 2;
    text-align: justify;
}

.phoneNumber {
    display: flex;
    /*align-items: center;*/
    /*text-align: center;*/
    flex-direction: column;
    background: var(--hardBlueGrd);
    color: var(--defaultColor);
    height: 79px;
    gap: 14px;
}


.phoneNumber .boxTitle {
    background: var(--hardBlueGrd);
}

.phoneNumber .phoneBox {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 18px;
}


.phoneNumber a {
    color: var(--defaultColor);
    font-size: 13pt;
}

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

.links {
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: -18px;
    left: 20px;
}

.links > a {
    display: flex;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--hardOrange);
    border: 4px solid;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(99, 99, 99, 0.2) 0 15px 27px -1px;
}

.button {
    padding: 14px 10px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* connection */

.connection {
    display: inline-block;
    margin-top: 3px;
}

.connectionTitle,
.locationTitle {
    font-size: 10pt;
}

.connection button {
    float: left;
}

/* location */
.location {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}

.map {
    display: flow-root;
    width: 610px;
    height: 270px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.location img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location h1:first-child {
    color: var(--secondPrimary);
}

.location h1:last-child {
    color: var(--primary);
}


/* copyRight */

.copyRight {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--textColor);
    gap: 6px;
    font-size: 10pt;
}

.domains {
    font-weight: normal;
    color: var(--primary);
    font-size: 11pt;
    margin: 30px 0;
}


@media screen and (min-width: 360px) and (max-width: 601px) {
    .boxs {
        flex-direction: column;
        gap: 60px;
    }

    .address,
    .phoneNumber {
        width: calc(100% - 30px);
    }

    .location,
    .map,
    .connection {
        width: 100%;
    }

    .location {
        margin-right: unset;
    }

    .phoneNumber {
        font-size: 10pt;
    }

    .copyRight {
        font-size: 8pt;
    }

    .domains {
        font-size: 8pt;
    }

    .links a{
        width: 28px;
        height: 28px;
    }

}

@media screen and (min-width: 601px) and (max-width: 1024px) {
    .boxs {
         flex-direction: column;
        gap: 60px;
        align-items: center;
    }

    .address,
    .phoneNumber {
        width: calc(100% - 30px);
    }

    .location,
    .map,
    .connection {
        width: 100%;
    }

    .location {
        margin-right: unset;
    }

    .phoneNumber {
        font-size: 10pt;
    }

    .copyRight {
        font-size: 8pt;
    }

    .boxDesc {
        font-size: 10pt;
    }

    .phone {
        font-size: 9.5pt;
    }

    .boxTitle {
        font-size: 11pt;
    }

    .domains {
        font-size: 10pt;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1250px) {
    .map {
        width: 100%;
    }

    .domains {
        font-size: 10pt;
    }
}