/* Algemene style */
* {
  box-sizing: border-box;
  margin: 0;
}

body {
  
  background-color: rgb(176, 176, 176);
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

/* Hamburgermenu */
#bodyIndex {
  margin: 0;
  font-family: 'Roboto';
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(0, 21, 158);
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  z-index: 10;
  font-family: 'Roboto';
}

.menu-icon {
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 1000;
  position: relative;
  width: 30px;
  height: 30px;
}

.menu-icon:hover {
  background: transparent;
}

.hamburger {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
}

.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  position: absolute;
}

.hamburger::before {
  top: -10px;
}

.hamburger::after {
  top: 10px;
}

.menu-icon.active .hamburger {
  background-color: transparent;
}

.menu-icon.active .hamburger::before {
  transform: translateY(10px) rotate(45deg);
}

.menu-icon.active .hamburger::after {
  transform: translateY(-10px) rotate(-45deg);
}

.nav-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.9);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  position: absolute;
  font-family: 'Roboto';
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 5;
}

.nav-list.open {
  max-height: 300px;
}

.nav-list li {
  padding: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.nav-list li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  display: block;
  font-size: 18px;
  transition: background-color 0.3s, transform 0.3s ease;
}


.nav-list li a:hover {
  background-color: rgba(0, 21, 158, 0.6);
  color: #fff;
  transform: none; 
}


.menu-icon:focus {
  outline: none; 
}


a:focus, button:focus {
  outline: none; 
}

.nav-list li {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-list.open li {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.nav-list.open li:nth-child(1) { transition-delay: 0.3s; }
.nav-list.open li:nth-child(2) { transition-delay: 0.4s; }
.nav-list.open li:nth-child(3) { transition-delay: 0.5s; }
.nav-list.open li:nth-child(4) { transition-delay: 0.6s; }

@media (max-width: 768px) {
  .menu-icon {
      font-size: 30px;
  }
  .nav-list li a {
      font-size: 20px;
  }
}


.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  justify-content: center;
}

#imgHome {
  display: flex;
  flex-direction: row;
  margin-top: 200px;
  margin-bottom: 100px;
  justify-content: space-evenly;
}

#imgHome figure {
  margin: 20px 0;
  text-align: center;
}

#imgHome img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8%;
}

/* Doorstroom pagina */
#doorstroomh1, #dubbelefinaliteit-h1, #arbeidsfinaliteith1 {
  text-align: center;
  font-size: 2em;
  color: #000;
  margin: 20px 0;
}


#tweedoorstroom, #driedoorstroom, #tweedegraad, #derdegraad, #arbeidsmarkt-2de-graad, #arbeidsmarkt-3de-graad {
  width: 45%;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  box-sizing: border-box;
}

#tweedoorstroom h2, #driedoorstroom h2, #tweedegraad h2, #derdegraad h2, #arbeidsmarkt-2de-graad h2, #arbeidsmarkt-3de-graad h2 {
  text-align: center;
  color: rgb(0, 21, 158);
  margin-bottom: 20px;
  font-size: 1.5em;
}

#tweedoorstroom h3, #driedoorstroom h3, #tweedegraad h3, #derdegraad h3, #arbeidsmarkt-2de-graad h3, #arbeidsmarkt-3de-graad h3 {
  color: rgb(0, 0, 0);
  font-size: 1.2em;
  margin-top: 15px;
  margin-bottom: 10px;
}

#tweedoorstroom p, #driedoorstroom p, #tweedegraad p, #derdegraad p, #arbeidsmarkt-2de-graad p, #arbeidsmarkt-3de-graad p {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
  margin: 0 0 10px 0;
}


@media (max-width: 768px) {
  #tweedoorstroom, #driedoorstroom, #tweedegraad, #derdegraad, #arbeidsmarkt-2de-graad, #arbeidsmarkt-3de-graad {
      width: 100%;
  }
  .container {
      padding: 10px;
  }
  
  #imgHome {
  display: flex;
  flex-direction: column;
  margin-top: 0px;
  margin-bottom: 20px;
  justify-content: space-evenly;
}
}


.menu-icon:focus {
  outline: none;
}


.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}


body {
  font-family: 'Roboto', Arial, sans-serif;
}



