body {
    background-color:#FFF;
    color:#666666;
    font-family: Verdana, Arial, sans-serif;
    background-attachment: fixed;
    background: linear-gradient(#eeeeee, #ffffff);
    margin: 0px;
    
}

main{
    padding-left: 2rem;
    padding-right: 2rem;
    grid-row-start: 4;
    grid-row-end: 5;
    grid-column-start: 2;
    grid-column-end: 8;
    background-color: #ffffff;
}

header {
    background-color: #003058;
    color: #FFF;
    font-family: Georgia, 'Times New Roman', Times, serif;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: -1;
}

h1 {
    line-height: 140%;
    padding: .5rem;
    background-image: url("utahtechlogo.svg");
    background-position: right;
    background-origin: content-box;
    margin: 0;
    background-repeat: no-repeat;
}

nav {
    font-weight: bold;
    background-color: #424242;
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: -1;
    position: sticky;
    top: 0;
}

nav ul {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
}

nav ul li {
    width: 100%;
}

nav a {
    color: #ffffff;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
}

nav a:hover {
    background-color:#BA1C21 ;
}

h2 {
    color: #424242;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

h3 {
    color: #003058;
}

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-start: 5;
    grid-row-end: 6;
    grid-column-start: 2;
    grid-column-end: 8;
}

#wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);

}

#homehero{
    height: 300px;
    background-image: url("homehero.jpg");
    background-size: cover;
    background-position: center;
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: -1;
}

#studenthero{
    height: 300px;
    background-image: url("studenthero.jpg");
    background-size: cover;
    background-position: center;
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: -1;
}

#facultyhero{
    height: 300px;
    background-image: url("facultyhero.jpg");
    background-size: cover;
    background-position: center;
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: -1;
}

a:link {
    text-decoration: none ;
}

* {
    box-sizing: border-box;
}

header a {
    text-decoration: none;
    color: #FFF
}

main img {
    float: right;
    padding-left: 2rem;
}

#bluebar {
    background-color: #003058;
    grid-row: 1 / 2;
    grid-column: 1 / -1;
}

#greybar {
    background-color: #424242;
    grid-row: 2 / 3;
    grid-column: 1 / -1;
}

@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;
        position: static;
    }

    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) {
    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;
    }

}