*{
    box-sizing: border-box;
}
body{
    
    background-attachment: fixed;
    color: #666;
    font-family: Verdana;
    margin:0px;
}
header{
    background-color: #BA1C21;
    color: #ffffff;
    font-family: Georgia;
    grid-row:1/2;
    grid-column:2/-2;
}
header h1{
    line-height:240%;
    margin:0;
}
nav{
    font-weight: bold;
    position:sticky;
    top:0;
    background:#424242;
    grid-row:2/3;
    grid-column:2/-2;
   

}
nav ul{
    list-style-type: none;
    margin: 0px;
    display:flex;
    flex-flow:row nowrap;
}
nav ul li{
    width:100%;
}
nav a{
    text-decoration: none;
    padding: 1rem 0rem;
    display:block;
    color:  #ffffff;
    text-align:center;
}
nav a:hover{
    background-color:#BA1C21;

}
main{
padding-left: 2em;
padding-right: 2em;
display: block;
background-color:#ffffff;
float:right;
padding-top: 1px;
padding-bottom: 1px;
grid-row:4/5;
grid-column:2/-2;


}
header a{
    text-decoration: none;
    color: #ffffff;
}
h1{
    
    
    background-repeat: no-repeat;
    padding-left:0.5rem;
    height:72px;
    margin-bottom:0;
}
h2{
    color: #424242;
    font-family: Georgia;
}
h3{
    color:#BA1C21;
}
dt{
    font-weight: bold;
    color: #BA1C21;
}
#wrapper{
    display:grid;
    grid-auto-rows: minmax(0,auto);
    grid-template-columns: minmax(0px,1fr) repeat(6,minmax(0,175px)) 
    minmax(0px,1fr);
}
#redbar{
    background-color:#BA1C21;
    grid-row:1/2;
    grid-column:1/-1;
}
#greybar{
    background-color:#424242;
    grid-row:2/3;
    grid-column:1/-1;
}
#homehero{
    height: 300px;
    background-image: url(dixie4images/homehero.jpg);
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row:3/4;
    grid-column:1/-1;
}
#studenthero{
    height: 300px;
    background-image: url(dixie4images/studenthero.jpg);
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row:3/4;
    grid-column:1/-1;
}
#facultyhero{
    height: 300px;
    background-image: url(dixie4images/facultyhero.jpg);
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row:3/4;
    grid-column:1/-1;
}
.dsu{
    color:#BA1C21;
    font-size: 1.2em;
}
footer{
    font-size: .7em;
    font-style: italic;
    text-align: center;
    padding:1em;
    background-color:#ffffff;
    grid-row:5/6;
    grid-column:2/-2;
}
section{
    float:left;
    width:33%;
    padding-right:1rem;
}
.clear{
    clear:both;
}
table{
    margin:0 auto;
    border:#424242 1px;
    width:100%;
    border-collapse: collapse;
    
}
table td th{
    padding:5px;
    border: #424242 1px;
}
table td{
    text-align:center;
}
.text{
    text-align:left;
}
tr:nth-of-type(2n){
    background-color:#F3F3F3;
}
form{
    display:grid;
    grid-template-rows: auto;
    grid-template-columns:200px 1fr;
    gap:0.75rem;
    width:100%;
}
textarea{
    font-size:1rem;
    padding:10px;
    color:#666666;
    background-color:#fafafa;
    border:none;
}
textarea:focus{
    border:none;
    background-color:#f0f0f0;
}
input{
    font-size:1rem;
    padding:10px;
    color:#666666;
    background-color:#fafafa;
    border:none;
}
input:focus{
    border:none;
    outline:none;
    background-color:#f0f0f0;
}
label{
    padding:10px;
    text-align:right;
}
#mySubmit{
    width:10rem;
    grid-column: 2/3;
}
#alumnihero{
    height: 300px;
    background-image: url(dixie4images/alumnihero.jpg);
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row:3/4;
    grid-column:1/-1;
}
/* Media Queries for Media 1100px, 900px, 600px, and below*/
@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-row: 2/3;
        grid-column: 1/5;
    }
    nav ul{
        flex-flow:column nowrap;
    }
    #homehero{
        grid-row:2/3;
        grid-column:5/8;
        height:auto;
    }
    #studenthero{
        grid-row:2/3;
        grid-column:5/8;
        height:auto;
    }
    #facultyhero{
        grid-row:2/3;
        grid-column:5/8;
        height:auto;
    }
    section{
        float:none;
        width:100%;
        padding-right:0px;
    }
}
@media only screen and (max-width:600px){
    header h1{
        background-image:none;
        text-align:center;
    }
    nav{
        grid-row:2/3;
        grid-column:1/-1;
    }
    #homehero{
        display:none;
    }
    #studenthero{
        display:none;
    }
    #facultyhero{
        display:none;
    }
}