body{
    background-color: #fff;
    color: #666666;
    font-family: verdana, arial, sans-serif;
    background-attachment: fixed;
    margin: 0px;
}
* {
    box-sizing: border-box;
}
header{
    background-color: #003058;
    color: #fff;
    font-family: georgia, serif;
    grid-row: 1 / 2;
    grid-column: 2 / -2;
}

header h1{
    line-height: 140%;
    padding: .5rem;
    background-image: url("images/utahtechlogo.svg");
    background-position:right;
    background-repeat: no-repeat;
    padding-left: 1em;
    background-origin: content-box;
    margin: 0;
}

header a{
    text-decoration: none;
    color: #ffffff;
}

main img{
float: right;
padding-left: 2rem;
}

nav{
    font-weight: bold;
    background-color: #424242;
    position: sticky;
    top: 0;
    grid-row: 2 / 3;
    grid-column: 2 / -2;
}

nav a{
    text-decoration: none;
    color: #ffffff;
    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%;
}

h2{
    color: #424242;
    font-family: georgia, serif;
}

dt{
    color: #003058;
    font-weight: bold;
}

.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)
}

h3{
    color: #003058;
}

main{
    padding-left: 2rem;
    padding-right: 2rem;
    grid-row: 4 / 5;
    grid-column: 2 / -2;
    background-color: #ffffff;
}

#homehero{
    height: 300px;
    background-image: url("images/homehero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row: 3 / 4;
    grid-column: 1 / 9;
}

#studenthero{
    height: 300px;
    background-image: url("images/studenthero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row: 3 / 4;
    grid-column: 1 / 9;
}

#facultyhero{
    height: 300px;
    background-image: url("images/facultyhero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row: 3 / 4;
    grid-column: 1 / 9;
}

#alumnihero{
    height: 300px;
    background-image: url("images/alumnihero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row: 3 / 4;
    grid-column: 1 / 9;
}

#bluebar{
    background-color: #003058;
    grid-row: 1 / 2;
    grid-column: 1 / 9;
}

#greybar{
    background-color: #424242;
    grid-row: 2 / 3;
    grid-column: 1 / 9;
}
form{
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    gap: 0.75rem;
    width: 100%;
}

input, textarea{
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: none;
}

input, text area :focus{
    outline: none;
    background-color: #f0f0f0;
}

label{
    padding: 10px;
    text-align: right;
}

#mySubmit{
    width: 10rem;
    grid-column: 2 / 3;
}
.text{
    text-align: left;
}
table{
    margin: 0 auto;
    border: solid #424242 1px;
    border-collapse: collapse;
}
td, th{
    padding: 5px;
    border: solid #424242 1px;
}
td{
    text-align: center;
}
tr:nth-of-type(2n){
background-color: #f3f3f3;
}
video{
    float: right;
    margin-left: 2em;
}


@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){
    video{
        float: none;
        margin: 0;
        width: 100%;
        height: auto;
    }

    nav{
        grid-row: 2 / 3;
        grid-column: 1 / 5;
        position: static;
    }
    nav ul{
        flex-flow: column nowrap;
    }
    #homehero{
        height: auto;
        background-image: url("images/homehero.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        grid-row: 2 / 3;
        grid-column: 5 / 8;
    }
    
    #studenthero{
        height: auto;
        background-image: url("images/studenthero.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        grid-row: 2 / 3;
        grid-column: 5 / 8;
    }
    
    #facultyhero{
        height: auto;
        background-image: url("images/facultyhero.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        grid-row: 2 / 3;
        grid-column: 5 / 8;
    }
    #alumnihero{
        height: auto;
        background-image: url("images/alumnihero.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        grid-row: 2 / 3;
        grid-column: 5 / 8;
    }
    

    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 / 9;
}

#homehero{
    display: none;
}
#studenthero{
    display: none;
}
#facultyhero{
    display: none;
}
#alumnihero{
    display: none;
}
}

