body {
    font-family: Franklin Gothic Heavy, sans-serif;
    font-size: 30px;
    margin: 10, 20, 10, 50;
    padding: 0px;
    background: linear-gradient(135deg,#e5d6a9 100%);
    color: rgb(0, 0, 0);
    h1 {
  text-shadow: .3px .3px 4.5px #222222;

}
hr {
  border: 0;
  width: 250%;
  height: .5px;
  background: rgb(0, 0, 0);
  margin-left: -120px;
}


.rectangle {
      width: 600px;        
      height: 320px;
      background-color: #EEDA97; 
      position: absolute;
      top: 300px;
      left: 100px; 
      border: 1.5px solid black;
      border-radius:15px;
      box-shadow:3px 3px 10px; 
    }
.rectangle1{
      width:700px;
      height:80px;
      background-color: #EEDA97;
      position:absolute;
      top:645px;
      left:850px;
      border: 1.5px solid black; 
      border-radius:15px;
      box-shadow: 3px 3px 10px;
    }
    .container {
  display: flex;
  justify-content: center; 
  margin-top: 50px; 
}

.rectangle1 {
  background-color: #EEDA97;
  border: 2px solid #333;
  padding: 20px;
  width: 520px;
  height: 100px;
  display: flex;
  align-items: center;       
  justify-content: center;   
  text-align: center;
}

.centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.naam {
  font-size: 48px;
  font-family: sans-serif;
}
.header-flex {
  display: flex;
  justify-content: flex-start;
  padding-left: 100px;          
  padding-top: 0px;            
}

.header-flex h1 {
  margin: 0;
  font-size: 75px;
}
.rectangle p {
  font-family: Arial, sans-serif; 
  font-size: 25px;              
  line-height:35px;
}
.header-flex {
  display: flex;
  justify-content: space-between; 
  align-items: start;
  padding: 0px 10px 10px 25px;
  background-color: transparent; 
}

.header-flex h1 {
  margin: 10;
  font-size: 60px;
}
.header-flex nav ul {
  list-style: none;
  display: flex;
  gap: 20px; 
  margin: 0 auto;
  padding: 0;
}

.header-flex nav ul li a {
  text-decoration: none;
  font-size: 30px;
  color: black; 
  font-weight: 600;
  transition: color 0.3s ease;
}

.header-flex nav ul li a:hover {
  color: #0009bb; 
  cursor: pointer;
}
/* Aangepaste basis styles */
body {
  font-family: 'Franklin Gothic Book', sans-serif;
  background-color: #f0f8ff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;  /* Was: height: 100vh */
  padding: 20px;      /* Toegevoegd */
}

.header-flex {
  display: flex;
  flex-direction: column;  /* Toegevoegd voor mobiel */
  align-items: center;     /* Toegevoegd */
  margin-bottom: 30px;     /* Toegevoegd */
  text-align: center;      /* Toegevoegd */
}

.header-flex nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;         /* Toegevoegd */
  gap: 15px;               /* Toegevoegd */
  justify-content: center; /* Toegevoegd */
}

.header-flex nav a {
  text-decoration: none;
  color: #333;
  padding: 8px 15px;             /* Toegevoegd */
  background-color: #EEDA97;     /* Toegevoegd */
  border: 2px solid #333;        /* Toegevoegd */
  border-radius: 5px;            /* Toegevoegd */
  transition: background-color 0.3s; /* Toegevoegd */
}

.header-flex nav a:hover {
  background-color: #ffeaa7; /* Toegevoegd */
}

.container {
  display: flex;
  flex-direction: column;
  gap: 30px;            /* Was: 50px */
  margin: 0 auto;       /* Was: margin-left: 81px */
  width: 100%;          /* Toegevoegd */
  max-width: 500px;     /* Toegevoegd */
}

.rectangle, .rectangle1 {
  width: 100%;          /* Was: width: 250px */
  /* ... rest blijft hetzelfde */
}
/* MEDIA QUERIES */

/* Tablets (768px en groter) */
@media screen and (min-width: 768px) {
  body {
    padding: 40px;
  }

  .header-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
  }

  .header-flex h1 {
    font-size: 42px;
    margin-bottom: 0;
    text-align: left;
  }

  .header-flex nav ul {
    gap: 20px;
  }

  .container {
    max-width: 700px;
    gap: 50px;
  }

  .rectangle, .rectangle1 {
    padding: 30px;
  }

  .rectangle p {
    font-size: 18px;
  }

  .naam {
    font-size: 28px;
  }
}

/* Desktop (1024px en groter) */
@media screen and (min-width: 1024px) {
  body {
    padding: 60px;
  }

  .header-flex h1 {
    font-size: 52px;
  }

  .header-flex nav ul {
    gap: 30px;
  }

  .header-flex nav a {
    padding: 10px 20px;
    font-size: 18px;
  }

  .container {
    max-width: 900px;
    margin-left: 81px;
  }

  .rectangle {
    width: 400px;
  }

  .rectangle1 {
    width: 300px;
  }

  .rectangle h1 {
    font-size: 26px;
  }

  .rectangle p {
    font-size: 18px;
  }

  .naam {
    font-size: 32px;
  }
}

/* Grote schermen (1440px en groter) */
@media screen and (min-width: 1440px) {
  .container {
    max-width: 1000px;
  }

  .rectangle {
    width: 450px;
  }
}

/* Kleine mobiele telefoons */
@media screen and (max-width: 480px) {
  .header-flex h1 {
    font-size: 28px;
  }

  .header-flex nav a {
    padding: 6px 12px;
    font-size: 14px;
  }

  .rectangle p {
    font-size: 14px;
  }

  .naam {
    font-size: 20px;
  }
}
}