:root{
    --hero-padding: 6rem;
}

.locations.page-container {
    padding-top: 0;
}

.triangle {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 30% 100%, 0 85%);
}

.ft-location-content.phone {
    display: none;
}

h2 {
    width: min(25rem, 100%);
}

.contact-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5rem;
}

.contact-form {
    flex: 3;
}

.contact-details {
    flex: 2;
}

.contact-flex h2 {
    width: min(20rem, 100%);
    margin-bottom: 2rem;
}

.under-form{
    font-size: 0.8rem;
    color: #a7a7a7;
    width: min(22rem, 100%);
    text-align: center;
    margin: auto;
}

.contact-detail {
    font-size: 1.2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contact-detail svg {
    width: 2.3rem;
    fill: var(--primary-color);
}

.contact-detail img {
    width: 1.7rem;
}

.contact-detail, .contact-detail a {
    color: #000;
    text-decoration: none;
    font-size: 1.4rem;
    font-family: 'primana-bold';
    text-box: trim-both cap alphabetic;
}

p.under-form a {
    font-family: 'primana-bold';
    color: var(--primary-color);
}

.contact-details > div {
    text-align: left;
    display: inline-flex;
    gap: 2rem;
    flex-direction: column;
}

.map {
    position: relative;
    overflow: hidden;
    padding-top: 500px; 
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media(width <= 60rem){
    .contact-flex {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .contact-details {
        padding: 4rem 0;
        text-align: center;
    }

    h2{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media(width <= 32.5rem){
    .contact-form{
        padding: 0;
        padding-bottom: 2rem;
    }
}