﻿    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { height: 100%; }

}html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif; 
  display: flex;
  flex-direction: column;
  position: relative; /* dit is belangrijk */
  padding-bottom: 0px; /*Voor ruimte onder iframe*/
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/achtergrond.png');
  background-size: cover;
  background-position: center;
  filter: blur(3px);
  z-index: -1;
}

    header {
      background: linear-gradient(90deg, #4caf50, #2e7d32);
      color: white;
      padding: 20px;
      text-align: center;
      font-size: 2em;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      flex-shrink: 0;
    }

#headerTitle {
    font-size: 1.1em; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Schaduw effect */
}

    .container {
      display: flex;
      flex-direction: row;
      flex: 1;
      width: 100%;
      max-width: 1200px; /*Hierin draai de pagina*/
      margin: 0 auto;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      border-radius: 0 0 20px 20px;
      height: calc(95vh - 60px);
      overflow: hidden; height:82%; 
    }

    nav {
      width: 300px;
      background-color: #f4f4f4;
      border-right: 1px solid #ddd;
      overflow-y: auto;
      height: 100%;
    }

    nav ul { list-style: none; padding: 0; }
    nav li { border-bottom: 1px solid #ddd; }
    nav li a { display: block; padding: 0.8rem 1rem; text-decoration: none; color: #333; cursor: pointer; }
    nav li a:hover { background-color: #ddd; }
    nav li ul { display: none; background-color: #eaeaea; }
    nav li ul li a { padding:5px 5px 5px 10px; background-color: aliceblue}
    nav li ul li a:hover {background-color: #4caf50; color:white}
    nav li.open > ul { display: block; }

    .content {
      flex: 1;
      padding: 0;
      overflow: hidden;
      background-color: #fff;
    }

    iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

#headerLogo {
  height: 1.2em;
  width: auto;
  vertical-align: middle;
  cursor: pointer;
}


/* Smartphones */
@media (max-width: 768px) {
  .hide-mobile { 
    display: none !important; 
  }
}

/* Tablets (portrait + landscape) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hide-tablet { 
    display: none !important; 
  }
}

/* Desktop */
@media (min-width: 1025px) {
  .hide-desktop { 
    display: none !important; 
  }
}


/* VERBERG DE HELE PAGINA BIJ PRINT */
@media print {
    html, body {
        display: none !important;
        visibility: hidden !important;
    }

    * {
        display: none !important;
        visibility: hidden !important;
    }
}

    @media (max-width: 600px) {

    body {
      height: 100%;
    }
    
    nav li ul li a { padding:5px 0 5px 8px;background-color: #4caf50;color:white}

      #menuToggle {
        display: block;
        background: #0077cc;
        background: transparent;
        color: white;
        border: none;
        padding: 0px;
        font-size: 1.5em;
        cursor: pointer;
      }

      nav {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 75%;
        min-width: 257px;
        transform: translateX(-100%);
        z-index: 1000;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease-in-out;
      }

      nav.open {
        transform: translateX(0); /* Show the menu */
      }

      .content {
        margin-top: 0;
        flex: 1; 
      }
    }

    @media (min-width: 768px) {
      #menuToggle {
        display: none;
      }
    }

/* Mobile-first: standaard verbergen op mobiel */
.geen-qr {
  display: none; /* mobiel: niet zichtbaar */
}

/* Tablets en grotere schermen: tonen */
@media (min-width: 769px) {
  .geen-qr {
    display: block; /* of flex / inline-block afhankelijk van het element */
  }
}

/* Veiligheidsnet: als het element oorspronkelijk flex was */
@media (min-width: 769px) {
  .geen-qr.flex {
    display: flex;
  }
}

/* Veiligheidsnet: als het element oorspronkelijk inline of inline-block was */
@media (min-width: 769px) {
  .geen-qr.inline {
    display: inline-block;
  }
}

