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

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

body {
  font:
    100%/1.5 Verdana,
    Helvetica,
    Arial,
    sans-serif;
  color: #444;
  background-color: #fff;
}

/* =================== main =================== */

main {
  width: 90%;
  max-width: 960px;
  min-width: 400px;
  margin: 2em auto;
}

/* ========================== nav ========================== */

nav ul {
  list-style-type: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

nav li.meinLogo {
  /* das Logo muss via CSS nach links gesetzt werden */
  margin-right: auto;
  img {
    width: 70px;
  }
}

nav li.current {
  font-weight: bold;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  border-bottom-color: currentcolor;
}

/* =========================== nav links =========================== */

nav a:link {
  color: #000;
  text-decoration: none;
}

nav a:visited {
  color: #5b5b5b;
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  color: red;
}

/* ============================= inhalt ============================= */

.inhalt {
  margin-top: 3em;

  a:link {
    color: black;
  }
  a:visited {
    color: #5b5b5b;
  }
  a:hover,
  a:focus {
    color: red;
  }
}

h2 {
  font-size: 100%;
}

article {
  margin-top: 3em;
  div {
    /* hier flexbox für Bild und Text daneben definieren! */
    display: flex;
    align-items: flex-start;
    gap: 20px;

    /* wie klappt es, dass beide Elemente nebeneinander stehen
    und den gleichen Platz benötigen? */
    figure,
    p {
      width: 100%;
    }
  }
}
article img {
  width: 100%;
  height: auto;
  display: block;
}
figcaption {
  /* ??? */
  background-color: #000;
  color: #fff;
  text-align: center;
}

/* ======================== footer ======================== */

footer {
  /* ??? */
  margin-top: 3em;
  border-width: 1px 0;
  border-top-style: solid;
  text-align: right;
  font-style: italic;
}
