/**{
  margin: 0; padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: capitalize;
  text-decoration: none;
}

body{
  min-height: 100vh;
  background: url(images/hintergrundbild.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}*/

:root{
  --nav-hintergrund-color: rgb(94, 180, 241, 0.5);
  --nav-shadow-color: rgb(12, 7, 64);
  --nav-oveerflow-color: rgb(170, 165, 221);
}

header{
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--nav-hintergrund-color);
  box-shadow: 0 5px 10px var(--nav-shadow-color);
  padding: 0px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(50px);
  z-index: 1000;
}

header .logo{
  font-weight: bolder;
  font-size: 25px;
  color: #333;
  margin-top: 5px;
}

header .navbar ul{
  list-style: none;  
}

header .navbar ul li{
  position: relative;
  float: left;
}

header .navbar ul li a{
  font-size: 20px;
  padding: 10px;
  color: #3c257b;
  display: block;
  text-decoration: none;
  border-radius: 5px;
  transition: 1.0s ease;
}

header .navbar ul li a:hover{
  background-color: #290687;
  color: #ffffff;
  }

header .navbar ul li ul{
  position: absolute;
  left: 0;
  width: 200px;
  background: #96d6fe;
  display: none;
  border-radius: 10px;
}

header .navbar ul li ul li{
  width:  100%;
  border-top: 1px solid rgba(0,0,0,.1);
  padding-left: 0px;
}

header .navbar ul li ul li ul{
  left:  200px;
  top:  0;
}

header .navbar ul li:focus-within > ul,
header .navbar ul li:hover > ul{
  display: initial;
}

#menu-bar{
  display: none;
}

header label{
  font-size: 20px;
  color: #333;
  cursor: pointer;
  display: none;

}


@media(max-width:991px){

  header{
    padding: 10px;
  }

  header label{
    display: initial;
  }
  
  header .navbar{
    position: absolute;
    top: 100%; left: 0;right: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.1);
    display: none;
  }

  header .navbar ul li{
    width: 100%;
  }

  header .navbar ul li ul{    /**/
    position: relative;
    width:100%;
  }

  header .navbar ul li ul li{
    background: #eee;
    padding-left: 20px;
  }

  header .navbar ul li ul li ul{
    width: 100%;
    left: 0;
  }

}
#menu-bar:checked ~ .navbar{
  display: initial;
}