html,
body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

a {
  text-decoration: none;
}
li {
  list-style: none;
}
hr {
  color: grey;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
#logo {
  transition: all 300ms;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
}
li {
  transition: all 300ms;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
}
p {
  font-size: 18px;
}

header {
  width: 100%;
  height: 8%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgb(245, 244, 244);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 1.9);
  z-index: 1;
}

#logo {
  width: 7%;
  float: left;
  margin: 10px 0 0 40px;
}

#logo img {
  width: 210%;
}

#logo:hover {
  opacity: 0.5;
}

header nav {
  float: right;
  margin: 10px 30px 0 0;
}

header nav ul li {
  float: left;
  margin-right: 16px;
  margin-bottom: 0%;
}

header nav ul li a {
  font-size: 24px;
  color: darkslategray;
}

header nav ul li a img {
  width: 32px;
  position: relative;
  margin-top: 0%;
}

header nav ul li:hover {
  padding-top: 1px;
}

header nav ul li a:hover {
  color: rgb(67, 193, 243);
}

footer {
  height: 55px;
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0%;
  width: 100%;
  background: rgb(245, 244, 244) !important;
  border: 0.5px;
  border-style: solid;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

footer p {
  font-size: 20px;
}

footer p a {
  font-size: 24px;
  color: darkslategray;
}

footer p a:hover {
  color: rgb(67, 193, 243);
  padding-bottom: 20px;
}

h1 {
  font-size: 34px;
  color: rgb(78, 78, 78);
}
.seitentext2 {
  display: flex;
  float: center;

  width: 80%;
  background-color: cadetblue;
  font-size: 44px;
}

#text2 {
  font-size: 29px;
  margin: auto;
  justify-content: center;
  width: 100%;
  text-align: center;
  margin-top: 10%;
  margin-right: 7%;
  margin-left: 0%;
  color: #838080;
}
.obersection {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

.Bild-obersection {
}

#img2 {
  height: 100%;
  width: 100%;
  padding: 17px;
  border: 1px;
  border-style: solid;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  margin: 5%;
  margin-top: 10%;
  margin-right: 0%;
}

@media (max-width: 1400px) {
  .obersection {
    flex-direction: column;
    margin-bottom: 10%;
    margin: 2%;

    align-items: center;
  }

  #img2 {
    height: 70%;
    width: 80%;
    padding: 17px;
    border: 1px;
    border-style: solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    margin: 10%;
    margin-top: 20%;
    margin-bottom: 0%;
  }

  #logo {
    width: 10%;
  }

  header {
    height: 10%;
  }

  #text2 {
    margin-bottom: 20%;
  }
}

@media (max-width: 712px) {
  .obersection {
    flex-direction: column;
    margin-bottom: 15%;
    margin: 2%;
    align-items: center;
  }

  #img2 {
    height: 70%;
    width: 80%;
    padding: 17px;
    border: 1px;
    border-style: solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    margin: 10%;
    margin-top: 45%;
  }

  #logo {
    width: 15%;
  }

  header {
    height: 13%;
  }

  header nav ul li a {
    font-size: 18px;
  }

  footer p {
    font-size: 15px;
  }

  footer p a {
    font-size: 15px;
  }

  #text2 {
    font-size: 22px;
  }

  #text2 {
    font-size: 22px;
    margin-bottom: 20%;
  }
}

@media (max-width: 400px) {
  .obersection {
    flex-direction: column;
    margin-bottom: 20%;
    margin: 2%;
    align-items: center;
  }

  #img2 {
    height: 70%;
    width: 80%;
    padding: 7px;
    border: 1px;
    border-style: solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    margin: 10%;
    margin-top: 45%;
  }

  header {
    width: 100%;
    height: 18%;
  }

  #logo {
    width: 15%;
    margin: 10px 0px 0 40px;
  }

  header nav ul li a {
    font-size: 18px;
  }

  footer p {
    font-size: 12px;
  }

  footer p a {
    font-size: 12px;
  }

  #text2 {
    font-size: 22px;
    margin-bottom: 20%;
    text-align: center;
  }
}
