* {
  box-sizing: border-box;
}
body {
  background-color: #F7EBD4;
  color: #0A3409;
  font-family: Georgia, Arial;

}
/* Header styles */
header {
  background-color: #0A3409;
  color: #9A0794;
  text-align: center;
}

header a {
text-decoration: none;
color:  #FBA90A;
}
header a:link {
color: #FBA90A;
}
header a:visited {
color:  #FBA90A;
}
header a:hover {
color: #A3009E;
}

#wrapper {
margin: auto;
background-color: #F7EBD4;
border: 1px solid #0A3409;
}
/* Navigation styles */
nav {
  font-weight: bold;
  font-size: 120%;
  padding: 0;
  background-color: #559E54;
  
}

nav li {
border-bottom: 1px solid #0A3409;
text-align: center;
}
 
nav a {
  text-decoration: none;
  transition: color 1s ease-out;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
  font-size: 1.2em;
}

nav a:link {
color: #FBA90A;
}
nav a:visited {
color: #EAA51A;
}
nav a:hover {
color: #9A0794;
}

main {
  padding: 1px 20px 20px 30px;
  display: block;
  background-color: #F7EBD4;
  overflow: auto;
}

h1 {
  margin-bottom: 0;
  margin-top: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  font-family: Georgia, arial;
  letter-spacing: 0.25em;
}

h2 {
  color: #9A0794;
  font-family: Georgia, arial;
  text-shadow: 1px 1px 1px #CCCCCC;
}

h3 {
  color: #0A3409;
  font-family:Georgia, arial;
}

video, embed {
  float: right;
  padding-left: 20px;
}

form {
  display: flex;
  flex-flow: column nowrap;
}

input {
  margin-bottom: .5em;
}

textarea {
  margin-bottom: .5em;
}
/* Table styles */
table {
 border: 2px #0A3409 solid; 
border-collapse: collapse;
}
th {
  color: #020D02;
  padding: 0.5em;
  border: 2px #0A3409 solid;
}
td {
  color: #0A3409;
  padding: 0.5em;
  border: 2px #0A3409 solid;
  text-align: center;
}
.text {
  text-align: left;
}

tr:nth-of-type(odd) {
  background-color: #8EC38D;
}

#footer {
  font-size: 75%;
  font-style: italic;
  text-align: center;
  font-family: Georgia, arial;
  padding: 2em;
  background-color: #0A3409;
  color:  #F7EBD4;
  }


#contact {
font-size: 90%;
}


#homehero {
  height: 300px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url(yellowstone-park-river.jpg);
}
#historyhero {
  height: 300px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url(map-historic.jpg);
}
#characteristicshero{
  height: 300px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url(grey-wolf-head.jpg);
}

#extinctionhero {
  height: 300px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url(wolf-wars.jpg);
}
  
#aftereffectshero {
  height: 300px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url(map-1960.jpg);
}
#reintroductionhero {
  height: 300px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url(wolf-kill-scavengers.jpg);
}
#currenthero {
  height: 300px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url(yellowstone-bison.jpg);
}
/*above is mobile*/
/* Responsive styles */
@media (min-width: 600px) {
  /* Medium layout styles */
  nav ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
  }

  nav li {
    border-bottom: none;
  }

  section {
    padding-left: 2em;
    padding-right: 2em;
  }

  form {
    display: grid;
    grid-template-columns: 6em 1fr;
    grid-template-rows: auto;
    grid-gap: 1em;
    width: 50%;
  }

  #submit {
    grid-column: 2/3;
    width: 8em;
  }

  .content main {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
  }

  h2 {
    grid-row: 1/2;
    grid-column: 1/5;
  }

  section {
    grid-row: 2/3;
    grid-column: auto;
  }

  #special {
    grid-row: auto;
    grid-column: 1/5;
  }

  footer {
    grid-row: auto;
    grid-column: 1/5;
  }
}
/* end medium*/
/* start large display*/
@media (min-width: 1024px) {
  /* Large display styles */
  nav ul {
    display: flex;
    padding-top: 1em;
    flex-flow: column;
  }

  nav {
    text-align: left;
    padding-left: 1em;
  }

  #wrapper {
    margin: auto;
    width: 80%;
    border: 1px solid #0A3409;
    box-shadow: 1px 1px #000033;
    display: grid;
    grid-template-columns: 180px auto;
    grid-template-rows: auto;
  }

  header {
    grid-row: 1/2;
    grid-column: 1/3;
  }

  nav {
    grid-row: 2/5;
    grid-column: 1/2;
  }

  div {
    grid-row: 2/3;
    grid-column: 2/3; 
  }

  main {
    grid-row: 3/4;
    grid-column: 2/3;
  }

  footer {
    grid-row: 4/5;
    grid-column: 2/3;
  }
}