* {
  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;
  justify-content: flex-end;
}

/* hier flexbox für das Menü definieren! */

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: 3px solid;
}

/* =========================== 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: rgb(187, 0, 255);
}

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

.inhalt {
  border-bottom: 1px solid;

  padding-bottom: 50px;

  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 {
    display: flex;
    gap: 20px;
    /* hier flexbox für Bild und Text daneben definieren! */

    /* wie klappt es, dass beide Elemente nebeneinander stehen
    und den gleichen Platz benötigen? */
    figure,
    p {
      width: 100%;
      /* ??? */
    }
  }
}

figcaption {
  background-color: #000;
  color: white;
  margin-top: -7px;
  height: 30px;
  text-align: center;
  padding-top: 3px;

  /* ??? */
}

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

footer {
  text-align: end;
  /* ??? */
}
