* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  position: relative;
}


.navbar {
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FFFFFF;
  padding: 1rem;
  flex-wrap: wrap; /* Erlaubt das Umbrechen der Navbar-Elemente */
  z-index: 1;
	margin-bottom: auto;
}
li{

  list-style: none;

}
.navbar-brand {
  color: #d7a967;
  text-decoration: none;
  font-size: 1.5rem;
}

.navbar-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
 
  z-index: 1;
  position: absolute;
  right: 25px;
}



.navbar-menu {
  list-style-type: none;
  display: flex;

  
}

.navbar-menu li {
  margin-left: 1rem;
}

.navbar-menu a {
  color: #d7a967;
  text-decoration: none;
}
a:hover {
  color: #c3ff6f;
}

/* selected link */
a:active {
  color: white;
}

a:visited {
  color: #d7a967;
}




@media (max-width: 768px) {


  .bar{
  
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    transition: all 0.8 ease;
    background-color: black;
  }
  .navbar{

    position: fixed;
    top: 0;
  width: 100%;
  display: flex;
  min-height: 20px;
  justify-content: space-between;
  align-items: center;
  
  }
  

  #navbar-menu{
  
    margin-top: 39px;
  }
  .navbar-toggler {
    display: block;
   
    /* order: 2;  Setzt den Toggler hinter die Menüpunkte */
  }

  .navbar-toggler.active .bar:nth-child(2) {
  
    opacity: 0;
  }
  .navbar-toggler.active .bar:nth-child(1) {
    
  
    transform: translate(0px) rotate(45deg);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background-color: black;
    transition: 1s;
  }
  .navbar-toggler.active .bar:nth-child(3) {
  
    transform: translate(-0px)  rotate(-45deg);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    background-color: black;
    transition: 1s;

  }
  .navbar-menu {
    position: fixed;
    left: -150%;
    top: 20px;
    gap: 0;
    flex-direction: column;
    background-color: rgba(255,255,255,0.90);
    width: 100%; /* Setzt die Breite auf 100% */
    /* order: 3;  Setzt die Menüpunkte unter dem Navbar-Brand */
    text-align: center;
    transition: 0.3;
  }
  .nav-item{
  
	padding: 12px;
	box-shadow: inset 0 0 20px #dddddd;
    margin: 2px 0;
  }

  .navbar-menu.active{
  
  
    left: 0;

  }
  
}

.fa-bars {
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 769px){
	
	.navbar {
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0a3f20;
  padding: 1rem;
  flex-wrap: wrap; /* Erlaubt das Umbrechen der Navbar-Elemente */
  z-index: 1;
}
}
