* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #EEE, #FFF);
    background-attachment: fixed;
    color: #666666;
    font-family: Verdana;
    margin: 0px;
}

#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;
}

header {
    background-color: #003058;
    color: #ffffff;
    font-family: Georgia;
    grid-row: 1 / 2;
    grid-column: 2 / -2;
}

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

header h1 {
    line-height: 140%;
    padding: 0.5rem;

    background-image: url('images/utahtechlogo.svg');
    background-position: right;
    background-repeat: no-repeat;
    padding-left: 1em;
    background-origin: content-box;
    margin: 0;
}


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: #fff;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
}

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

h3 {
    color: #003058
}

main {
    padding: 0 2rem;
    background-color: #fff;
    grid-row: 4 / 5;
    grid-column: 2 / -2;
}

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

#homehero,
#studenthero,
#facultyhero {
    grid-row: 3 / 4;
    grid-column: 1 / 9;
}

#homehero {
    height: 300px;
    background-image: url('images/homehero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#studenthero {
    height: 300px;
    background-image: url('images/studenthero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#facultyhero {
    height: 300px;
    background-image: url('images/facultyhero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

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

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

footer {
    font-size: .7rem;
    text-align: center;
    font-style: italic;
    padding: 1rem;
    grid-row: 5 / 6;
    grid-column: 2 / -2;

}

@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 {
        position: static;
        grid-row: 2 / 3;
        grid-column: 1 / 5;
    }
    
    nav ul {
        flex-flow: column nowrap;
    }

    #homehero,
    #studenthero,
    #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,
    #studenthero,
    #facultyhero {
        display: none;
    }

}