body {
  margin: 0;
  background-image: url("achtergrond.jpg");
  background-size: cover;         /* vult hele scherm */
  background-repeat: no-repeat;   /* geen herhaling */
  background-position: center;    /* mooi gecentreerd */
  background-attachment: fixed;  
  text-align: center;

}

/* Navbar container */
.topnav{
  background-color: black;
  overflow: hidden;
  position: fixed;
  z-index: 1;
  width: 100%;
    top: 0;   
    position: relative;
    position: fixed;
}
a,img,button,div{
  user-select: none;
   -webkit-user-drag: none; /* Chrome, Safari */
  -khtml-user-drag: none;  /* oudere Konqueror */
  -moz-user-drag: none;    /* Firefox (werkt niet overal) */
  -o-user-drag: none;      /* Opera (ouder) */   
}
/* Normale menu links */
.normal-menu a {
  float: left;
  color: white;
  padding: 17px 17px;
  text-decoration: none;
  font-size: 24px;
}

/* Navbar titel */
.topnav h1 {
  float: left;
  color: white;
  padding: 8px 15px;
  text-decoration: none;
  font-size: 18px;
}

/* Hover effecten voor links */
.topnav a:hover {
  background-color: rgb(23, 205, 195);
}

/* Actieve link */
.topnav a.active {
  background-color: aqua;
  color: white;
}

 .Wisselknop {
  float: right;
  color: white;
  padding: 14px 14px;
  text-decoration: none;
  font-size: 25px;
  
  
}
.Wisselknop:hover {
    background-color: transparent !important; /* of wat je wilt */
    /* behoud originele kleur */
    cursor: pointer; /* blijft klikbaar */
}
h1 {
  text-align: center;
  color: white;
}
 .topnav #hamburgermenu{
  display: none;
 margin-top: 62px;   
  background-color: black;
 
  width: 100%;
  height: 120px;
  text-align: start;
    height: auto;             
  z-index: 2;   
  
}#hamburgermenu a{
 color: white;
  text-decoration: none;
  font-size: 24px;
  width: 100%;
  display: block;
   z-index: 3; 
}
#hamburgermenu .Wisselknop{
  padding: 0px;
}
/* Hamburger menu knop */
.hamburgermenu-button {
  position: absolute;
  top: 0px;
  right: 0px;
  display: none;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 100%;
  max-height: 62px;
  color: white;
  background-color: black;
  font-size: 30px;
  cursor: pointer;
  z-index: 999;
}
#hamburgermenu a:hover{
  background-color: rgb(23, 205, 195);

}
#hamburgermenu {
  display: none;
}

#hamburgermenu.active {
   background-color: aqua;
}

.hamburgermenu-button:hover {
  background-color: aquamarine;
}



/* Kaarten */
.card {
  padding: 10px;
  height: 500px;
  width: 100%;
  max-width: 300px;
border-radius: 20px;
  box-shadow: 5px 5px 5px black;
 
background-color: white;
  margin-bottom: 10%;
}

.button1 {
  background-color: blue;
  border: 1px solid black;
  color: white;
  width: 40%;
  height: 50px;
  cursor: pointer;
}

.card:hover {
transform: scale(1.05);
 

}

.button1:hover {
 transform: scale(1.05);
}


#container {
  position: absolute;
  top: 500px;
  width: 100%;
 
  background-color: rgb(42, 173, 167);
  border-radius: 50px;
  box-shadow: 5px 5px black;
  text-align: center;
  z-index: 0;
}

#projecten-box {
margin-bottom: 20px;
  display: grid;
  width: 100%;
  height: auto;
  justify-self: center;
  justify-content: space-evenly;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  justify-items: center;
}

#voorstukje {
  position: relative;
  width: 100%;
 min-height: 75px;
  margin-top: 60px; /* in plaats van top: 5% */
  background-color: rgb(42, 173, 167);
  border-radius: 8px;
  text-align: center;
  box-sizing: border-box;
}

/* Responsive */

/* Extra marge voor kaarten bij grotere schermen */



@media only screen and (max-width: 720px) {
 
  #projecten-box {
    grid-template-columns: 1fr; /* 1 kolom op kleine schermen */
     /* optioneel, zodat ze niet tegen de rand plakken */
  }



  /* Verberg normale menu links */
  .normal-menu {
    display: none;
  }
  .Wisselknop{
    display: none;
  }

  /* Toon hamburger menu knop */
  .hamburgermenu-button {
    display: flex;
  }
  
  /* Hamburger menu standaard verbergen (JS toggle) */

}

/* Voor grotere schermen altijd hamburger menu verbergen */
@media (min-width: 721px) {
  #hamburgermenu {
    display: none !important;
  }
}