html {
  font-size: 120%;
}

body {
  font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #112600;
  line-height: 1.4;
  background-color: #e7e7e7;
  margin: 0;
}

img {
  width: 100%; 
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  color: grey; 
}

/* Navigation */
.navi {
  padding: 1rem; /* der Abstand vom Rand - bezieht sich auf die Schriftgröße im html 120% also 19,2 */
  background-color: #365969;
}

.navi__liste {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.navi__link {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 0.8rem;
}

.navi__link--aktiv {
  font-weight: bold; 
  text-decoration: underline;
}

/* Callout */

.callout {
  background-color: #fff;
  padding: 2rem;
  display: flex; /* Elemente werden nebeneinander angezeigt*/
  justify-content: center; /* richte den Inhalt aus (center) */
  align-items: center;
  margin-bottom: 6rem; /* Abstand unten */
}

.callout__logo {
  width: auto;
  height: auto;
}

.callout__headline {
  font-size: 4.5rem;
  font-weight: normal;
  line-height: 1.2;
  margin: 0;
  padding-top: 0;
  color: #4a778c;
  letter-spacing: -4px;
}

/* Content */


.content {
  width: calc(100% - 2rem); /*links 1 rem und rechts 1 rem Platz*/
  max-width: 50rem; /* du darfst nicht größer werden als diese 50 rem */
  margin: auto; /* nimm den Außenabstand und verteile ihn gleichmäßig */
}

.beitrag {
  display: grid;
  gap: 1rem;
  grid-template-columns: 2fr 1fr;
  padding-bottom: 3rem;
}

.beitrag__header,
figure {
  grid-column: 1/-1;
}

.beitrag__headline {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.beitrag__infos {
  border: 1px solid grey;
  padding: 1.5rem;
  border-radius: .2rem;
}

.footer {
  padding: 1rem;
  color: white;
  background-color: #365969;
}


/* Mobilversion <= (kleiner gleich) 650 px - alles was wir hier schreiben ist für die Mobilversion relevant */
@media screen and (max-width: 650px) {
  html {
    font-size: 100%;
  }

  .beitrag {
    display: block;
  }

  .beitrag__headline {
    font-size: 1.5rem;
  }

  .callout {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .callout__headline {
    font-size: 2rem;
    letter-spacing: 0;
    padding: 0;
  }

  .callout__logo {
    width: 180px;

  }

}
