
/* Contact Form */

#contact-form form {
    width: 100%;
    max-width: 480px;
    margin-top: 16px;
}

.form-row {
    display: grid;
    align-items: center;
    
    gap: 0px;
    grid-template-columns: 60px 1fr;
    margin-bottom: 12px;
}

.form-row label {
    color: var(--deep-teal);

    font-size: 12px;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

.form-row input {
    width: 100%;
    box-sizing: border-box;

    font-family: "urbane", sans-serif;

    background-color: #fff;
    border: 1px solid var(--soft-stone);
    color: var(--grey-text);
    outline: none;

    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 300;

    transition:
        border-color 0.1s ease,
        box-shadow 0.1s ease;
}

.form-row input:focus {
    border-color: var(--muted-water);
    box-shadow: 0 0 0 2px rgba(109, 155, 163, 0.15);
}

#contact-form button {
    font-family: "urbane", sans-serif;

    background-color: var(--muted-water);
    border: none;
    color: #fff;

    margin-top: 10px;
    padding: 11px 16px;
    font-size: 12px;
    font-weight: 400;
    border-radius: 6px;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

#contact-form button:hover {
    background-color: var(--soft-moss);
}

.form-message {
    margin-top: 16px;
    margin-bottom: 0;

    font-size: 12px;
    font-weight: 600 !important;
    line-height: 1.5;
}

.form-message-success {
    color: var(--muted-water) !important;
}

.form-message-error {
    color: #a33 !important;
}

.form-extra {
    position: absolute;
    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

@media screen and (min-width: 620px) {

    .form-row {
        gap: 0px;
        grid-template-columns: 90px 1fr;
        margin-bottom: 24px;
    }

    .form-row label {
        font-size: 20px;
        font-weight: 600;
        padding: 0;
        margin: 0;
    }

    .form-row input {
        padding: 20px 12px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 300;
    }

    #contact-form button {
        margin-top: 20px;
        margin-bottom: 32px;
        padding: 24px 30px;
        font-size: 18px;
        font-weight: 400;
        border-radius: 8px;
    }

    #contact-form button:hover {
        background-color: var(--soft-moss);
    }

    .contact-intro {
        margin-bottom: 40px;
    }

    .form-message {
        width: max-content;
        max-width: none;
        white-space: nowrap;

        font-size: 16px;
    }

}