* {
	margin:5px;
	box-sizing: border-box;
}
nav > a {
  display: none;
}
nav, footer{
    overflow: hidden;
    margin-bottom: 30px;
}
header img{
    width: 80px;
    float: left;
    margin: auto;
    padding-left: 10px;
    position: fixed;
   
}
nav ul, footer ul {
    list-style: none;
}

nav ul li {
    float: right;
    margin: 10px;
}
nav a{
    text-decoration: none;
    color: #796868;
    font-family: 'Times New Roman', Times, serif;
    text-align: right;
    font-size: 50px;
    
}

nav a:hover {
  color: #aaa3a2;
  border-radius: 25px;
}

hr {
    border: none;
    height: 2px;
    background-color: #796868;
    width: 80%;
    margin: 10px auto;
    margin-top: 50px;
  }


body {
    background-color: rgb(231, 228, 225);
}

main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows:1fr;
  grid-gap: 20px;
  align-items: center;
  margin: 20px;
  
}

main section h2{
  font-size: 40px;
  color:  #605757;
  text-align: left;
  font-optical-sizing: auto;
  font-family: "Cantata One", serif;
  font-weight: 600;
  font-style: normal;
  transition: color 0.4s ease, background-color 0.4s ease, border-radius 0.4s ease;
  display: inline-block;
  border-radius: 10px;
}

main section h2:hover {
  color: #aaa3a2;
  border-radius: 25px;
}

main img {
  grid-column: 2;
  width: 100%;
  max-width: 90%;
}
  
  main section p {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: left;
    color: #6a6767;
    font-size: large;

  }

  main section{
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  article section {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    flex-direction: column; 
    align-items: center;
}

article section img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}


article {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    margin: 10px auto;
    width: 88%;
}


article section h1 {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
    text-transform: uppercase;
    font-family: "Cantata One", serif;
  font-weight: 600;
  font-style: normal;
}


article section p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

article section:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

article section:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

article section:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

#prev, #next {
  display: none;
}

.nood{
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
  margin: 10px auto;
  width: 70%;

}

.nood img{
width: 100%;
border-radius: 10px;
margin-bottom: 10px;
}

.nood img:nth-child(1){
  grid-column: 1/2;
  grid-row: 1/2;
}

.nood img:nth-child(2){
  grid-column: 2/3;
  grid-row: 1/2;
}

.nood img:nth-child(3){
  grid-column: 3/4;
  grid-row: 1/2;
}

.nood img:nth-child(4){
  grid-column: 1/2;
  grid-row: 2/3;
}

.nood img:nth-child(5){
  grid-column: 2/3;
  grid-row: 2/3;
}

.nood img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.boven{
  background-image: url(../afbeeldingen/achtergrond.jpg);
  background-size: cover;
  width: 100%;
  height: 350px;
  padding-top: 50px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.boven section:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.boven section h1{
  font-family: "Cantata One", serif;
  font-weight: 600;
  font-style: normal;
font-size: 32px;
color:  #605757;
text-align: left;
}

.boven section p{
  font-size: 16px;
  margin-bottom: 20px;
  text-align: left;
  color: #6a6767;
  font-size: large;
}

.boven section{

  background-color: #fff9f4;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 40%;
  margin: auto;
  padding: auto;
}

aside #vorige {
display: none;
}

aside #erna {
  display: none;
}

aside {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 10px auto;
  width: 88%;
}

aside img {
  width: 100%;
}

aside img:nth-child(1) {
  grid-column: 1/2;
  grid-row: 1/2;
}

aside img:nth-child(3) {
  grid-column: 3/4;
  grid-row: 1/2;
}

aside h2, aside p {
  grid-column: 2/3;
  grid-row: 1/2;
}

aside p {
  padding-top: 50px;
  font-size: large;
  margin-bottom: 20px;
  text-align: left;
  color:  #605757;
}

aside h2 {
  font-family: "Cantata One", serif;
  font-weight: 600;
  font-style: normal;
  font-size: 46px;
  margin-bottom: 20px;
  text-align: left;
  color:  #605757;
}

aside button {
  padding: 10px 20px;
  font-size: 18px;
  margin: 5px;
  cursor: pointer;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 5px;
}
#zin{
  width: 100%;
  float: left;
  padding: 20px;
}
#zin p{
  color: #706262;
  font-size: medium;
  padding-top: 10px;
}

