form h2 {
    margin-top: 1rem;
}

section header {
    margin: 2rem;
}

form {
    width: 37.125rem;
    height: 40rem;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary-light);
    border-radius: 0.5rem;
    border: #1A394C solid 0.125rem;
}

label {
    font-size: 1.5rem;
    align-self: flex-start;
    margin: 1.5rem;
}


button[type="submit"] {
    width: 50%;
    background-color: #1A394C;
    border: none;
    margin-bottom: 1rem;
}

input, textarea, label {
    font-family: "JetBrains Mono", monospace, sans-serif;
    color: var(--ink-dark   );
}

input, textarea {
    width: 50%;
    height: 2rem;
    margin-top: 0.5rem;
    background-color: #303030;
    border: none;
    border-bottom: white 0.125rem solid;
}

input[placeholder], textarea[placeholder] {
    color: white;
    padding-left: 1rem;
    font-size: 1rem;
}

textarea[placeholder] {
    padding-top: 1rem;
    margin-bottom: 1rem;
}

textarea {
    height: 5rem;
}

.alt-contact {
    align-self: flex-start;
    padding-left: 2rem;
    width: calc(100% - 2rem);
}

.contact-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.alt-contact h3 {
    margin-bottom: 1rem;
}

a {
    margin: 0.5rem;
}

img {
    width: 2rem;
    height: 2rem;
}

a:nth-child(1) {
    margin-left: 0;
}

@media screen and (max-width: 630px) {
    form {
        width: 90%;
        height: auto;
    }

    form h2 {
        font-size: 1.5rem;
        margin-top: 0.5rem;
    }

    label {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    input, textarea {
        width: 80%;
    }

    textarea {
        height: 3.5rem;
    }
}