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

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

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

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;
}

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

.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;
}

.portrait {
  float: right;
  display: inline;
}

.rechts {
  float: right;
  margin-left: 10px;
}

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

  .cards_container_none {
    display: none;
  }

  .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: 320px;
    margin: auto;
    padding: 0px;
  }
  .rechts {
    display: none;
  }
  h4 {
    font-size: 12px;
    text-align: center;
  }

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

  h2 {
    font-size: 12px;
    text-align: center;
  }
  p {
    font-size: 18px;
    padding: 30px;
  }
}
