@import url("https://fonts.googleapis.com/css2?family=Rubik&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

h1 {
  font-size: 14px;
  text-align: left;
  font-family: "Rubik", sans-serif;
  margin-top: 20px;
  line-height: 160%;
  font-weight: 100;
  text-transform: uppercase;
  color: black;
  margin-left: 50px;
}

h2 {
  font-size: 14px;
  font-family: "Rubik", sans-serif;
  margin-top: 20px;
  line-height: 160%;
  font-weight: 100;
  text-transform: uppercase;
  color: white;
  text-align: center;
}

h3 {
  font-size: 38px;
  text-align: left;
  margin-top: 20px;
  color: tomato;
  font-family: "Rubik", sans-serif;
  font-weight: 100;
}

h4 {
  font-size: 14px;
  text-align: left;
  font-family: "Rubik", sans-serif;
  margin-top: 20px;
  line-height: 160%;
  font-weight: 100;
  text-transform: uppercase;
  color: black;
}

h5 {
  font-size: 16px;
  text-align: center;
  font-family: "Rubik", sans-serif;
  margin-top: 2px;
  margin-bottom: 60px;
  line-height: 160%;
  font-weight: 100;
  color: black;
}

h6 {
  font-size: 14px;
  text-align: center;
  font-family: "Rubik", sans-serif;
  margin-top: 2px;
  margin-bottom: 60px;
  line-height: 160%;
  font-weight: 100;
  color: rgb(75, 128, 0);
}

p {
  font-size: 26px;
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-weight: 100;
  color: black;
}

.bild-container {
  max-width: 1320px; /* maximale Breite */
  margin: 0 auto; /* zentriert das Ganze */
}

.bild-container img {
  width: 100%;
  height: auto;
}

.intro_container {
  padding-left: 20%;
  padding-right: 20%;
  text-align: center;
  margin-bottom: 100px;
  margin-top: 80px;
}

.cards_container {
  display: flex;
  background-color: white;
  justify-content: center;
}

.cards_container_none {
  display: flex;
  background-color: white;
  justify-content: center;
}

.card {
  margin: 30px;
}

.footer_container {
  display: flex;
  background-color: rgb(0, 0, 0);
  justify-content: space-between;
  padding: 50px 350px;
  padding-top: 180px;
}

.header_container {
  display: flex;
  background-color: rgb(255, 255, 255, 0.2);
  justify-content: space-between;
  padding: 10px 350px;
}

img {
  max-width: 100%;
}

header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
}

.content_nav {
  grid-column: 3;
  list-style: none;
  margin: 0;
  padding: 0;
}

.content_nav li {
  display: inline-block;
  padding-right: 10px;
}

.content_nav li a {
  text-decoration: none;
  color: black;
  position: relative;
  text-transform: uppercase;
  font-size: 18px;
  padding: 7px 10px;
}

#main {
  max-width: 1020px;
  margin: auto;
}

section {
  align-items: center;
  width: 1280;
  box-sizing: border-box;
}

@media screen and (max-width: 960px) {
  .cards_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    justify-content: center;
  }

  .bild-container {
    max-width: 280px; /* maximale Breite */
    margin: 0 auto; /* zentriert das Ganze */
  }

  .bild-container img {
    width: 100%;
    height: auto;
  }

  .cards_container_none {
    max-width: 280px; /* maximale Breite */
    margin: 0 auto; /* zentriert das Ganze */
  }

  .intro_container {
    padding-left: 12%;
    padding-right: 12%;
    margin-bottom: 30px;
  }

  .footer_container img {
    display: none;
  }

  .header_container {
    display: flex;
    background-color: rgb(255, 255, 255, 0.2);
    justify-content: space-between;
    padding: 10px 30px;
  }

  .footer_container {
    text-align: center;
    padding: 50px;
    justify-content: center;
  }

  .card img {
    max-width: 280px;
    margin: auto;
    padding: 0px;
  }

  h1 {
    font-size: 12px;
    text-align: center;
    margin-left: 0px;
  }

  h2 {
    font-size: 12px;
    text-align: center;
  }

  h4 {
    font-size: 12px;
    text-align: center;
  }

  h5 {
    font-size: 12px;
    text-align: center;
    color: black;
  }

  h6 {
    font-size: 12px;
    text-align: center;
    color: rgb(75, 128, 0);
  }

  p {
    font-size: 18px;
  }
}
