* { box-sizing: border-box;
}
body
    {font-family: Veranda, Arial, sans-serif;
    background-image: linear-gradient(to bottom, #eeeeee, #ffffff);
    background-attachment: fixed; 
    display: block;
    color: #424242;
    margin: 0px;
    }
header
    {background-color: #BA1C21; 
    color: #FFFFFF;
    font-family: Georgia, sans-serif;
    grid-area: 1 / 2 / 2 / 8;
    }
h1
    {line-height: 240%; 
    background-image: url(dixie4images/dsu.jpg);
    background-repeat: no-repeat;
    background-position: right; 
    padding-left: 0.5em; 
    height: 72px;
    margin: 0;
    }
h1 a
    {text-decoration: none;
    color: #FFFFFF;
    }
nav
    {font-weight: bold; 
    text-decoration:none;
    background-color: #424242;
    position: sticky;
    top: 0;
    grid-area: 2 / 2 / 3 / 8;
    }
nav ul
    {list-style-type: none;
    padding:0px 0px 0px 0px;
    margin: 0px;
    display:flex;
    flex-flow: row;
    flex-flow:nowrap;
    }
ul li
    {width:100%;
    }
nav a
    {color: #FFFFFF;
    display: block;
    text-decoration: none;
    text-align: center;
    padding:1em 0;
    }
nav a:hover
    {background-color: #BA1C21;
    }
main
    {background-color: #FFFFFF;
    padding-left: 2em; 
    padding-right: 2em;
    padding-top: 1px;
    padding-bottom: 1px;
    grid-area: 4 / 2 / 5 / 8;
    }
section
    {float:left;
    width: 33%;
    padding-right: 1em;       
    }
h2
    {color: #424242; 
    font-family: Georgia, sans-serif;
    }
dt
    {color: #BA1C21; 
    font-weight: bold;
    }
.dsu
    {color: #BA1C21; 
    font-size: 1.2em;
    }
h3
    {color: #BA1C21;
    }
table, tr, td, th 
    {border: 1px solid #424242;
    }
table
    {width:100%;
    margin: 0 auto;
    border-collapse: collapse;
    }
tr:nth-last-of-type(2n+1)
    {
    background-color: #F3F3F3;
    }
td
    {padding: 5px;
    }
th
    {padding: 5px;
    background-color: #FFFFFF;
    }
form
    {display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    grid-gap: .75rem;
    width: 100%;
    }
input, textarea
    {font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: none;
    }
input,textarea:focus
    {outline: none;
    background-color: #f0f0f0;
    }
label
    {padding: 10px;
    text-align: right;
    }
footer
    {font-size: .70em; 
    font-style: italic; 
    text-align: center;
    padding: 1em;
    background-color: #FFFFFF;
    grid-area: 5 / 2 / 6 / 8;
    }
#wrapper
    {display:grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px,1fr)repeat(6,minmax(0,175px))minmax(0px,1fr);
    }
#redbar
    {background-color: #BA1C21;
     grid-area: 1 / 1 / 2 / 9; 
    }
#greybar
    {background-color: #424242;
    grid-area: 2 / 1 / 3 / -1;  
    }
#homehero
    {background-image: url(dixie4images/homehero.jpg); 
    background-repeat:no-repeat;
    height: 300px; 
    background-size: cover; 
    background-position: center;
    grid-area: 3 / 1 / 4 / 9;
    }
#studenthero
    {background-image:url(dixie4images/studenthero.jpg); 
    background-repeat: no-repeat;
    height: 300px; 
    background-size: cover; 
    background-position: center;
    grid-area: 3 / 1 / 4 / 9;
    }
#facultyhero
    {background-image: url(dixie4images/facultyhero.jpg); 
    background-repeat: no-repeat;
    height: 300px; 
    background-size: cover;
    background-position: center;
    grid-area: 3 / 1 / 4 / 9;
    }
#alumnihero
    {background-image: url(dixie4images/alumnihero.jpg); 
    background-repeat: no-repeat;
    height: 300px; 
    background-size: cover;
    background-position: center;
    grid-area: 3 / 1 / 4 / 9;
    
    }
#clear
    {clear:both;
    }
#mySubmit
    {width: 10rem;
    grid-column-start: 2;
    grid-column-end: 3;
    }

@media only screen and (max-width:1100px){
    #wrapper{
        grid-template-columns: minmax(0px,1fr)repeat(6,minmax(0,150px))minmax(0px,1fr);
    }
    }

@media only screen and (max-width:900px){
    nav{
        grid-area: 2 / 1 / 3 / 5;
    }
    nav ul{
        flex-flow: column nowrap;
    }
    #homehero{
        grid-area: 2 / 5 / 3 / 8;
        height: auto;
    }
    #studenthero{
        grid-area: 2 / 5 / 3 / 8;
        height: auto;
    }
    #facultyhero{
        grid-area: 2 / 5 / 3 / 8;
        height: auto;
    }
    #alumnihero{
         grid-area: 2 / 5 / 3 / 8;
        height: auto;
    }
    section{
        float:none;
        width: 100%;
        padding-right: 0px;
    }
}

@media only screen and (max-width: 600px){
    h1{
        background-image: none;
        text-align: center;
    }
    nav{
        grid-area: 2 / 1 / 3 / 9;
    }
    #homehero{
        display: none;
    }
    #studenthero{
        display: none;
    }
    #facultyhero{
        display: none;
    }
    #alumnihero{
        display: none;
    }
    
}
