html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    min-width: 100%;
}

body {
    width: fit-content;
    background: linear-gradient(45deg, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 30%, rgba(235, 235, 235, 1) 50%, rgba(255, 255, 255, 1) 70%, rgba(245, 245, 245, 1) 100%);
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: gradient 15s ease infinite;
    height: auto;
}

main {
    min-height: 90vh;
    display: flex;
    align-content: center;
    justify-content: center;
}

#contact-article {
    display: inline-block;
    align-self: center;
    width: fit-content;
    height: fit-content;
    border-radius: var(--radius--2);
    padding: 2em;
    background-color: var(--white);
    box-shadow: .5vh .5vh .5vh 0vh rgba(173, 173, 173, 0.493);
}

#contact-article>div {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

#contact-article-heading {
    text-align: center;
}

#contact-article>div>* {
    margin: var(--margin--height--2);
}

#contact-article>div form {
    display: grid;
    height: fit-content;
    grid-template-areas:
        "label-name input-name"
        "label-email input-email"
        "confirm confirm";
    gap: 1.2em .8em;
    align-items: center;
}

#label-name {
    grid-area: label-name;
}

#name {
    grid-area: input-name;
}

#label-email {
    grid-area: label-email;
}

#email {
    grid-area: input-email;
}

#confirm-div {
    grid-area: confirm;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact-article>div form label {
    height: 2em;
    font-weight: bold;
    text-align: center;
    align-content: center;
}

#name,
#email,
#confirm {
    border-radius: .8em;
    border: 2px solid var(--accent);
    height: 2em;
}

@media screen and (max-width: 1024px) {
    #contact-article {
        min-width: 0;
        width: clamp(40%, 80%, 25rem);
    }

    #post-section {
        min-width: 0;
        width: 100%;
    }

}