



/* -----------------------------------------HEADER--------------------------------------------*/

.header{
  align-items: center;
  justify-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.3rem 10%;
  z-index: 100;
  max-height: 70px;
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}


.header::before{
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  z-index: -1;
}



.hello{
  min-width: 200px;
  height: 100px;
  margin: 0 auto; /* Add this line to center the div horizontally */
  display: flex;
  justify-content: center;


}

.header:hover::after{
  left: 100%;
}

/*logo en tekst in de navbar*/



/* -----------------------------------------NAVBAR--------------------------------------------*/



.navbar{
  left: 25%;
  width: 450px;
}
 
.navbar a{
  font-size: 1.15rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  margin-left: 2.5rem;
  transition: border-color .5s ease; /* Voeg een overgang toe met een langzamere snelheid */
  border-bottom: 2px solid transparent; /* Standaard geen border */
}

.navbar a:hover {
  border-bottom: 2px solid white;/* Voeg een border toe wanneer de muis over de link gaat */
  transition: .3s ease;  
}

#check{
  display: none;
}


.icons{
  position: absolute;
  right: 15%;
  font-size: 2.8rem;
  color: white;
  cursor: pointer;
  display: none;

}





#menu-icon{
  margin-top: 5px;
}

#close-icon{
  margin-top: 5px;

}






.itemWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto 1500;

}




















/*----------------------------📱MEDIA QUERRY'S📱-----------------------------*/

@media (min-width: 992px ) /*for laptop and higher*/ {
 .header{
    display: none;
  }
}

@media (max-width: 992px ) /* for tablet*/ {
  
  /* ------------- HEADER TABLET -------------*/
  .header{
    padding: 1.3rem 5%;
  }
  .navbar a {   
    border-bottom: none; 
  }

}


@media (max-width: 864px )/* for mobile*/ {

  /* ------------- NAVBAR MOBILE -------------*/

  .header{
    position: fixed;
    max-height: 65px; /* Increased for better touch targets */
    padding: 0 1rem;
    z-index: 10000;
  }

  .icons{
    display: inline-flex;
    top: 0;
    padding: 0.5rem; /* Better touch target */
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }
  
  .icons:active {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  #check:checked~.icons #menu-icon {
    display: none;
  }
  
    .icons #close-icon{
      display: none;
    }

    #check:checked~.icons #close-icon {
      display: block;
    }

    .navbar{
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: 0;
      background: rgba(19, 30, 44, 0.95); /* Darker, more professional mobile menu */
      backdrop-filter: blur(25px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      max-height: 300px; /* Increased for better spacing */
      border-radius: 0 0 20px 20px;
    }

    
    
    #check:checked~.navbar {
      height: 17.7rem;
    }

    .navbar a {
      display: block;
      font-size: 1.1rem;
      margin: 0.5rem 1rem;
      padding: 1rem 2rem; /* Better touch targets */
      text-align: center;
      transform: translateY(-50px);
      opacity: 0;
      transition: all 0.3s ease;    
      border-bottom: none;
      border-radius: 12px;
      position: relative;
      overflow: hidden;
    }
    
    .navbar a:active {
      background-color: rgba(72, 216, 213, 0.1);
      transform: translateY(0) scale(0.98);
    }
    
    .navbar a::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(72, 216, 213, 0.1), transparent);
      transition: left 0.5s ease;
    }
    
    .navbar a:hover::before {
      left: 100%;
    }

    #check:checked~.navbar a{
      transform: translateY(0);
      opacity: 1;
      transition-delay: calc(.15s * var(--i));
    }

    .markedPage{
      border-bottom: none;
      background: none;
      border: none;
      border-radius: none;
      padding: none;    
      border-bottom: none !important;
    }

    nav.navbar a {
      background: none;
      border: none !important;

    }



}
