@charset "utf-8";
/*
    Student: Jerry Ray Walz Jr.
    Project: CIS233DA
    Assignment: Final Project
    Form Style Sheet
    Filename: contact.css
*/

html {
    height: 100%;
    width: 100%
}

#section1 {
    grid-area: section1;
}

/* Main grid for contact*/
main {
    display: grid;
    height: 100%;
    grid-area: main;
    grid-template-columns: auto;
    grid-template-rows: 50% 50%;
    grid-template-areas: 
    "section1"
    ".";
    justify-items: center;
    justify-content: center;
    align-items: top;
    align-content: top;
    overflow: auto;
}

/* This is the Pseudo Element Requirement */
section#section1::before {
    content: "For potential future follow up,";
    font-size: 1.0em;
    text-align: left;
}

form {
    display: grid;
    grid-gap: .2em;
    position: relative;
    margin: 0 auto;
}

input[type="submit"], #reset {
    font-family: Papyrus, fantasy; font-size: 1.2em; font-style: normal; font-variant: normal; font-weight: 700;
    background-color: #bfd7cb;
}

select[name="acctype"] {
    display: block;
    width: 140px;
    height: 24px;
    margin-bottom: .3em;
    font-size: 0.8em;
}

#userinfo {
    width: 10.8em;
    margin: 0.0em auto;
}

#fieldselect {
    width:10.8em;
}

fieldset {
    border-radius: 15px;
    padding: .2em;
    background-color: #bfd7cb;
    min-width: 10.8em;
}

legend {
    font-weight: bold;
    width: 15.0em;
    /*margin-bottom: 0.5em;*/
    font-size: 1.0em;
}

label {
   display: block;
   font-size: .8em;
}

/* To help with validation */
input:invalid:focus {
    background-color: rgba(180, 50, 50, 0.20);
}

input:valid:focus {
    background-color: rgba(50, 180, 50, 0.2);
}

/* Footer adjustments */
a {
    font-weight: bolder;
}

label, legend {
    font-weight: bolder;
}

#mainform {
    position: relative;
    top: 0.0em;
}

#mainform form {
    position: absolute;
    margin-top: 0.0em;
}

#mainform input {
    font-size: .8em;
}

/* Adjustments to the form buttons container */
.formbuttons {
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: space-evenly;
}

textarea {
    max-height: 80px;
    max-width: 200px;
}

.billing_address {
    display: none;
    padding-bottom: 1.0em;
}