body {
  display: grid;
  grid-template-columns: 3/5 3/5 3/5;
  grid-template-rows: 2/5 2/5 2/5 2/5 2/5 2/5 2/5;
  background-color: rgb(180, 193, 208);
}
p{
  line-height: 22px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
h1{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
h2{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
h3{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
nav {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 2;
  position: relative;
  background-color: rgb(17, 10, 59);
  padding: 3%;
}

nav ul {
  position: absolute;
  top: 5%;
  transform: translateX(-5%);
  left: 48%;
  transform: translateX(-48%);
  list-style: none;
  padding: 10px;
}

nav li {
  float: left;
  padding: 10px 10px;
  line-height: 20px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

nav li:nth-child(4) {
  margin-top: 0%;
  font-size: 40px;
  transition: transform 0.3s ease, color 0.3s ease;
}

nav li:hover {
  transform: scale(1.1);
  background-color: #000000;
  border-radius: 10px;
}

a {
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-decoration: none;
  color: rgb(255, 255, 255);
}

#menu {
  display: none;
}

h1 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 2;
  grid-row-end: 3;
  margin-top: 3%;
  margin-bottom: 3%;
  font-size: 50px;
  text-align: center;
}

header {
  position: relative;
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 3;
  grid-row-end: 4;
  width: 100%;
  height: 800px;
  background-image: url(../afbeeldingen/ingang.png);
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  h1 {
    position: absolute;
    left: 56%;
    transform: translateX(-56%);
    top: 65%;
    transform: translateX(-65%);
    margin-bottom: 3%;
    font-size: 50px;
    text-align: center;
  }

  button {
    position: absolute;
    top: 84%;
    transform: translateX(-84%);
    left: 50%;
    transform: translateX(-50%);
    margin: auto;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 5%;
    padding-right: 5%;
    border-color: rgb(91, 140, 137);
    border-radius: 15px;
    background-color: rgb(91, 140, 137);
    align-items: center;
    font-family: "Sitka Small";
  }
}

#welkom {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 4;
  grid-row-end: 5;
  margin-top: 5%;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 3%;
  padding: 2%;
  border-radius: 15px;
  background-color: rgb(75, 106, 130);
  color: white;

  h2 {
    font-size: 35px;
    text-align: center;
    margin-bottom: 2%;
  }

  h3 {
    font-size: 25px;
    text-align: center;
    margin-bottom: 2%;
  }

  p {
    font-size: 16px;
    text-align: center;
  }
}

#glitch {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 5;
  grid-row-end: 7;
  border-radius: 15px;
  margin-bottom: 3%;
  margin-left: 5%;
  margin-right: 5%;
  background-color: rgb(188, 150, 121);
  padding: 2%;
  width: 80%;

  h2 {
    line-height: 40px;
    font-size: 30px;
    text-align: left;
    color: rgb(0, 0, 0);
    margin-bottom: 3%;
  }

  p {
    margin-bottom: 4%;
    color: rgb(0, 0, 0);
  }
}

#afbeeldingMenu {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 5;
  grid-row-end: 6;
  margin-right: 5%;
  margin-top: 0%;
  bottom: 3%;

  img {
    width: 101%;
    border-radius: 15px;
    padding: 2%;
    background-color: rgb(89, 109, 125);
  }
}

article{
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 5;
  grid-row-end: 6;
  margin-left: 5%;
  margin-right: 5%;
  padding: 2%;
  border-radius: 15px;
  background-color: rgb(75, 106, 130);
  width: 90%;
  color: white;

  h2 {
    line-height: 35px;
    font-size: 35px;
    text-align: left;
  }

  p {
    margin-top: 3%;
    font-size: 16px;
    text-align: left;
  }

}

section {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 6;
  grid-row-end: 7;
  margin-right: 5%;
  margin-top: 5%;
  margin-bottom: 3%;
  padding: 2%;
  border-radius: 15px;
  color: white;
  background-color: rgb(75, 106, 130);
  width: 95%;
  height: 93%;

  h2 {
    line-height: 40px;
    font-size: 35px;
    text-align: left;
    margin-bottom: 3%;
  }

  p {
    margin-bottom: 3%;
    font-size: 16px;
    text-align: left;
  }
}

#robot {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 6;
  grid-row-end: 7;
  margin-top: 4.3%; 
  margin-bottom: 3%;
  margin-left: 5%;
  margin-right: 5%;

  img {
    width: 100%;
    border-radius: 15px;
    padding: 2%;
    background-color: rgb(89, 109, 125);
  }
}

footer {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 7;
  grid-row-end: 8;
  padding: 4%;
  background-color: rgb(17, 10, 59);
  h2 {
    font-size: 35px;
    text-align: center;
    color: rgb(255, 255, 255);
    margin-bottom: 1.5%;
  }

  p {
    font-size: 16px;
    text-align: center;
    color: rgb(255, 255, 255);
  }
}

