
* {
    box-sizing: border-box;
    background-color: #fafafa;
}

/* Mobile-first styling (320px-640px)*/

    /* Element Level and Sitewide Styles*/

a {
    background-color:transparent;
    color: rgba(112,112,112,.6);
    text-align: center;
    font-family: 'Assistant', sans-serif;
    text-decoration: none; 
}

p {
    color: rgba(112,112,112,.6);
    font-family: 'Assistant', sans-serif;
    }

h1 {
    font-family: 'Assistant', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: transparent ;
    color: #ccf381;
    text-align: center;
    padding: .5rem .5rem .5rem .5rem;
    line-height: 2rem;
    }

h2, legend {
    color: #4831d4;
    font-size: 1rem;
    font-weight: bold;
    }

img  {
    max-width: 25%;
    height: auto;
    margin-left: 35%;
    margin-right: 35%;
    padding-top: .75rem;
    padding-bottom: .75rem;
    }

.btnpurple {
    color:#4831d4;
    font-size: 1rem;
    padding: 1rem 2rem 1rem 2rem;
    font-weight: bold;
    border: 2.5px solid #4831d4;
    border-radius: 5px;
    margin: 1rem 25% 1rem 25%;
    max-width: 50%
    }
    
footer {
    font-size: 2em;
    max-width: 40%;
    }   

label {
    color: rgba(112,112,112,.6);
    margin: .5rem;
    font-weight: bold;
    }

    /* Header and Navigation*/

.header {
    position: sticky;
    top: 0;
    }

    /* Hide the links inside the navigation menu by default*/

#mylinksleft {
    display: none;
    justify-content: space-between;
    margin-top: .5em;
    flex: 1;
    }

#mylinksright {
    display: none;
    justify-content: space-between;
    margin-top: .5em;
    flex: 1;
    }

    /* Style hamburger */

.nav a.icon {
    display: block;
    position: absolute;
    padding: 15px;   
    margin: 5px;
    right: 0;
    top: 0;
    background: transparent;
    color: #ccf381;
    font-size: 1.5rem;
}

    /* Banner image w/text */

.banner {  
    font-family: 'Assistant', sans-serif;
    font-size: 1rem;
    color: #ccf381;
    text-align: center;
    padding: 2rem 2rem 2rem 2rem;
    background: linear-gradient(to bottom, #4831d4ab, #ccf3818f),
    url("../images/P9230932.JPG") no-repeat top;
    background-attachment: fixed;
    background-size: cover;
    border-radius: 15px 15px 0px 0px;
    /* background-blend-mode: hard-light; */
    margin-block-end: 1em;
    margin-top: 1em;
    }

.bannerreg {
    font-family: 'Assistant', sans-serif;
    font-size: 1rem;
    color: #ccf381;
    text-align: center;
    padding: 2rem 2rem 2rem 2rem;
    background-image: linear-gradient(to bottom, #4831d4ab, #ccf3818f),
    url("../images/cc\ CROSS.png");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    border-radius: 15px 15px 0px 0px;
    margin-block-end: 1em;
    margin-top: 1em;
}


.btn {
    color:white;
    font-size: 1rem;
    padding: 1rem 2rem 1rem 2rem;
    font-weight: bold;
    border: 2.5px white solid;
    border-radius: 5px;
    margin-block-start: 1.5em;
    margin-block-end: 1.5em;
    }

    /* Informational cards displaying school values */
.why {
    font-family: 'Assistant', sans-serif;
    margin-left: 1rem;
    margin-bottom: 2rem;
    }

.reasons {
    margin: 10px;
    padding: 10px;
    min-width: 250px;
}

.social {
    padding: .25em;
      }


/* Style the form fields */
input[type=text], input[type=email], select {
    padding: 10px;
    margin: .25rem 1rem 1rem 1rem;
    border-radius: 5px;
    border: rgba(112,112,112,.6) solid .75px;
}

legend, .thanks {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.25rem;
    padding: .0rem .5rem 0rem .5rem;
}

fieldset {
    border: 2px solid rgba(112,112,112,.6);
    border-radius: 15px 15px 15px 15px;
    margin: 1rem .5rem 1rem .5rem; 
}    

label {
    margin: 0 1rem 0 1rem;
}

textarea {
    margin: .25rem 1rem 1rem 1rem;
    border-radius: 5px;
    border: rgba(112,112,112,.6) solid .75px;
    height: 4rem;
}

#email {
    margin-bottom: 1.5rem;
}

.contact {
    font-family: 'Assistant', sans-serif;
}

.formresults {
    padding-block-start: 0.35em;
    padding-inline-start: 2em;
    padding-inline-end: 2em;
    padding-block-end: 0.625em;
    margin: 1rem .5rem 1rem .5rem;
    border: 2px solid rgba(112,112,112,.6);
    border-radius: 15px 15px 15px 15px;
    margin: 1rem .5rem 1rem .5rem; 
}

span.formresults:empty {
    border-style: none;
}

#resetform {
    text-decoration: underline;
    color: #4831d4;
}