#zin h2{
  color:  #605757;
  font-family: "Cantata One", serif;
  font-weight: 600;
  font-style: normal;
  font-size: 40px;

}

figure{
  display: grid;
  grid-template-columns: repeat(6, 1fr); 
  gap: 20px;
  margin: 10px auto;
  width: 88%;
}

figure img:nth-child(1){
width: 70%;
padding: 10px;
grid-column: 1/4;
grid-row: 1/3;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

figure img:nth-child(2){
grid-column: 5/7;
grid-row: 1/3;
width: 80%;
padding: 10px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  
}

.midden {
  margin: auto;
  padding: auto;
  width: 40%;
  padding: 20px;
}

.midden h1:hover {
  color: #aaa3a2;
  border-radius: 25px;
}

.midden h1{
  font-family: "Cantata One", serif;
  font-weight: 600;
  font-style: normal;
  margin-bottom: 20px;
  text-align: left;
  color:  #605757;
  font-size: 38px;
}

.midden p{
  font-family: 'Georgia', serif;
  padding-top: 10px;
  font-size: 12px;
  margin-bottom: 20px;
  text-align: left;
  color: #434343;
  font-size: large;
}

.beneden{
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
  margin: 10px auto;
  width: 70%;

}

.beneden img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.beneden img{
width: 100%;
border-radius: 10px;
    margin-bottom: 10px;
}

.beneden img:nth-child(1){
  grid-column: 1/2;
  grid-row: 1/2;
}

.beneden img:nth-child(2){
  grid-column: 2/3;
  grid-row: 1/2;
}

.beneden img:nth-child(3){
  grid-column: 3/4;
  grid-row: 1/2;
}

.beneden img:nth-child(4){
  grid-column: 1/2;
  grid-row: 2/3;
}

.beneden img:nth-child(5){
  grid-column: 2/3;
  grid-row: 2/3;
}

.beneden img:nth-child(6){
  grid-column: 3/4;
  grid-row: 2/3;
}

.beneden img:nth-child(7){
  grid-column: 1/2;
  grid-row: 3/4;
}

.beneden img:nth-child(8){
  grid-column: 2/3;
  grid-row: 3/4;
}

.beneden img:nth-child(9){
  grid-column: 3/4;
  grid-row: 3/4;
}

.beneden img:nth-child(10){
  grid-column: 1/2;
  grid-row: 4/5;
}

footer{
  color: #333;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}
#prev, #next {
  display: none;
}
@media only screen and (max-width: 480px){
  header nav > a:nth-child(1){
   display: block;

       font-size: 30px; 
       margin: 20px 50px 20px 20px;
       background-color: rgb(231, 228, 225);
}
nav ul li{
   width: 100%;
   text-align: right;
}

nav ul.menudicht {
   display: none; 
}

.menudicht{
   display: block;
}

nav a{
  font-size: 30px;
  
}

hr {
 display: none;
}
main {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
}

main section h2{
  font-size: 32px;

}

main img {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 90%;
  padding: auto;
  margin: auto;
}
  
  main section p {
    font-size: 18px;
    font-size: large;

  }

  main section{
    grid-column: 1;
    grid-row: 2;
    width: 100%;
  }

  .nood{
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
  }

  .nood img:nth-child(3){
    display: none;
  }

  .nood img:nth-child(6){
    display: none;
  }

  .nood img:nth-child(2){
    grid-column: 2;
    width: 100%;
  }

  .nood img:nth-child(5){
    grid-column: 2;
  }

  article {
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100vw;
  }

  article section {
    min-width: 95vw;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 20px;
    border-radius: 20px;
    position: relative;
  }

  article button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #d8c3a5;
  background-color: white;
  color: #d8c3a5;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
  position: absolute;
  top: 80%;
}

article button:hover {
  background-color: #c4b7a5;
  color: white;
  border-color: white;
  transform: scale(1.1);
}

article #prev {
  left: 10px;
  top: 300%;
  position: absolute;
  
}

