* { box-sizing: border-box; }
header, nav, main, footer { display: block; }
body { background-color: #EEEEEE;
      color: #666666;
    font-family: Verdana, Arial, sans-serif;
    background-image: linear-gradient(to bottom, #eeeeee, #FFFFFF);
    background-attachment: fixed;
      margin:0;
}

video {
    float:right;
    margin-left: 2em;
}

form{
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    grid-column: 2;
    gap: 0.75rem;
    width: 100%;
}

form input{
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: 0;
}
form input:focus{
    outline: none;
    background-color: #f0f0f0;
}

label{
    padding: 10px;
    text-align: right;
}

#mySubmit {
    width: 10rem;
    grid-column: 2;
}

#wrapper {
      display: grid;
      grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
      grid-auto-rows: minmax(0px, auto);
}

#redbar {
    background-color: #BA1C21;
    grid-area: 1 / 1 / 2 / 9;
}

#greybar {
    background-color: #424242;
    grid-area: 2 / 1 / 3 / -1;
}

header { background-color: #BA1C21;
    color: #FFFFFF;
    font-family: Georgia, serif;
    grid-area: 1 / 2 / 2 / -2;
}

header a {
    text-decoration: none;
    color:#fff;
}

header h1 {
    line-height: 240%;
    background-image: url(dsu.jpg);
    background-repeat: no-repeat;
    background-position: right;
    padding-left: 1em;
    height: 72px;
    margin: 0;
    padding-left: .5rem;
}

nav { 
    font-weight: bold;
    padding: 0;
    position:sticky;
    top:0;
    background-color: #424242;
    grid-area: 2 / 2 / 3 / -2;
}
nav ul {
    list-style-type: none;
    padding:0;
    margin:0;
    display:flex;
    flex-flow:row nowrap;
}

nav li {
    width:100%;
}

nav a {
    text-decoration: none;
    display:block;
    padding:1em 0;
    color: #FFFFFF;
    text-align:center;
}

nav a:hover {background-color:#BA1C21;}


h2 { color: #424242;
     font-family: Georgia, serif;
}
h3 { color: #BA1C21; }
dt { color: #BA1C21;
   font-weight: bold;
}
.resort { color: #BA1C21;
          font-size: 1.2em;
}
footer { font-size: .70em;
         font-style: italic;
text-align: center;
padding: 1em;
background-color: #FFFFFF;
grid-area: 5 / 2 / 6 / -2;
}
main { padding-left: 2em;
      padding-right: 2em;
      padding-top:1px;
      padding-bottom:1px;
 background-color: #FFFFFF;
 grid-area: 4 / 2 / 5 / -2;
 display: block;
}

section {
    float:left;
    width:33%;
    padding-right:1em;
}

.clear {
    clear:both;
}

#homehero { height: 300px;
           background-image: url(homehero.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
           grid-area: 3 / 1 / 4 / -1;

}
#studenthero { height: 300px;
           background-image: url(studenthero.jpg);
  background-size: cover;
  background-repeat: no-repeat;
           background-position: center;
  grid-area: 3 / 1 / 4 / -1;

}
#facultyhero {
           height: 300px;
           background-image: url(facultyhero.jpg);
  background-size: cover;
  background-repeat: no-repeat;
           background-position: center;
  grid-area: 3 / 1 / 4 / -1;

}

#alumnihero {
    height: 300px;
    background-image: url(alumnihero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-area: 3 / 1 / 4 / -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 ul {
      flex-flow:column nowrap;
    }
   
    #homehero, #studenthero, #facultyhero {
       grid-area: 2 / 5 / 3 / 8;
       height: auto;
    }

    nav {
        grid-area: 2 / 1 / 3 / 5;
    }
   
    section {
        float:none;
        width:100%;
        padding-right:0px;
    }
    video {
        float: none;
        margin: 0;
        width: 100%;
        height: auto;
    }
}

@media only screen and (max-width: 600px) {
    #homehero, #studenthero, #facultyhero {
       display:none;
    }

    nav {
        grid-area: 2 / 1 / 3 / -1;
    }
   
    header h1 {
        background-image:none;
        text-align: center;
    }
}