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

header {
    background-color: #003058;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #ffffff;
    grid-area: 1 / 2 / 2 / 8;
}

header a {
    background-image: url(utahtechlogo.svg);
    text-decoration: none;
    color:#ffffff
}

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

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

h3 {
    color: #003058;
}

main {
    padding-left: 2rem;
    padding-right: 2rem;
    grid-area: 4 / 2 / 5 / 8;
    background-color: #ffffff;
}

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


nav {
    font-weight: bold;
    background-color:#424242;
    position:sticky;
    top: 0;
    grid-area: 2 / 2 / 3 / 8;
}

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

nav ul li {
    width: 100%;
}

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

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


footer {
    font-size:.70rem;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    grid-area: 5 / 2 / 6 / 8;
}


dt {
    font-weight: bold;
    color: #003058;
}

.ut {
    font-weight: bold;
    color: #ba1c21;
}


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

#bluebar {
    background-color: #003058;
    grid-area: 1 / 1 / 2 / 9;
}

#greybar {
    background-color: #424242;
    grid-area: 2 / 1 / 3 / 9;
}

#homehero {
    height: 300px;
    background-image: url(homehero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    grid-area: 3 / 1 / 4 / 9;
}

#studenthero {
    height: 300px;
    background-image: url(studenthero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    grid-area: 3 / 1 / 4 / 9;
}

#facultyhero {
    height: 300px;
    background-image: url(facultyhero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    grid-area: 3 / 1 / 4 / 9;
}


* {
    box-sizing: border-box;
}


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

@media only screen and (max-width: 900px) {
    nav {
        grid-area: 2 / 1 / 3 / 5;
        position: static;
    }

    nav ul {
        flex-flow: column nowrap;
    }

    #homehero {
        height: auto;
        background-image: url(homehero.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        grid-area: 2 / 5 / 3 / 8;
    }
    
    #studenthero {
        height: auto;
        background-image: url(studenthero.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        grid-area: 2 / 5 / 3 / 8;
    }
    
    #facultyhero {
        height: auto;
        background-image: url(facultyhero.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        grid-area: 2 / 5 / 3 / 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-area: 2 / 1 / 3 / 9;
    }

    #homehero {
        height: auto;
        background-image: url(homehero.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        grid-area: 2 / 5 / 3 / 8;
        display: none;
    }
    
    #studenthero {
        height: auto;
        background-image: url(studenthero.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        grid-area: 2 / 5 / 3 / 8;
        display: none;
    }
    
    #facultyhero {
        height: auto;
        background-image: url(facultyhero.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        grid-area: 2 / 5 / 3 / 8;
        display: none;
    }
}