* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: hsl(100deg 100% 50% / 0.5);
    color: #fff;
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: left; 
    font-size: 16px;
    padding: 25px;
    z-index: 1000;
  }
  
  .logo-inventariseren {
    display: block;
    width: 150px;
    margin-bottom: 15px;
  }
  
  #hamburger-icon {
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    background: rgb(25, 167, 12);
    border-radius: 5px;
    display: block;
    margin-top: 15px;
  }
  
  #menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    width: 100%;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Toon het menu als de class "show-menu" wordt toegevoegd */
  #menu.show-menu {
    display: flex;
  }
  
  #menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; 
    gap: 15px; 
    width: 100%; 
  }
  
  #menu li {
    background: rgb(132, 201, 247);
    padding: 12px; 
    border: 1px solid black;
    text-align: center;
    width: 100%; 
  }
  
  #menu li a {
    text-decoration: none;
    color: black;
    display: block;
  }
  
  .menu-item-with-submenu > span {
    cursor: pointer;
    padding: 10px;
    display: block;
  }

  #map {
    height: 250px;
  } 
  
  
  
  @media screen and (min-width: 768px) {
    #hamburger-icon {
        display: none; 
    }
  
    #menu {
        display: flex;
        flex-direction: row; 
        justify-content: flex-end; 
        background-color: white; 
        border-radius: 5px;
        color: black; 
        width: auto;
        padding: 10px;
        box-shadow: none;
    }
  
    #menu > ul {
      display: flex;
      flex-direction: row; /* Alleen voor hoofdmenu-items */
      gap: 20px;
  }
    
    #menu li {
        background: rgb(132, 201, 247);
        padding: 10px 20px; 
        text-align: center;
        flex: 0 1 auto; 
        border: 1px solid black;
    }
  
    #menu li a {
        text-decoration: none;
        color: black; 
        display: block;
    }
  
    .menu-item-with-submenu {
      position: relative;
    }
  
    .menu-item-with-submenu ul {
      position: absolute;
      top: 100%; 
      left: 0; 
      min-width: 150px; 
      background-color: lightblue;
      padding: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      display: none; /* Standaard verborgen */
      flex-direction: column;
      opacity: 0; /* Start onzichtbaar */
      transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
      visibility: hidden; /* Voorkomt dat het interactief is als het verborgen is */
  }
  
  .menu-item-with-submenu:hover ul,
  .menu-item-with-submenu.show-submenu ul {  /* Dit zorgt dat het ook bij klik werkt */
      display: flex;
      opacity: 1;
      visibility: visible;
  }}

  .page-main {
    display: block;        
    width: 100%;
    max-width: auto;     
    padding: 15px;     
    background-color: hsl(200, 80%, 80%);      
  }
        

.container {
width: 100%;
margin-top: 260px;
}



h1 {
    font-size: 20px;    
}

h2 {
    font-size: 18px;
}

#userData {
  margin-top: 20px;
}

#welcome-msg {
  display: none;
  font-size: 24px;      
  color: darkgreen;     
  font-weight: bold;    
  margin-top: 10px; 
  margin-bottom: 10px;    
}

   

#save-button, #fetch-button {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  background-color: rgb(163, 238, 170);
}

button {    
  pointer-events: auto;
  font-size: 16px;
  touch-action: manipulation;
  z-index: 1001;  
}

#userData, button {
  position: relative;
  z-index: 1001; 
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: unset;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #f4f4f4; 
  border-radius: 8px;
  overflow: hidden;
}

.data-table th, .data-table td {
  padding: 8px;
  text-align: left;
  border: 1px solid #ddd;
}

.data-table th {
  background-color: #d9e9c6; 
  font-weight: bold;
}

.data-table tr:nth-child(even) {
  background-color: #f9f9f9; 
}

.data-table tr:hover {
  background-color: #e2e2e2; 
}

.data-table td {
  color: #000000; 
}

#map {
  position: relative;
  z-index: 0;
}

.footer {
  background-color: hsl(0, 0%, 20%);
  color: hsl(0, 0%, 100%);
  padding: 10px;
  text-align: center;    
  margin-top: 10px;
}

.footer .flex-container {
  display: flex;
  justify-content: center;
}

.footer .flex-container ul {
  list-style-type: none;
  padding: 0;
}

.footer .flex-container ul li {
  margin: 5px 0;
}



  


