/* --- Basislayout --- */
#nav-wrapper {
  position: absolute;
  z-index: 50;
  width: 100%;
  height: 340px;
  top: -340px;
  left: 0;
  background: #fff;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, .2);
  transition: transform 350ms ease-in;
  transform: translateY(0);
}
#nav-wrapper.open {
  transform: translateY(340px);
}

/* --- Hamburger-Button --- */
.hamburg {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 25px;
  width: 32px;
  height: 22px;
  padding: 0;
  z-index: 100;
}
/*
.hamburg:focus {
  outline: 2px solid #000; 
  outline-offset: 4px;
}
*/
.hamburg .line {
  height: 4px;
  width: 100%;
  background-color: #333;
  background: #808080;
  border-radius: 0;
}

/* --- Navigation --- */
nav {
  font-size: 25px;
  letter-spacing: 0.01em;
  line-height: 1.1em;
  margin-top: 120px;
}
nav a {
  color: #656565;
  text-decoration: none;
}
nav a:hover,
nav a:focus {
  color: #888;
}
nav ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav ul li {
  margin-right: 50px;
}

nav ul{
	display:flex;
	flex-direction:row
	/*gap:50px;
	gap:3.5rem;*/
	}
	
nav ul li{
	margin-right:50px;
	}
	
nav ul li:first-child{
	margin-right:30px;
	}
	
nav ul ul{
	flex-direction:column;
	margin:10px 0 0 0;
	}
	
nav ul ul li{
	margin:0;
	}

/* --- Responsive: mobile Ansicht --- */
@media (max-width: 980px) {
  nav {
    line-height: 1.27em;
    margin-top: 80px;
  }
  nav ul {
    flex-direction: column;
  }
  #nav-wrapper {
    height: 100vh;
    top: -100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #nav-wrapper.open {
    transform: translateY(100vh);
    box-shadow: none;
  }
}





@media screen and (min-width: 1780px) {
	nav{
	font-size:28px;
	}
}

@media (max-width: 1480px) {
	nav{
	font-size:23px;
	}
}










