body {
  background-color: var(--accent-bg-color);
  margin: 0;
  padding: 0;
}

header {
  height: min(3vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(1vh, 30px) 2vw max(0.7vh, 10px) 2vw;
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 10px;
  left: 0;
  box-sizing: border-box;
}

header img {
  width: clamp(150px, 12vw, 180px);
}

nav ul {
  display: flex;
  list-style-type: none;
  align-items: center;
  gap: 4vw;
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1vw;
  padding: 0.4vw 3vw;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-links {
  text-decoration: none;
  color: var(--white-color);
  transition: color 0.2s ease-in-out;
  font-size: clamp(0.8rem, 1.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-block;
  padding: 8px 10px;
  position: relative;
}

.nav-links:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: var(--white-color);
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.nav-links:hover:after {
  width: 100%;
  left: 0;
}

.nav-links:hover {
  color: var(--primary-font-color);
}

/* Hamburger Menü */
.hamburger-menu {
  display: none; /* Standardmäßig ausgeblendet */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 2000;
}

.hamburger-menu div {
  width: 100%;
  height: 3px;
  background-color: var(--primary-font-color);
  border-radius: 2px;
}

header .hamburger-menu {
  position: absolute;
  right: 2vw;
  top: 50%;
  transform: translateY(-50%);
}

nav ul.show .nav-links {
  font-size: 1.4rem; /* Größere Schriftgröße */
  margin-top: 20px; /* Weiter oben positionieren */
  transition: all 0.3s ease-in-out; /* Weiche Übergänge */
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;  /* Horizontale Zentrierung */
    justify-content: center;  /* Vertikale Zentrierung */
    position: absolute;
    top: 50px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    height: 100vh; /* Höhe auf 100% der Ansichtshöhe setzen */
  }

  nav ul.show {
    display: flex; /* Anzeigen, wenn die Klasse 'show' hinzugefügt wird */
    gap: 2vw;
  }

  /* Hamburger Menü wird auf kleineren Geräten angezeigt */
  .hamburger-menu {
    display: flex;
  }

  header img {
    margin-bottom: 20px;
  }
}

/* Responsive Navigation bei noch kleineren Bildschirmgrößen */
@media (max-width: 400px) {
  nav ul {
    padding: 0.5vw 0.5vw;
  }
}
