/* --------------------------------------------------
    CONTACT
-------------------------------------------------- */

/* ---------- Header ---------- */

.contact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-header h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    font-family: 'Times New Roman', serif;
    font-weight: 150;
}

.contact-header p {
    font-size: 1.5em;
    font-family: 'Times New Roman', serif;
    text-align: center;
}


/* ---------- Contact Body ---------- */

.contact-body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    background-color: #222222;
    border-radius: 10px;
    padding: 2rem;

    max-width: 800px;
}

.contact-body img {
    max-height: 400px;
    height: 300px;
    /* border-radius: 10px; */
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: right;
    gap: 1rem;
}

.contact-right a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}

.contact-right p {
    font-size: 1.1em;
}

.contact-right p span {
    font-weight: bold;
    color: #4e8b8c;
}

/* ---------- Contact Line ---------- */

.contact-line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: white;
    flex-shrink: 0;
}

.contact-header-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    flex-shrink: 0;
    margin-top: 2rem;
}

/* --------------------------------------------------
    RESPONSIVE DESIGN
-------------------------------------------------- */

@media (max-width: 768px) {

    /* Stack contact body */
    .contact-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
        max-width: 100%;
        gap: 1.5rem;
    }

    .contact-body img {
        height: auto;
        width: 50%;
        /* smaller but keeps aspect ratio */
        max-width: 200px;
        border-radius: 50%;
        margin-bottom: 1rem;
    }

    .contact-right {
        text-align: center;
        gap: 1rem;
        justify-content: center;
    }

    .contact-right a {
        font-size: 1em;
        display: block;
    }

    .contact-right p {
        font-size: 1em;
    }

    .contact-line {
        margin: 0.5rem auto;
    }

    .contact-header h1 {
        font-size: 2em;
    }

    .contact-header p {
        font-size: 1em;
    }

    .contact-header-line {
        margin-top: 1rem;
    }
}