/* styles for root*/
*{
  margin: 0;
  padding: 0;
}
html{
  height: 100%;
}
body{
  height: 100%;
  background: radial-gradient(white, rgb(236,236,236));
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
nav{
  width: 100%;
  height: 100px;
  background-color: rgb(153, 0, 255);
  box-shadow: 2px 2px 4px rgb(21, 255, 0);
}
nav ul{
  float: right;
}
nav ul li{
  float: left;
  list-style: none;
  position: relative;
}
nav ul li a{
  font-family: Arial;
  color: #51ff00;
  font-size: 24px;
  text-decoration: none;
  padding: 28px;
  display: block;
}
nav ul li a:hover{
  background-color: #ebebeb;
}
nav ul li ul{
  display: none;
  position: absolute;
  background-color: #8400ff;
  padding: 7px;
  border-radius: 0px 0px 12px 12px;
}
nav ul li:hover ul{
  display: block;
}
nav ul li ul li a{
  color: white;
  padding: 16px 20px;
  border-radius: 10px;
}
nav ul li ul li a:hover{
  background-color: #3cff00;
}
header {
  padding-top: 0px;
  padding-bottom: 0px;
}
nav {
  position: sticky;
  top: 0;
  font-weight: 500;

  /* Das ist dafür, dass die Navigation jederzeit anklickbar ist */
  z-index: 99;
}
footer,
nav {
  backdrop-filter: blur(8px);
}

.teaser {
  width: 100%;
  height: 300px;
}

@media screen and (min-width: 800px) {
  .teaser {
    height: 700px;
  }
}

.teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

footer ul,
nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer ul li,
nav ul li {
  padding: 16px;
}

.mitte {
  display: flex;
  justify-content: center;
  align-items: center;
}

section {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 50px;
  box-sizing: border-box;

  /* Das ist dafür, dass die Überschrift nicht hinter dem verschwomennen Bereich ist */
  padding-top: 80px;
  transform: translateY(-48px);
}