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

#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; 
    transition:background-color 0.5s;
}

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


h2 { color: #424242;
     font-family: Georgia, serif;
}
h3 { color: #BA1C21; }
dt { color: #BA1C21; 
   font-weight: bold; 
}
.special { 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;
}
table { 
    margin:0 auto;
    border: 1px solid #424242;
    width: 100%; 
    border-collapse: collapse;
}	
td, th { 
  padding: 5px;
  border: 1px solid #424242; 
}

td { text-align: center; }

.text { text-align: left; }

tr:nth-of-type(even){ background-color: #F3F3F3; }

form {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    grid-gap: .75rem;
    width:100%;
}

input, textarea {
    font-size:1rem;
    padding:10px;
    color:#666666;
    background-color:#fafafa;
    border:none;
}

input:focus, textarea:focus {
    outline:none;
    background-color:#f0f0f0;
}

label {
    text-align: right;
    padding:10px;
}

#mySubmit {
    grid-column: 2/3;
    width:10rem;
}
video {
    float: right;
    margin-left: 2em;
    width: 480px;
    height: 270px; ;
}

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

}
#shophero {
    height: 300px;
    background-image: url(shophero.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, #shophero { 
       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;
    }
}
table, tr, td {
    border: 1px solid #333;
}

@media only screen and (max-width: 600px) {
    #homehero, #studenthero, #facultyhero, #shophero { 
       display:none;
    }

    nav {
        grid-area: 2 / 1 / 3 / -1;
    }
    
    header h1 {
        background-image:none;
        text-align: center;
    }
    video {
        float: none;
        margin: 0;
        width: 100%;
        height: auto;
    }
}