:root {
  --main_color: orange;
  --secondary_color: darkgreen;
  --text_color: white;
  --ligth_secondary_color: green;
}

* {
  box-sizing: border-box; /* das ist damit Breite/Höhe-Angaben auch wirklich so sind und nicht padding und border mit berücksichtigt werden müssen*/
  hyphens: auto;
}

/*############################################*/

body { /* Damit alles linksbündig und ganz oben ist */
  margin: 0;
  padding: 0;
  background-color: var(--main_color);
}

section {
  min-height: 10vw;
  width: 100vw;
}

div {
  width: 50vw;
  padding: 1vw;
}

@media (max-width: 1000px) {
  div {
  width: 100vw;
  }
}

h1 {
  text-align: center;
  font-size: 40px;
  font-weight: bolder;
  padding: 0px;
  margin: 0px;
}

h2 {
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  padding: 0px;
  margin: 0px;
}

/*############################################*/


/*macht text linear von rechts nach links in den Farben eines Regenbogens*/
.rainbow_text {
  background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.zentrierter-Text {
  text-align: center;
  padding: 10px;
}

.bold {
  text-align: center;
  font-size: 25px;
  font-weight: bold;
}

.underline {
  text-decoration-line: underline;
}

.Blocksatz {
  text-align: justify;
}

.Einzug {
  display: flex;
  justify-content: space-around;
}

/*############################################*/

.logo {
  height: inherit;
  max-width: 20vw;
}

@media (max-width: 1000px) {
  .logo {
  max-width: 25vw;
  height: 15vw;
  }
}

nav {
  position: -webkit-stiky; /*für Safari */
  position: sticky;
  top: 0;
  left: 0vw;
  height: 5vw;
  z-index: 99;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: var(--secondary_color);
  color: var(--text_color);
  width: 100vw;
}

@media (max-width: 1000px) {
  nav {
  height: 15vw;
  }
}

nav ul {
  margin: 0;
  padding: 0;
  width: inherit; /*der div der die ul enthält hat 100% Breite, hiermit sag ich nur das der die übernehmen soll */
  display: flex;
  justify-content: space-around;
}

nav li {
  list-style: none;
}

nav li a {
  text-decoration: none;
  color: var(--text_color);
  padding: 1vw;
  display: block;
}

.navbar_links {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.navbar_links li:hover {
  background-color: var(--ligth_secondary_color)
}

/*############################################*/

#eilmeldung {
  height: auto;
  min-height: 20px;
  background-color: red;
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: white;
}

#eilmeldung  h1:nth-child(even){
  width: 100vw;
  color: white;
  background-color: darkred;
}

#eilmeldung  h1:nth-child(odd){
  width: 100vw;
  color: white;
  background-color: red;
}

/*############################################*/

#hero_section {
  display: flex;
  justify-content: center;
  padding-top: 2vw;
}

#hero_section h1 {
  width: 80vw;
  position: relative;
  font-size: 5rem;
  color: var(--secondary_color);
  background-color: transparent;
}

/*############################################*/

.quer_ausgerichtet {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  /*flex-wrap: wrap;*/
  align-content: center;
}
@media (max-width: 800px) {
  .quer_ausgerichtet{
    flex-direction: column;
    justify-content: center;
  }
}

.display_as_block {
  display: block;

  padding-right: 2vw;
}

.quer_ausgerichtet img {
  max-width: 50vw;
  height: auto;
  max-height: 30vw;
  padding: 1vw;
  object-fit: contain;
}

@media (max-width: 1000px) {
  .quer_ausgerichtet img{
  max-width: 80vw;
  max-height: 80vw;
  align-self: center;
  }
}

.flex_column .zentrierter-Text{
  height: 80px;
  margin: 0px;
}
@media (max-width: 1000px) {
  .flex_column .zentrierter-Text {
  height: auto;
  }
}

/*############################################*/

#unterstuetzen {
  justify-content: flex-start;
  border-spacing: 5px solid black;
}

/*############################################*/

.flex_column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*############################################*/

button {
  background-color: var(--secondary_color);
  border: none;
  color: white;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
  min-height: 10vw;
}

/* Darker background on mouse-over */
button:hover {
  background-color: var(--ligth_secondary_color);
}

/*############################################*/

footer p{
  margin: 5px;
  padding-right: 20px;
  padding-left: 20px;
}

#footer {
  width: 100vw;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  width: inherit;
  padding: 0vw;

}