
* {
    box-sizing: border-box;
}

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

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

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

header h1 a{
    text-decoration: none;
    color: #ffffff;
}
nav {
    font-weight: bold;
    background-color: #424242;
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    position: sticky;
    top: 0;
}

nav a { 
    text-decoration: none; 
    color: #ffffff;
    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, 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;
}

main img {
    float:right;
    padding-left: 2rem;
}
#homehero {
    background-image: url("utahtechimages/homehero.jpg");
    background-size: cover; 
    background-position: center;
    height: 300px;
    grid-row: 3 / 4;
    /*was 2/-2 changed*/
    grid-column: 1 / -1;
}

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

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

/*Task 3.1*/
#bluebar{
    background-color: #003058;
    grid-row: 1 / 2;
    grid-column: 1 / -1;
}
/*Task 3.2*/
#greybar{
    background-color: #424242;
    grid-row: 2 / 3;
    grid-column: 1/-1;
}
/*Task 4.2*/
@media only screen and (max-width: 1100px){
    #wrapper {
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0,150px)) minmax(0px, 1fr);
    }
}
/*Task 5.1 Medium screens*/
@media only screen and (max-width: 900px){
/*Task 5.2*/
    nav {
        grid-row: 2 / 3;
        grid-column: 1 / 5;
        position: static;
    }
/*Task 5.3*/
    nav ul {
        flex-flow: column nowrap;
    }
/*Task 5.4*/
    #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;
    }
/*Task 5.5 - I don't understand why this works.  What is "section" */
    section {
        float: none;
        width: 100%;
        padding-right: 0px;
    }
}
/*Task 6.1*/
@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;
    }
}