/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

* {
  margin: 0;
  padding: 0;
}

nav {
  background-color: white;
  }

nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav li {
  height: 50px;
}

nav a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color:black;
}

nav a:hover {
  background-color: #777;
  color: white;
  border-radius: 5px;
}

nav li :first-child {
  margin-right: auto;
}


.sidebar{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 200px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

-sidebar li {
  width: 100%
}


-sidebar a {
  width: 100%
}

.menu-button{
  display:none;
}

@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
.menu-button{
  display: block;
  }
}

@media(max-width: 400px){
  .sidebar{
    width: 100%;
  }
}

.no-wrap {
  white-space: nowrap;
}

bg_container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.display-middle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header{
  letter-spacing: clamp(0.2rem, 0.1vw, 0.3rem);
  background-color: rgba(82, 82, 82); 
  color: white;
  padding: 12px 24px;
  font-size: clamp(1rem, 5vw, 2rem)
}
  
.bgimg-1{
  background-image: url('heros/Bild 1_wm.JPG');
  width: 100%;
  max-width: 100%;
  height: 100svh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
}

.section-container{
  padding: 0.01em 16px;
  max-width: 980px;
  margin-left: auto;
  margin-right:auto;
}

.center{
  text-align: center;
}

.section-header{
  top: 10%;
  right: 50%;
  color: #777;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 60px;
  font-size: 24px;
  line-height: 1.8;
}