* {
  box-sizing: border-box; 
}

body {
    background:linear-gradient(to bottom, #eeeeee, #ffffff); 
    background-color: #ffffff;
    color:#666666;
    font-family: Verdana, Arial, sans-Serif;
    background-attachment: fixed;
    margin: 0px;
  }
  header {
    background-color: #003058;
    color:#FFFFFF;
    font-family: Georgia,Serif;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 8;
  }
  header h1 {
    background-image: url("utahtechlogo.svg") ;
    background-position: right;
    background-repeat: no-repeat;
    background-origin: content-box;
    padding-left: 1rem;
    margin:0;
    line-height: 140%;
    padding: .5rem;
  }
 header a {
  color: #FFFFFF;
  text-decoration: none;

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

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: small;
    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)

}
#bluebar{
  background-color: #003058;
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 1;
  grid-column-end: 9;

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

}

h3 {
  color: #003058;
}
main {
  padding-left: 2rem;
  padding-right: 2rem;
  grid-row-start: 4;
  grid-row-end:5;
  grid-column-start: 2;
  grid-column-end:8;
  background: #ffffff;
}
main img {
  float: right;
  padding-left: 2rem;
}
#homehero {
  background-image: url("homehero.jpg");
  height: 300px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  grid-row-start: 3;
  grid-row-end:4;
  grid-column-start: 2;
  grid-column-end:8;
}
#studenthero {
  background-image: url("studenthero.jpg");
  height: 300px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  grid-row-start: 3;
  grid-row-end:4;
  grid-column-start: 2;
  grid-column-end:8;
}
#facultyhero {
  background-image: url("facultyhero.jpg");
  height: 300px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  grid-row-start: 3;
  grid-row-end:4;
  grid-column-start: 2;
  grid-column-end:8;
}
nav a { 
  text-decoration: none; 
  color: #FFFFFF;
  padding: 1rem 0rem;
  display:block;
  text-align: center
}
nav a:hover {
  background-color: #BA1C21;
}
@media only screen and (max-width: 1100px){
  #wrapper{
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 150px)) minmax(0px, 1fr)
  
  }
}

@media only screen and (max-width: 900px){
  nav {
    position:static;
    top:0;
    font-weight: bold;
    background-color: #424242;
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 5;
  }
  nav ul {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-flow: column nowrap;
    list-style-type: none;
  }
  #homehero {
    background-image: url("homehero.jpg");
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row-start: 2;
    grid-row-end:3;
    grid-column-start: 5;
    grid-column-end:8;
  }
  #studenthero {
    background-image: url("studenthero.jpg");
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row-start: 2;
    grid-row-end:3;
    grid-column-start: 5;
    grid-column-end:8;
  }
  #facultyhero {
    background-image: url("facultyhero.jpg");
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row-start: 2;
    grid-row-end:3;
    grid-column-start: 5;
    grid-column-end: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 {
    position:static;
    top:0;
    font-weight: bold;
    background-color: #424242;
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 9;
  }
  #homehero {
    display:none;
  }
  #studenthero {
    display: none;
  }
  #facultyhero {
    display:none;
  }

}
