body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
   
    background-image: url(../afbeeldingen/background2.jpg);
    
    background-size: cover;
    
    
}

/* Stijl voor een eenvoudige en moderne navigatiebalk */
nav {
    background-color: #333;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    grid-column-start: 1;
    grid-column-end: 4;
    
    
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
    
    
  }
  
  nav ul li a:hover {
    color: #1e90ff;
  }
  

  
 
  @media (max-width: 768px) {
    nav {
      flex-direction: column;
      align-items: flex-start;
    }
  
    nav ul {
      flex-direction: column;
      gap: 0.75rem;
      margin-top: 1rem;
    }
  }
  
  li {
    font-size: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }

  section{
    grid-column-start: 1;
    margin: 20px;
    background-image: url(../afbeeldingen/sectionbackground.jpg);
    border-radius: 10px;
    color: black;
    line-height: 1.5;
   
    img:nth-child(1){
        float: left;
        width: 40%;
    }
    img:nth-child(2){
        margin-left: 1%;
        width: 20%;
    }
    img:nth-child(3){
        margin-top: 1%;
        width: 40%;
    }
     }
     

 section h1{
    text-align:center;
    font-size: 30px;
 }
 section p{
    margin: 30px;
    font-family: Arial, Helvetica, sans-serif;
 }


 figure{
    grid-column-start:  3;
    background-color: grey;
    margin: 30px;
    line-height: 1.5;
    border-radius: 10px;
 }

 figure h1 p{
    margin: 30px;
 }
 figure p{
    margin: 20px;
 }

 figure h1{
    font-size: 30px;
    text-align:center;
    
 }

footer{
    background-image: url(../afbeeldingen/sectionbackground.jpg);
    grid-column-end: 4;
    grid-column-start: 1;
    
}
footer p{
    
    text-align:center;
    
}


h2{
    grid-column-start: 2;
    margin: 30px;
    text-align: center;
    color: white;
    font-size: 30px;
    
}