* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

.bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: slideshow 35s linear infinite;
  transform: translate3d(0, 0, 0);
}

@keyframes slideshow {
  0%, 33.32% {
    background-image: url('img/Foto_gebouw_01.jpg');
  }
  /* Remove duplicate 0%, 33.32% rule if Foto_gebouw_02.jpg is not intended for this range */
  /* For this example, I'm keeping it but you might want to adjust your image sequence */
  0%, 33.32% {
    background-image: url('img/Foto_gebouw_02.jpg');
  }
  33.33%, 66.65% {
    background-image: url('img/Foto_gebouw_03.jpg');
  }
  /* Remove duplicate 0%, 33.32% rule if Foto_gebouw_04.jpg is not intended for this range */
  0%, 33.32% {
    background-image: url('img/Foto_gebouw_04.jpg');
  }
  66.66%, 100% {
    background-image: url('img/Foto_gebouw_05.jpg');
  }
}

header {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 1rem;
  text-align: center;
}

/* Base navigation styles (for desktop - initially visible) */
nav {
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 1rem;
  position: relative; /* Needed for positioning the menu-icon and nav-links */
}

nav .nav-links {
  list-style: none; /* Remove bullet points from list */
  display: flex; /* Make links horizontal */
  justify-content: center; /* Center the links */
  gap: 15px; /* Space between links */
}

nav .nav-links li {
  /* No specific styles needed here for desktop */
}

nav .nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 0; /* Add some padding for clickable area */
}

nav .nav-links a:hover {
  text-decoration: underline;
}

/* Hide the checkbox and label (hamburger icon) by default on desktop */
nav input[type="checkbox"],
nav label.menu-icon {
  display: none;
}

main {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 3rem auto;
  border-radius: 10px;
}

footer {
  text-align: center;
  color: white;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Mobile styles - triggered by media query */
@media (max-width: 768px) { /* Adjust breakpoint as needed */
  nav {
    padding: 1rem; /* Adjust padding for mobile nav */
    text-align: left; /* Align hamburger to the left */
  }

  /* Show the hamburger icon on mobile */
  nav label.menu-icon {
    display: block;
    background: none transparent;
    border: 4px solid coral;
    border-left: 0 solid transparent;
    border-right: 0 solid transparent;
    cursor: pointer;
    height: 24px;
    position: absolute;
    top: 18px;
    left: 20px;
    width: 24px;
    transition: all .2s;
    z-index: 2; /* Ensure it's above the nav-links when open */
  }

  nav label.menu-icon::before {
    background: coral;
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    top: 6px;
    width: 24px;
    transition: all .2s;
  }

  nav label.menu-icon::after {
    background: coral;
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    top: 6px;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    transform: rotate(90deg);
    transition: all .2s;
  }

  /* Hide the horizontal menu by default on mobile */
  nav .nav-links {
    display: block; /* Change to block for vertical stacking */
    position: absolute;
    top: 60px; /* Position below the header */
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9); /* Dark background for the dropdown */
    max-height: 0; /* Initially hidden */
    overflow: hidden; /* Hide overflow content */
    transition: max-height 0.3s ease-out; /* Smooth transition */
    flex-direction: column; /* Stack links vertically */
    align-items: flex-start; /* Align links to the left */
    z-index: 1;
  }

  nav .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Separator for links */
  }

  nav .nav-links li:last-child {
    border-bottom: none; /* No border for the last item */
  }

  nav .nav-links a {
    padding: 12px 20px; /* Adjust padding for mobile links */
    display: block; /* Make the whole area clickable */
    text-align: left;
    color: white;
  }

  /* When checkbox is checked, open the menu */
  nav input[type="checkbox"]:checked ~ label.menu-icon {
    border: 4px solid silver;
    border-radius: 50%;
    height: 28px;
    top: 16px;
    left: 18px;
    width: 28px;
    transform: rotate(-135deg);
  }

  nav input[type="checkbox"]:checked ~ label.menu-icon::before {
    background: silver;
    top: 8px;
    left: 4px;
    width: 12px;
  }

  nav input[type="checkbox"]:checked ~ label.menu-icon::after {
    background: silver;
    opacity: 1;
    top: 8px;
    left: 4px;
    visibility: visible;
    width: 12px;
  }

  nav input[type="checkbox"]:checked ~ label.menu-icon:hover {
    border-color: coral;
    &::before,
    &::after {
      background: coral;
    }
  }

  nav input[type="checkbox"]:checked ~ .nav-links {
    max-height: 500px; /* Or a value large enough to contain all links */
    /* You might want to remove opacity and visibility from the .nav-links::before here
       as it's designed for a full-screen overlay, which might not be desired for a dropdown */
    &::before {
      opacity: 0; /* Override the original mobile mockup overlay */
      visibility: hidden;
    }
  }

  /* The animation for individual list items when opening the menu.
     This part is directly from your provided CSS and can be kept. */
  nav input[type="checkbox"]:checked ~ .nav-links li {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    /* Using a loop based on your existing code, assuming you keep the $nav-links variable concept */
    /* For pure CSS, you'd list them out or use a generic transition-delay */
    /* Example for pure CSS: */
    /* &:nth-child(1) { transition-delay: 0s; }
    &:nth-child(2) { transition-delay: 0.1s; }
    ... */
  }
}

html,
body {
  font-family: 'Nunito', sans-serif;
  height: 100%;
  width: 100%;
}

body {
  background: #404040;
  display: table;
}

a {
  text-decoration: none;
} */
/* ... (rest of the mobile mockup styles) ... */