body {
  width: 95%;
  margin-left: 2.5%;
  text-align: left;
  font-family: 'Nunito';
  font-weight: bold;
  font-size: 100%;
  line-height: 100%;
  background-image: url(Achtergrond.jpg);
  background-size: cover;
  background-attachment: fixed;
}

h1 {
  font-size: 5em;
  line-height: 1em;
  padding-top: 1%;
}

h2 {
  font-size: 1.75em;
  line-height: 1em;
  padding-top: 1%;
}

h3 {
  font-size: 1.5em;
  line-height: 1em;
  padding-top: 1%;
}

p{
  font-size: 1em;
  line-height: 1em;
  padding-top: 1%;
}

header {
  padding: 1%;
  padding-bottom: 0%;
  padding-left: 0%;
  width: 80%;
}

main{
  padding: 1%;
  padding-bottom: 0%;
  padding-top:0%;
  padding-left: 0%;
  width: 80%;
}

footer {
  padding: 1%;
  padding-top: 0%;
  padding-left: 0%;
  width: 80%;
}

nav {
  right: 0%;
  top: 0%;
  position: fixed;
  width: 15%;
  height: 100%;
  padding: 2.5%;
  background: linear-gradient(to right, springgreen 0%, mediumspringgreen 50%, springgreen 100%);
}

a {
  display: block;
  text-align: center;
  line-height: 4em;
  font-size: 2em;
  margin-top: 2.5%;
  text-decoration: none;
  color: royalblue;
}

a:hover {
  color: crimson;
}

.onderverdeling a{
  line-height: 2em;
  font-size: 1em;
  text-decoration: none;
  color: dodgerblue;
}
.onderverdeling a:hover {
  color: deeppink;
}

.onderverdeling {
  margin-top: -12.5%;
}

.inhoud table {
  border: 1px solid black;
  width: auto;
}

.inhoud th {
  border: 1px solid black;
  width: auto;
}

.inhoud td {
  border-left: 1px solid black;
  width: auto;
}

table {
  text-align: left;
  margin-top: 1%;
  margin-bottom: 2.5%;
  vertical-align: top;
}

th {
  font-size: 1.25em;
  line-height: 1em;
  padding-right: 0.5%;
  padding-top: 0.5%;
  vertical-align: top;
}

td {
  width: 10%;
  font-size: 1em;
  line-height: 1em;
  padding-right: 0.5%;
  padding-top: 0.5%;
  vertical-align: top;
}

.insturen p {
  margin-bottom: 1%;
}

label  {
  display: block;
  font-size: 1em;
  line-height: 1em;
  margin-top: 1%;
}

input {
  border-radius: 5px;
  width: 30%;
  margin-top: 0.5%;
  padding-top: 0.5%;
  padding-bottom: 0.5%;
}

.gedicht {
  padding-top: 20%;
}

.opmerkingen {
  padding-top: 10%;
}

.facebook {
  display: inline;
}

.twitter {
  display: inline;
}

.instagram {
  display: inline;
}

.pinterest {
  display: inline;
}

@media (max-width: 1100px){
  h1 {
    font-size: 4em;
  }
}

@media (max-width: 1000px){
  th {
    font-size: 1.125em;
    line-height: 1em;
    padding-right: 0.5%;
    padding-top: 0.5%;
  }
  td {
    width: 10%;
    font-size: 0.875em;
    line-height: 1em;
    padding-right: 0.5%;
    padding-top: 0.5%;
  }
  a {
    font-size: 1.5em;
  }
  div a {
    font-size: 0.75em;
  }
  p {
    font-size: 0.875em;
    line-height: 1em;
  }
  h1 {
    font-size: 3em;
  }
}

@media (max-width: 800px){
  th {
    font-size: 1em;
  }
  td {
    font-size: 0.75em;
  }
  p {
    font-size: 0.75em;
  }
}

@media (max-width: 670px){
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.25em;
  }
  h3 {
    font-size: 1em;
  }
}

@media (max-width: 600px){
  nav {
    display: none;
  }
  th {
    font-size: 0.875em;
  }
  td {
    font-size: 0.625em;
  }
  header, main, footer {
    width: 100%;
  }
  p {
    font-size: 0.625em;
  }
}

@media (max-width: 400px){
  th {
    font-size: 0.75em;
  }
  td {
    font-size: 0.5em;
  }
  p {
    font-size: 0.5em;
  }
}

@media (max-height: 625px){
  a {
    font-size: 1.5em;
    line-height: 3em;
    margin-top: 4%;
  }
  div a {
    font-size: 0.75em;
    line-height: 1.5em;
  }
}

@media (max-height: 525px){
  a {
    font-size: 1.5em;
    line-height: 2.5em;
    margin-top: 5%;
  }
  div a {
    font-size: 0.75em;
    line-height: 1.25em;
  }
}

@media (max-height: 450px){
  a {
    font-size: 1.5em;
    line-height: 2em;
    margin-top: 6%;
  }
  div a {
    font-size: 0.75em;
    line-height: 1em;
  }
}

@media (max-height: 300px){
  a {
    font-size: 1.5em;
    line-height: 1.5em;
    margin-top: 7%;
  }
  div a {
    font-size: 0.75em;
    line-height: 0.75em;
  }
}

@media (max-height: 200px){
  a {
    font-size: 1.75em;
    margin-top: 1%;
  }
  div a {
    font-size: 0.875em;
  }
}