/* Style the classes table */

thead th {
    font-weight: 400;
    background: #8a97a0;
    color: #FFF;
  }
  
  tr {
    background: #f4f7f8;
    border-bottom: 1px solid #FFF;
    margin-bottom: 5px;
  }
  
  tr:nth-child(even) {
    background: #e8eeef;
  }
  
  th, td {
    text-align: left;
    padding: 20px;
    font-weight: 300;
  }
  
  tfoot tr {
    background: none;
  }
  
  tfoot td {
    padding: 10px 2px;
    font-size: 0.8em;
    font-style: italic;
    color: #8a97a0;
  }

/* About page */

#headshot {
    margin: 1rem auto 0rem auto;
    padding: 0rem 1rem;
    max-width: 100%;
    height: fit-content;
    border-radius: 10px;
}

article {
    font-family: inherit;
    margin: 0rem 1rem 0rem 1rem;  
}

.aboutheader {
    margin: 0rem 1rem 0rem 1rem;
   }

/* Media Queries */

@media screen and (min-width: 640px) {

    h1 {
        font-family: 'Assistant', sans-serif;
        font-size: 3rem;
        padding: .5rem .5rem .5rem .5rem;
        line-height: 4rem;
        }
    
    .nav a.icon {
        display: none;
    }

    img  {
        max-width: 25%;
        height: auto;
        margin-left: 3rem;
        margin-right: 3rem;
        padding-top: .75rem;
        padding-bottom: .5rem;
            }

    #mylinksleft {
          justify-content: space-between;
          align-items: center;
          
    }

    #mylinksright {
        justify-content: space-between;
        align-items: center;
  }
        
    .navlinks {
        padding: .25rem;
        margin: 0rem;
        color: #4831d4;
        font-weight: bold;
        text-align: center;
        }

    .navlinks:hover, #resetform:hover {
        color: #ccf381;
        font-weight: bolder;
        }
        
   
    .btn:hover {
        color: #1d1d1d;
        background-color: #fff;
        transition: 0.1s background-color;
    }
        
    .btnpurple:hover {
        color: #fff;
        background-color: #4831d4;
        transition: 0.1s background-color;
    }
        
    .why {
         margin: 0em 2em 2em 2em;
        }
    
    .btnpurple {
        margin: 1rem 25% 1rem 25%;
        max-width: 50%;
        }

    
    /* About page */

    .director {
        margin: 0rem 1rem 0rem 1rem;
        max-width: 100%;
    }

    #headshot {
        max-width: 30%;
        order: -1;
        margin: 1rem 1rem 0rem 1rem;
        padding: 0;
        align-self: center;
        }

    article {
        margin: 0rem 1rem 0rem 0rem;
        max-width: 60%;  
        } 
    }


@media screen and (min-width: 925px) {
    .why {
        font-family: 'Assistant', sans-serif;
        margin: 0em 2em 2em 2em
            }

    .reasons {
        font-family: 'Assistant', sans-serif;
        flex-grow: 0                ;
        margin: 0px;
        padding: .5em;
        min-width: 100px;
        }

    .btnpurple {
        margin: 1rem 25rem 1rem 25rem;
    }

    fieldset, .formresults {
        max-width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }

    }