/*Erläuterungen siehe OneNote*/
* {
  box-sizing: border-box;
}

/*Sorgt dafür, dass body auf 100% gestreckt wird und so der Footer 
      am unteren Ende unabhängig vom Platz angeordnet wird*/
html,
body {
  height: 100%;
  margin: 0;
}

/* Globale Stile */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
h1, h2, h3 {
  color:#F59C00;
  font-weight:700;
  font-size: 1.5em
}

/* Header-Stile */
header {
  background: linear-gradient(to bottom, #7d7e7d 0%, #7d7e7d 0%, #7d7e7d 0%, #0e0e0e 99%);
  padding: 0em;
  text-align: center;
}

/* Hauptinhalt-Stile */
.container {
  max-width: 1200px;
  width: 96%;
  margin-left: 1em;
  margin-right: 1em;
  padding: 0em;
  flex: 1;
}
.container h2 {
  border-bottom: #F59C00 0.1em solid;
  font-size: 1.2em;
  
}

/* Footer-Stile */
footer {
  position: relative;
  bottom: 0;
  width: 100%;
  color: white;
  /* Textfarbe */
  padding: 0.2em 0 0.2em 0;
  text-align: center;
  background: linear-gradient(to bottom, #7d7e7d 0%, #7d7e7d 0%, #7d7e7d 0%, #0e0e0e 99%)
}

footer div {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

/* Menü-Stile für mobile Geräte */
footer a {
  color: white;
  /* Textfarbe */
  text-decoration: none;
  font-size: 1.5em;
  display: block;
  /* top | right | bottom | left */
  /*padding: 0.1em 0 0.1em 0;*/
  border-radius: 0.3em;
  transition: all 0.2s ease;
}

footer a:hover {
  background-color: #796a4f;
  /* Dunklerer Hintergrund bei Hover */
}

/* Menü-Stile für größere Bildschirme */
@media only screen and (min-width: 40em) {
  footer {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: flex-start;
      align-items: stretch;
      align-content: normal;
      padding: 0;
      font-size: 1em;
  }

  footer div {
      margin-left: 0.3em;
      margin-right: 0.3em;
  }

  footer a {
      display: block;
      flex-grow: 0;
      flex-shrink: 1;
      flex-basis: auto;
      align-self: auto;
      order: 0;
      font-size: 1em;
      /* top | right | bottom | left */
      padding: 0.1em 0.3em 0.1em 0.3em
  }
}

/* Markierung des aktuellen Menüeintrags */
footer a.current {
  background-color: #F59C00;
}