* {
  box-sizing: border-box;
}

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

header {
  background-color: #BA1C21;
  color: #FFFFFF;
  font-family: Georgia, serif;
  grid-area: 1 / 2 / 2 / -2;
}

header h1 {
  padding-left: 0.5rem;
  margin: 0;
}

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

main {
  background-color: #ffffff;
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 2em;
  padding-right: 2em;
  display: block;
  grid-area: 4 / 2 / 5 / -2;
}

h1 {
  line-height: 240%;
  background-image: url('dsu.jpg');
  background-position: right;
  background-repeat: no-repeat;
  padding-left: 1em;
  height: 72px;
  margin-bottom: 0;
}

nav {
  background-color: #424242;
  font-weight: bold;
  position: sticky;
  top: 0px;
  grid-area: 2 / 2 / 3 / -2;
}

nav a {
  text-decoration: none;
  text-align: center;
  color: #FFFFFF;
  padding: 1rem 0rem;
  display: block;
  transition: background-color 0.5s ease;
}

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

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: row nowrap;
}

nav ul li {
  width: 100%;
}

section {
  float: left;
  width: 33%;
  padding-right: 1rem;
}

h2 {
  color: #424242;
  font-family: Georgia, serif;
}

h3 {
  color: #BA1C21;
}

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

.dsu {
  color: #BA1C21;
  font-size: 1.2em;
}

.clear {
  clear: both;
}

footer {
  font-size: .70em;
  font-style: italic;
  text-align: center;
  padding: 1em;
  background-color: #FFFFFF;
  grid-area: 5 / 2 / 6 / -2;
}

#wrapper {
  display: grid;
  grid-auto-rows: minmax(0px, auto);
  grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

#redbar {
  background-color: #BA1C21;
  grid-area: 1 / 1 / 2 / -1;
}

#greybar {
  background-color: #424242;
  grid-area: 2 / 1 / 3 / -1;
}

#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;
}
table, th, td {
  border : 1px solid #424242;
  border-collapse: collapse;
  padding: 5px;
  border-color: 1px, #424242;
}
table {
    margin: 0 auto;
    width : 100%;
}
td {
  text-align: center;
}
.text {
  text-align: left;
}
tr:nth-of-type(even) {
  background-color: #F3F3F3;
}

@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) {
  video {
    float: none;
    margin: 0;
    width: 100%;
    height: auto;
  }
  nav {
    grid-area: 2 / 1 / 3 / 5;
  }

  nav ul {
      flex-flow: column nowrap;
  }

  section {
    float: none;
    width: 100%;
    padding-right: 0;
  }

  #homehero {
    grid-area: 2 / 5 / 3 / 8;
    height: auto;
  }

  #studenthero {
    grid-area: 2 / 5 / 3 / 8;
    height: auto;
  }

  #facultyhero {
    grid-area: 2 / 5 / 3 / 8;
    height: auto;
  }
}

@media only screen and (max-width: 600px) {
  header h1 {
    background-image: none;
    text-align: center;
  }

  nav {
    grid-area: 2 / 1 / 3 / -1;
  }

  #homehero {
    display: none;
  }

  #studenthero {
    display: none;
  }

  #facultyhero {
    display: none;
  }
}
form {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 200px 1fr;
  gap: 0.75rem;
  width: 100%;
}
input, textarea {
  font-size: 1rem;
  padding: 10px;
  color: #666666;
  background-color:#fafafa;
  border: none;
}
textarea:focus {
  outline: none;
  background-color:#f0f0f0;
}
input:focus{
  outline: none;
  background-color:#f0f0f0;
}
label{
  padding: 10px;
  text-align: right;
}
#mySubmit {
  width: 10rem;
  grid-column: 2/3;
}
#alumnihero {
  height: 300px;
  background-image: url(alumnihero.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  grid-area: 3 / 1 / 4 / -1;
}
video {
  float: right;
  margin-left: 2em;
}
