header {
  top: 0;
  position: fixed;
  z-index: 2;
  width: 100vw;
  height: 4rem;
}

#header {
  display: flex;
  opacity: 1;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 1.3rem;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.127) 5vh,
    rgba(255, 255, 255, 0.329)
  );
  height: 4rem;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: opacity 1s ease-in;
}

h1 a {
  font-family: corpta;
  font-size: 1.7rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

nav {
  display: none;
}

ul {
  display: flex;
  align-items: center;
  height: 100%;
}

li {
  height: 100%;
}

nav ul li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  height: 100%;
  padding: 0rem 1rem;
  opacity: 0.5;
  transition: opacity 1s, background-position 0.5s;
  background-image: radial-gradient(
      ellipse 80% 4vh at bottom center,
      rgba(255, 255, 255, 0.726) 0%,
      transparent 50%
    ),
    radial-gradient(ellipse at top center, transparent, transparent);
  background-size: 100% 200%;
  background-position: 0% 0%;
}

nav ul li a:hover {
  opacity: 1;
  background-position: 0% 100%;
}

#hamburger {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.3rem;
  height: 20px;
  width: 20px;
}
#hamburger div {
  border: solid white;
  background-color: white;
  border-radius: 2rem;
  width: 6vw;
}

#achtergrond {
  height: 0vh;
  transition: all 0.5s ease-in;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background-color: rgba(255, 255, 255, 0.329);
  display: flex;
  justify-content: center;
  align-items: end;
}

#closebutton {
  display: none;
  width: 50px;
  height: 50px;
  background-color: white;
  margin-bottom: 2rem;
  border-radius: 2rem;
  overflow: hidden;
  padding: 0.7rem;
}

#kruis {
  height: 100%;
  width: 100%;
  background-image: linear-gradient(
      45deg,
      transparent,
      transparent 45%,
      black 45%,
      black 55%,
      transparent 55%
    ),
    linear-gradient(
      135deg,
      transparent,
      transparent 45%,
      black 45%,
      black 55%,
      transparent 55%
    );
}

@media (min-width: 500px) {
  nav {
    display: block;
    height: 100%;
  }

  #hamburger {
    display: none;
  }
}

/*JS classes*/
.weg {
  display: none !important;
}

.buttonvisible {
  display: block !important;
}

.zichtbaar {
  display: block;
  height: 100% !important;
}

.headerzichtbaar {
  height: 92vh !important;
}
.midden {
  justify-content: center !important;
}
