.content h1 {
    color: #171981;
    margin: 2rem 0;
    font-size: 4rem;
    text-align: center;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

#website, #email {
    display: none;
}

#contact-form {
    max-width: 700px;
    margin: 2rem auto 0;
    padding: 2rem 2.5rem;
    color: white;
    background-color: #171981;
    border-radius: 5px;
    box-shadow: 0 0 5px black;
}
#contact-form h2 {
    text-align: center;
    margin: 2rem 0;
    font-size: 2rem;
}

.help {
    display: inline-block;
    color: red;
    margin-bottom: 1.5rem;
}
span.required {
    color: red;
    margin-left: .25rem;
}
.field {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}
.field.flex-start {
    align-items: flex-start;
}
.field .title {
    display: flex;
    margin-right: .75rem;
}
.field .container {
    display: flex;
}
.primary .title {
    min-width: 7rem;
}

.field label {
    margin-right: 1rem;
}
.field label, .field p {
    font-size: 1.25rem;
}

.field input[type="text"], .field textarea {
    width: 100%;
    border: none;
    border-radius: 7px;
}
.field input[type="text"] {
    height: 1.75rem;
}
.field input[type="radio"] {
    margin: 0.1rem 0.25rem 0 0;
}

#submit-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem;
}
#submit-container button {
    color: white;
    background-color: #171981;
    padding: 0.5rem 1rem;
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color .3s ease;
}
#submit-container button:hover {
    background-color: #4043d6;
}
#submit-container .loading {
    display: none;
    width: 1.5rem;
    margin-left: .5rem;
}
p.err {
    color: red;
    margin-bottom: 2rem;
    text-align: center;
}

#contact-form .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
    margin-top: 1.5rem;
}
#contact-form .footer a {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .content h1 {
        font-size: 2rem;
        margin: 1rem 0;
    }
    #contact-form {
        margin: 1rem auto 0;
        padding: 2rem;
        text-align: center;
    }
    .field {
        flex-direction: column;
        align-items: center;
        gap: .5rem;
    }
    .field.flex-start {
        align-items: center;
    }
    .field .title {
        margin-right: 0;
    }
    .field .container {
        display: flex;
        gap: 1rem;
    }
    .primary .title {
        min-width: auto;
    }
    .field input[type="radio"] {
        margin: 0.5rem 0px 0.15rem;
    }
    p.err {
        margin-bottom: 1rem;
    }
}