* { box-sizing: border-box;
    
}

body {
    background: linear-gradient(to bottom, #eeeeee, #ffffff );
    background-attachment: fixed;
    font-family: Verdana, Arial, sans-serif;
    margin: 0px;
}
main {
    padding: 2rem;
    grid-row: 4/5;
    grid-column: 2/-2;
    background-color: #fff;
}
#homehero {
    background-image: 
    url(images/homehero.jpg);
    height:300px;
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
    grid-row: 3/4;
    grid-column: 1/9;
}
#studenthero {
    background-image: 
    url(images/studenthero.jpg);
    height: 300px;
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
    grid-row: 3/4;
    grid-column: 1/9;

}
#facultyhero{
    background-image: 
    url(images/facultyhero.jpg);
    height: 300px;
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
    grid-row: 3/4;
    grid-column: 1/9;
}
#mainimg{
    float:right;
    padding-left: 2rem;
}
#alumnihero{
    background-image: 
    url(images/alumnihero.jpg);
    height: 300px;
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
    grid-row: 3/4;
    grid-column: 1/9;    
}
video{
    float: right;
    margin: 2rem;
}
form{
    display:grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    row-gap: 1rem;
    width: 100%;
}
input {
    font-size: 1rem;
    padding: 10px;
    color: #666;
    background-color: #fafafa;
    border: none;
}
textarea {
    font-size: 1rem;
    padding: 10px;
    color: #666;
    background-color: #fafafa;
    border: none;
}
input :focus{
    outline: none;
    background-color: #f0f0f0;
}
textarea :focus{
    outline: none;
    background-color: #f0f0f0;
}
label{
    padding: 10px;
    text-align: right;
}
#mySubmit{
    width: 10rem;
    grid-column: 2/3;
}
header a{
    text-decoration: none;
    color:#fff;
}
header {
    background-color: #003058;
    color: #fff; 
    font-family: georgia, serif;
    grid-row: 1/2;
    grid-column: 2/-2;
}
h1 {
    line-height: 140%;
    background-image: url(images/utahtechlogo.svg);
    background-position: right;
    background-repeat: no-repeat;
    padding: 1rem;
    background-origin: content-box; 
    margin:0;
    
}
nav a{ 
    text-decoration: none;
    color:#fff;
    padding: 1rem 0rem; 
    display: block;
    text-align: center;
    transition: background-color .5s ease-out;
}
nav a:hover{
    background-color: #BA1C21;
}
nav ul{
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;

}
nav ul li{
    width: 100%;
}
nav { 
    font-weight:bold;
    background-color: #424242;
    position:sticky;
    top:0;
    grid-row: 2/3;
    grid-column: 2/-2;
}
h2 {
    color: #424242;
    font-family: georgia, serif;
}
dt {
    color: #003058;
    font-weight: bold;
}
h3 {
    color: #003058;
}
table{
     margin: 0 auto;
     border:1px solid #424242;
     width: 100%;
     border-collapse: collapse;
}
tr:nth-of-type(even){
    background-color: #f3f3f3;
}
td,th{
    padding: 5px;
    border: 1px solid #424242;
    text-align: center;
}
.text{
    text-align: left;
}
.ut {
    color: #BA1c21;
    font-weight: bold;
}
footer {
    font-size: .70rem;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    grid-row: 5/6;
    grid-column: 2/-2;
}
#wrapper {
   display:grid;
   grid-auto-rows:minmax(0px,auto);
   grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr)
}
#bluebar{
    background-color: #003058;
    grid-column: 1/-1;
    grid-row: 1/2;
}
#greybar{
    background-color: #424242;
    grid-column: 1/-1;
    grid-row: 2/3;
}
@media only screen and (max-width: 1100px){

#wrapper {
    display:grid;
    grid-auto-rows:minmax(0px,auto);
    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;
        position: static;
    }
    nav ul {
        flex-flow: column nowrap;
    }
    #homehero {
        background-image: 
        url(images/homehero.jpg);
        height:auto;
        grid-row: 2/3;
        grid-column: 5/8;
    }
    #studenthero {
        background-image: 
        url(images/studenthero.jpg);
        height:auto;
        grid-row: 2/3;
        grid-column: 5/8;
    
    }
    #facultyhero{
        background-image: 
        url(images/facultyhero.jpg);
        height:auto;
        grid-row: 2/3;
        grid-column: 5/8;
    }
    #alumnihero{
        background-image: 
        url(images/alumnihero.jpg);
        height:auto;
        grid-row: 2/3;
        grid-column: 5/8;
    }
    section {
        float: none;
        width: 100%;
        padding-right:0px;
    }
    video{
        float: none;
        margin: 0;
        width: 100%;
        height: auto;
    }
    }
    @media only screen and (max-width: 600px){
        header h1 {
            background-image: none;
            text-align: center;
        }
        nav {
            grid-row: 2/3;
            grid-column: 1/9;
        }
        #homehero{
            display: none;
        }
        #studenthero{
            display: none;
        }
        #facultyhero {
            display: none;
        }
        #alumnihero {
            display: none;
        }
    }