@media only screen and (max-width: 480px) {
  body {
    display: grid;
    grid-template-columns: 3/5 3/5;
    grid-template-rows: 2/5 2/5 2/5 2/5 2/5 2/5 2/5 2/5 2/5;
    background-color: rgb(180, 193, 208);
  }

  nav a {
    display: block;
    font-size: 20px;
    color: rgb(255, 255, 255);
    margin-bottom: 10px;
  }

  #menu {
    display: block;
    font-size: 30px;
    margin: 20px 50px 20px 20px;
    text-decoration-line: none;
  }

  nav {
    grid-column-start: 1;
    grid-column-end: 6;
    grid-row-start: 1;
    grid-row-end: 2;
    width: 94%;
    padding-top: 0%;
  }

  li:nth-child(1) {
    margin-top: 3%;
  }

  nav ul li {
    width: 90%;
    text-align: left;
    margin-left: 10px;
    padding: 3%;
  }


  nav ul {
    display: block;
    position: inherit;
    top: 0%;
    left: 0%;
    transform: translateX(0%);
    list-style: none;
    padding: 0 15px;
  }

  .menudicht {
    display: none;
  }
  h1 {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    margin-top: 3%;
    margin-bottom: 3%;
    font-size: 50px;
    text-align: center;
  }

  header {
    position: relative;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
    width: 100%;
    height: 400px;
    background-image: url(../afbeeldingen/ingang.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    color: white;

    h1 {
      position: absolute;
      top: 57%;
      transform: translateX(-57%);
      left: 55%;
      transform: translateX(-55%);
      margin-bottom: 3%;
      font-size: 35px;
      text-align: center;
    }

    button {
      position: absolute;
      top: 87%;
      transform: translateX(-87%);
      left: 52%;
      transform: translateX(-52%);
      padding-top: 1%;
      padding-bottom: 1%;
      padding-left: 5%;
      padding-right: 5%;
      border-color: rgb(91, 140, 137);
      border-radius: 15px;
      background-color: rgb(91, 140, 137);
      align-items: center;
    }
  }

  #welkom {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 5;
    margin-top: 5%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 3%;
    padding: 2%;
    border-radius: 15px;
    background-color: rgb(75, 106, 130);
    color: white;

    h2 {
      font-size: 35px;
      text-align: center;
      margin-bottom: 2%;
    }

    h3 {
      font-size: 25px;
      text-align: center;
      margin-bottom: 2%;
    }

    p {
      font-size: 16px;
      text-align: center;
    }
  }
  span{
    display: none;
  }
  #glitch {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 5;
    grid-row-end: 7;
    border-radius: 15px;
    margin-top: 1%;
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 3%;
    background-color: rgb(188, 150, 121);
    padding: 3%;
    width: 94%;
    height: 98.4%;
    h2 {
      line-height: 28px;
      font-size: 25px;
      text-align: left;
      color: rgb(0, 0, 0);
      margin-bottom: 3%;
    }
    p {
      font-size: 15px;
      margin-bottom: 4%;
      color: rgb(0, 0, 0);
      line-height: 21px;
    }
  }

  #afbeeldingMenu {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 5;
    grid-row-end: 6;
    margin-right: 1%;
    margin-left: 5%;
    img {
      width: 96%;
      border-radius: 15px;
      padding: 2%;
      background-color: rgb(89, 109, 125);
    }
  }

  article {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 6;
    grid-row-end: 7;
    margin-top: 1%;
    margin-left: 5%;
    margin-right: 1%;
    padding: 2%;
    border-radius: 15px;
    background-color: rgb(75, 106, 130);
    width: 90%;
    height: 98%;
    color: white;
    h2 {
      line-height: 28px;
      font-size: 25px;
      text-align: left;
    }

    p {
      margin-top: 3%;
      font-size: 16px;
      text-align: left;
    }

  }

  section {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 7;
    grid-row-end: 8;
    margin-left: 1%;
    margin-right: 1%;
    margin-top: 5%;
    margin-bottom: 3%;
    padding: 2%;
    border-radius: 15px;
    color: white;
    background-color: rgb(75, 106, 130);
    width: 94%;
    height: 94%;

    h2 {
      line-height: 40px;
      font-size: 35px;
      text-align: left;
      margin-bottom: 3%;
    }

    p {
      margin-bottom: 3%;
      font-size: 16px;
      text-align: left;
    }
  }

  #robot {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 8;
    grid-row-end: 9;
    margin-top: 5%;
    margin-bottom: 3%;
    margin-left: 1%;
    margin-right: 1%;

    img {
      width: 96%;
      border-radius: 15px;
      padding: 2%;
      background-color: rgb(89, 109, 125);
    }
  }

  footer {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 9;
    grid-row-end: 10;
    padding: 4%;
    background-color: rgb(17, 10, 59);

    h2 {
      font-size: 35px;
      text-align: center;
      color: rgb(255, 255, 255);
      margin-bottom: 3%;
    }

    p {
      font-size: 16px;
      text-align: center;
      color: rgb(255, 255, 255);
    }
  }
}