.contactPageContainer {
    border-radius: 0;
}

.contactPageContainer .connections {
    border: 1px solid #e0e0e0;
    padding: 2rem;
}

.contactPageContainer .connections .upper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.contactPageContainer .connections .upper>div {
    border-inline-end: 1px solid #e0e0e0;
    text-align: center;
    padding: 0 1rem;
}

.contactPageContainer .connections .upper>div:last-child {
    border-inline-end: none;
}

.contactPageContainer .connections .upper>div .icon {
    position: relative;
    font-size: 2rem;
    color: var(--secondary-color);
}

.contactPageContainer .connections .upper>div a,
.contactPageContainer .connections .upper>div a:active,
.contactPageContainer .connections .upper>div a:visited {
    color:black;
}

.contactPageContainer .connections .upper>div .icon ion-icon:nth-child(2) {
    position: absolute;
    left: -20px;
    transform: rotate(10deg);
}

.contactPageContainer .connections .upper>div h4 {
    font-size: 1.3rem;
    margin-top: -20px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contactPageContainer .connections .upper>div p {
    line-height: 1.5rem;
    font-size: 1rem;
    color: #999;
}

.contactPageContainer .connections .social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.contactPageContainer .connections .social h4 {
    font-size: 1.3rem;
}

.contactPageContainer .connections .social p {
    color: #999;
}

.contactPageContainer .connections .social a,
.contactPageContainer .connections .social a:visited,
.contactPageContainer .connections .social a:active {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    width: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    transition: 0.2s all ease-in-out;
}

.contactPageContainer .connections .social a:hover {
    color: #fff;
    background-color: var(--secondary-color);
}

.map {
    position: relative;
    padding: 2rem 0;
}

.map iframe {
    width: 100%;
    height: 50vh;
}

.map .overlay {
    position: absolute;
    inset: 0;
    mix-blend-mode: hue;
    background-color: var(--theme-color);
    opacity: 0.9;
    pointer-events: none;
}

@media (width <=800px) {
    .contactPageContainer .connections .upper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }


    .contactPageContainer .connections .upper>div {
        border-block-end: 1px solid #e0e0e0;
        border-inline-end: none;
        padding: 2rem 0;
    }


    .contactPageContainer .connections .upper>div .icon ion-icon:nth-child(2) {
        position: absolute;
        left: 15px;
        transform: rotate(10deg);
    }

    .contactPageContainer .connections .social {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        text-align: center;
    }

    .contactPageContainer .connections .social a {
        margin-top: 20px;
    }
}
