.navbar-wrapper {
  width: 100%;
  /*padding: auto;*/
  position: fixed;
  background-color: rgb(0, 0, 0);
  top: 0;
  left: 0;
  right: 0;
  /*transition: all 0.3s ease;*/

  z-index: 1000;
}

.navbar {

  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.4s;
  height: 70px;
  /*display: grid;
     grid-template-columns: repeat(4, minmax(0, 1fr));
     grid-template-areas:
       "a b c d";
     gap: 10px;*/
  width: 100%;
  z-index: 10;
  /* Setzt das Grid über das Hintergrund-div */
  margin: 0 auto;
  /* Zentriert das Grid */
}

.navbar>.left {

  display: flex;
  gap: 15px;
}

.navbar>.right {
  margin-right: 20px;
  display: flex;
  gap: 15px;
}

.navbar a {
  display: block;
  width: 80px;
  height: 40px;
  /* Adjust the size as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 20px;
  font-size: var(--text-size);
  border-radius: 14px;

  background-size: contain;
  background-repeat: no-repeat;
}

/* burger menu */
/* Hamburger button styles */
.hamburger {
  width: 84px;
  padding: 70px;
  padding-top: 30px
}

.hamburger-line {
  /*position: absolute;*/
  /*left: 0;*/
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
  right: 20px;
  width: 45px;
}

.hamburger-line:nth-child(2) {
  margin-top: 10px;
}

.hamburger-line:nth-child(3) {
  margin-top: 10px;
}



/* Menu open state */
.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(13px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-13px) rotate(-45deg);
}

/* Navigation menu styles */
.menu {
  position: fixed;
  margin-top: 70px;
  left: -100%;
  width: 300px;
  height: calc(100vh - 70px);
  background-color: rgba(0, 0, 0, 0.85);
  transition: left 0.3s ease-in-out;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  box-sizing: border-box;
  border: none;
  border-radius: 0;
}

.menu.open {
  left: 0;
}

.menu-list {
  list-style-type: none;
  text-align: left;
  border-radius: 0;
  width: 100%;

}

.menu-item {
  padding: 5px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.menu.open .menu-item {
  opacity: 1;
  transform: translateY(0);
}

.menu.open .menu-item:nth-child(1) {
  transition-delay: 0.1s;
}

.menu.open .menu-item:nth-child(2) {
  transition-delay: 0.2s;
}

.menu.open .menu-item:nth-child(3) {
  transition-delay: 0.3s;
}

.menu.open .menu-item:nth-child(4) {
  transition-delay: 0.4s;
}

.menu-item a {
  color: #cd4886;
  text-decoration: none;
  display: block;
  font-size: 24px;
  padding: 10px;
  width: 100%;
}

.menu-item a:hover {
  color: #BC147E;
}


#language-button {
  height: 63px;
  width: 102px;
  margin-top: -7px;
  margin-bottom: -14px;
}

@media (min-width: 769px) {

  .navbar>.left {
    margin-right: 20px;
  }

  .navbar>.right {
    margin-left: 20px;
  }

  .navbar a {
    display: block;
    width: 160px;
    height: 70px;

  }

  .hamburger {
    width: 84px;
    padding: 70px;
    padding: 20px;
  }


  

  .menu {
    width: 400px;
  }

  .menu-item a {
    width: 100%;
  }

  .info-box-side {
    margin-left: 2em;
  }

  #language-button {
    display: block;
    height: 63px;
    width: 120px;
    margin-top: 0;
    margin-bottom: 0;
  }

}

/* Overlay effect when menu is open */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  z-index: 40;
}

.overlay.open {
  opacity: 0.7;
  visibility: visible;
}
