.contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact .contact-info {
    width: 40%;
    padding: 1rem 2rem;
}

.contact .detail-info {
    display: flex;
    align-items: center;
}

.contact .detail-info a {
    text-decoration: none;
    margin: 1rem 0rem;
}

.contact .contact-info svg {
    fill: var(--primary);
    width: 2rem;
    margin-right: 1rem;
}

.contact .contact-info h1 {
    margin-top: 4rem;
    margin-bottom: 2.5rem;
}

.contact form p {
    position: relative;
    margin-bottom: 2rem;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 1rem 2rem;
    border: 2px solid var(--background-tertiary);
    border-radius: 1rem;
    max-width: 100%;
    min-width: 100%;
}

.contact form br {
    display: none;
}

.contact form label {
    position: absolute;
    left: 1rem;
    top: -0.5rem;
    padding: 0rem 1rem;
    background-color: var(--background);
    z-index: 10;
}

#mapid {
    width: 60%;
    min-height: 100vh;
    height: 100%;
}

@media screen and (max-width: 1500px) {
    .contact .contact-info {
        width: 50%;
    }

    #mapid {
        width: 50%;
    }
}

@media screen and (max-width: 800px) {
    .contact {
        flex-wrap: wrap;
    }

    .contact .contact-info {
        width: 100%;
    }

    #mapid {
        width: 100%;
        min-height: 0;
        height: 50vh;
    }
}