article #next {
  right: 10px;
  top: 300%;
  position: absolute;

}


  #prev, #next {
    display: block;
    position: fixed;
    padding: 10px;
    font-size: 24px;
    z-index: 1000;
    cursor: pointer;
  }

  #prev {
    left: 10px;
  }

  #next {
    right: 10px;
  }

  .boven{
    width: 90%;
    margin: auto;
    padding: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-template-rows: repeat(3, 1fr); 
  }
  
  .boven section h1{
  font-size: 25px;
  }

  .boven section p:nth-child(3){
    display: none;
  }
  
  .boven section p{
    font-size: 16px;
  }
  
  .boven section{
    grid-column: 1/4;
    grid-row: 2;
    width: 80%;
  }



  aside button {
    padding: 10px 20px;
    font-size: 18px;
    margin: 5px;
    cursor: pointer;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  aside {
    display: block;
    text-align: center;
    position: relative;
  }

  aside img, aside section {
    display: none;
  }

  aside img.active, aside section.active {
    display: block;
  }

  aside #vorige {
    top: 70%;
    left: 20px;
    position: absolute;
    display: inline;
  }

aside #erna {
    right: 10px;
    top: 70%;
    position: absolute;
    display: inline;
  }

  aside button {
    width: 60px;
    height: 60px;
    border-radius: 50%; 
    border: 2px solid #d8c3a5;
    background-color: white;
    color: #d8c3a5;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    position: absolute;
  }
  
  aside button:hover {
    background-color: #d8c3a5;
    color: white;
    border-color: white;
    transform: scale(1.1);
  }
aside section{
  background-color: rgb(231, 228, 225);
  width: 60%;
  height: 250px;
  margin: auto;
  padding: auto;
  margin-top: 60px;
}
aside section p{
  display: none;
}


figure img:nth-child(1){
width: 100%;
}

figure img:nth-child(2){
width: 100%;
}

#zin p{
  font-size: 18px;
}

.midden {
  margin: auto;
  padding: auto;
  width: 80%;
  padding: 20px;
}

.midden h1{
  font-size: 40px
}

.midden p{
  font-size: 35;
}

.beneden{
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  grid-template-rows: repeat(4, 1fr); 
  gap: 30px;
  margin: 10px auto;
  width: 70%;

}

.beneden img{
width: 100%;
border-radius: 10px;
margin-bottom: 10px;
}

.beneden img:nth-child(1){
  grid-column: 1/3;
  grid-row: 1;
}

.beneden img:nth-child(2){
  grid-column: 3/5;
  grid-row: 1;
}

.beneden img:nth-child(3){
  grid-column: 1/3;
  grid-row: 2;
}

.beneden img:nth-child(4){
  grid-column: 3/5;
  grid-row: 2;
}

.beneden img:nth-child(5){
  grid-column: 1/3;
  grid-row: 3;
}

.beneden img:nth-child(6){
  grid-column: 3/5;
  grid-row: 3;
}

.beneden img:nth-child(7){
  grid-column: 1/3;
  grid-row: 4;
}

.beneden img:nth-child(8){
  grid-column: 3/5;
  grid-row: 4;
}

.beneden img:nth-child(9){
  display: none;
}

.beneden img:nth-child(10){
  grid-column: 1/2;
  grid-row: 4/5;
}

nav > a {
  display: inline-block;
  font-size: 36px;
  color: #5c4b47;
  padding: 10px 15px;
  text-decoration: none;
  background-color: #f1e7dd;
  border-radius: 8px;
  margin-top: 15px;
  margin-right: 10px;
}

ul#hamburgerklikkentonenniettonen {
  display: none;
  list-style: none;
  padding: 10px;
  margin: 10px;
  background-color: #fff9f4;
  border: 1px solid #c0b0a7;
  border-radius: 10px;
  position: absolute;
  right: 10px;
  top: 70px;
  width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

ul#hamburgerklikkentonenniettonen li {
  margin: 10px 0;
  text-align: center;
}

ul#hamburgerklikkentonenniettonen li a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #5c4b47;
  font-family: 'Times New Roman', Times, serif;
  font-size: 18px;
}

ul#hamburgerklikkentonenniettonen li a:hover {
  background-color: #e2d2c8;
  border-radius: 5px;
}

ul#hamburgerklikkentonenniettonen:not(.menudicht) {
  display: block;
}
}