nav {
  display: flex;
  justify-content: center; /* Zentriert die `ul`-Liste */
  align-items: center;
  width: 100%;
  background-color: black;
  padding: 10px 0;
}

nav ul {
  display: flex;
  justify-content: center; /* Zentriert die `li`-Elemente in der `ul` */
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}


nav li {
  margin: 0.5em;
  background-color: black;
}
nav ul li {
  text-align: center;
  padding: 10px 20px;
}



nav a:focus,
nav a:hover,
nav a:active {
  text-decoration: underline;
}

nav a {
  display: flex;
  padding: 0.4em;
  text-decoration: none;
  font-weight: bold;

  box-shadow: 0 5px 10px gray;
  color: rgb(185, 252, 252);
  ;
  background-color: black;
  transition: all .25s ease-in;
}

.content {
  float: leftright;
  border-style: solid;
  margin-left: 120px;
  margin-right: 120px;
  padding: 10px;
  background-color: black;
  color: white;
}

body {
  background-color: black;
  font-family: 'Lucida Sans', sans-serif;
  font-size: 100%;
  color: white;
  margin-left: 80px;
  margin-right: 80px;
}


h2 {
    text-align: center;
}

h5 {
  text-align: center;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: black;
  color: white;
  font-size: 50%;
  text-align: center;
}

.box {

  bottom: 10em;
  left: 25em;
  background-color: white;
  padding: 10px;
  border: 3px solid #8b0000;
  border-radius: 5px;
  margin-left: 180px;
  margin-right: 120px;
  margin-top: 50px;

}

h1 {
  margin-top: 15px;
  color: rgb(185, 252, 252);
  font-size: 38pt;
  text-align: center;
}

.textcontainer {
  margin-left: 180px;
  margin-right: 120px;
  margin-top: 10px;
  margin-bottom: 50px;
  padding: 10px;
  background-color: black;
  color: white;
  text-align: center;
}


.list {
  margin-left: 180px;
  margin-right: 120px;
  margin-top: 5px;
  margin-bottom: 50px;
  padding: 10px;
  background-color: black;
  color: white;
  text-align: left;
}

* {
  box-sizing: border-box;
  }
  .parent {
  position: relative;
  max-width: 800px;
  margin-bottom: 20px;
  margin: 0 auto;
  }
  .parent img {
  vertical-align: middle;
  }
  .parent .text {
  position: absolute;
  top: 45%;
  left: 30%;
  text-shadow: 2px 2px 4px #000000;
  background: rgb(0, 0, 0); /* Fallback color */
  background: rgba(0, 0, 0, 0); /* Black background with 0.5 opacity */
  color: #ffffff;
  width: 100%;
  padding: 10px;
  }
  a {
    color:white;
    text-decoration: none;
  }

/* Common styles for all screen sizes */
.content,
body,
.footer,
.box,
h1,
.textcontainer,
.list,
*,
.parent {
  box-sizing: border-box;
}

body {
  background-color: black;
  font-family: 'Lucida Sans', sans-serif;
  font-size: 100%;
  color: white;
  margin-left: 80px;
  margin-right: 80px;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: black;
  color: white;
  font-size: 50%;
  text-align: center;
}

h1 {
  margin-top: 15px;
  color: rgb(185, 252, 252);
  font-size: 38pt;
  text-align: center;
}

/* Styles for medium-sized screens and above */
@media (min-width: 400px) {
  .content {
    float: left;
    border-style: solid;
    margin-left: 120px;
    margin-right: 120px;
    padding: 10px;
    background-color: black;
    color: white;
  }

  .box {
    bottom: 10em;
    left: 13em;
    background-color: white;
    padding: 10px;
    border: 3px solid #8b0000;
    border-radius: 5px;
    margin-left: 180px;
    margin-right: 120px;
    margin-top: 50px;
  }

  .textcontainer {
    margin-left: 180px;
    margin-right: 120px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 10px;
    background-color: black;
    color: white;
    text-align: center;
  }

  .list {
    margin-left: 10px;
    margin-right: 120px;
    margin-top: 5px;
    margin-bottom: 50px;
    padding: 10px;
    background-color: black;
    color: white;
    text-align: left;
  }

  .parent {
    max-width: auto;
    margin: 0 auto;
  }

  .parent .text {
    position: absolute;
    top: 40%;
   left: 6%;
  }
}