body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

/* Verbeterde beeldkwaliteit voor alle afbeeldingen, vooral op mobiel */
img {
    /* Betere beeldkwaliteit bij schaling voor foto's */
    image-rendering: -webkit-optimize-contrast; /* WebKit browsers (Safari, Chrome) - betere kwaliteit */
    image-rendering: auto; /* Standaard browser rendering - meest compatibel voor foto's */
    -ms-interpolation-mode: bicubic; /* IE ondersteuning - hoogste kwaliteit */
    /* Hardware acceleratie en rendering optimalisatie */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    /* Voorkomt wazigheid door subpixel rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-family: 'Koulen', sans-serif;
}

.container h1 {
    color: #ee6810;
}

header {
    background-color: white;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 200px;
}

.logo {
    width: 200px;
    height: 150px;
}

.mobile-nav {
    display: none;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    align-items: center;
    margin-right: 20px;
}

nav ul li {
    font-size: 18px;
    font-weight: bold;
}

nav ul li a {
    text-decoration: none;
    color: #ee6810;
    padding: 25px;
    margin: 0 5px;
    position: relative; /* Nodig voor de pseudo-elementen */
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

nav ul li a:hover::after {
    background-color: #ee6810;
}

nav ul li.pressed a::after {
    background-color: #ee6810;
}

footer {
    background-color: #ee6810;
    padding: 25px 100px;
}

footer h1 a {
    text-decoration: none;
    color: white;
}

footer h1 a:hover {
    text-decoration: underline;
}

.informatie {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.informatie-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.informatie-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
}

.informatie-menu ul li {
    margin: 10px 0;
}

.informatie-menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 27px;
}

.informatie-menu ul li a:hover {
    text-decoration: underline;
}

.socials a i {
    font-size: 30px;
    margin: 0 10px;
    color: white;
    transition: 0.5s;
}

.socials a i:hover {
    color: rgb(203, 203, 203);
    transition: 0.5s;
}

footer h1 {
    color: white;

}

footer button {
    background-color: white;
    border: none;
    color: #ee6810;
    padding: 20px 30px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 30px;
    transition: 0.5s;
}

footer button:hover {
    background-color: rgb(203, 203, 203);
    transform: scale(1.1);
    transition: 0.5s;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: white;
    color: #333;
    padding: 20px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    border-top: 4px solid #ee6810;
}

.cookie-banner p {
    margin: 0 0 15px 0;
    line-height: 1.5;
    font-size: 14px;
}

.cookie-banner a {
    color: #ee6810;
    text-decoration: none;
    font-weight: bold;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

.cookie-controls {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.cookie-controls button {
    background-color: #eee;
    color: #333;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.cookie-controls button:hover {
    background-color: #ddd;
    transform: translateY(-2px);
}

.cookie-controls #accept-button {
    background-color: #ee6810;
    color: white;
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.cookie-controls #accept-button:hover {
    background-color: #FFA94D;
    transform: translateY(-2px);
    box-shadow: 0px 4px 8px rgba(247, 146, 40, 0.3);
}

.cookie-controls #reject-button {
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
    min-width: 120px;
}

.cookie-controls #reject-button:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

@media (max-width: 1023px) {
    nav ul li {
        font-size: 12px;
    }

    nav ul li a {
        padding: 10px;
    }
    
    footer {
        padding: 25px 50px;
    }

    .informatie-menu ul li a {
        font-size: 20px;
    }

    .socials a i {
        font-size: 27px;
    }
}

@media (max-width: 767px) {

    nav {
        position: relative;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        margin-top: -5px;
        margin-left: 0px;
      }


      .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #ee6810;
        transition: background-color 0.3s ease;
      }
    
    
      .hamburger .bar {
        transition: transform 0.3s, opacity 0.3s;
      }
    
      .hamburger.active .bar:nth-child(2) {
        opacity: 0; /* Verberg het middelste streepje van de hamburger bij activering */
      }
      
      .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg); /* Kantel het bovenste streepje van de hamburger */
      }
      
      .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg); /* Kantel het onderste streepje van de hamburger */
      }
    
      
    
      .mobile-nav {
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        min-height: 100vh;
        display: block;
        z-index: 999999999;
        padding-top: 50px;
        background-color: #ee6810;
        opacity: 0.9;
        margin-top: 150px;
        transition: 0.4s;
      }
    
      .mobile-nav.active {
        left: 0;
        width: 100%;
        margin-left: 0;
        border-radius: 0;
      }
    
       .mobile-nav a {
          display: block;
          text-align: center;
          width: 100%;
          max-width: 200px;
          margin: 0 auto 16px;
          padding: 12px 16px;
          background-color: #ee6810;
          border-radius: 20px;
          color: white;
          text-decoration: none;
        }
      
        nav ul {
            display: none;
        }

        nav {
            margin-left: 20px;
            width: 200px;
        }

        nav {
            background-color: white;
            padding: 20px;
            margin: 15px;
            height: 25px;
            margin-right: 0;
            opacity: 0.9;
            width: 50px;
            list-style: none;
          }
        
        .logo {
            width: 150px;
            height: 100px;
        }

        footer {
            padding: 25px;
        }

        .informatie {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .informatie button {
            margin-bottom: 20px;
        }

        .informatie-menu {
            margin-bottom: 20px;
        }
}
