
body {
  background-color: black;
  color: white;
  font-family: courier;
}

html {
  font-size: 16px;
}

.poetry {
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 2;
  color: white;
}

.contentJ {
  max-width: 900px;
  margin: auto;
  text-align: justify;
  hyphens: auto;
}

.content1 {
  max-width: 700px;
  margin: auto;
}

.content2 {
  max-width: 300px;
  margin: auto;
}

.centered {
 text-align: center;
 display: block;
}

a {
  color: orange;
  text-decoration:none;
  font-weight: bold;
}

.img-large {
  max-width: 700px;
  height: auto;
  display: block;
  margin: auto;
}

@media (max-width: 600px) {
  .img-large {
    max-width: 95%;
  }
}

.img-gallery {
  max-height: 500px;
  width: auto;
  margin: auto;
}

@media (max-width: 600px) {
  .img-gallery {
    max-width: 95%;
    height: auto;
  }
}

.positioned {
  position: relative;
  right: 10%;
}

.kalender {
  border-bottom: 0px solid #ddd;
  padding: 0.4em 0;
}

.kalender hr {
  width: 60%;          /* however wide you want the line */
  max-width: 700px;    /* optional cap */
  margin: 0.8em auto;  /* auto left/right = centers it */
  border: none;
  border-top: 0px solid #ddd;
}

.kalender summary {
  cursor: pointer;
  font-size: 1.5em;
  font-weight: bold;
  display: inline-block;   /* wichtig, damit width wirkt */
  width: 700px;      /* Linie passt sich der Textbreite an */
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3em;
}

@media (max-width: 600px) {
  .kalender summary {
    width: 95%;
  }
}

.kalender summary::-webkit-details-marker {
  display: none; /* entfernt den Standard-Pfeil in Chrome/Safari */
}

.kalender summary::before {
  content: "▶";
  display: inline-block;
  font-size: 0.6em;
  margin-right: 0.5em;
  transition: transform 0.2s;
}

.kalender[open] summary::before {
  transform: rotate(90deg);
}

.kapitel p {
  margin-top: 0.8em;
  font-weight: bold;   /* bold */
  font-size: 1em;    /* bigger — relative to parent */
}

.kapitel {
  border-bottom: 0px solid #ddd;
  padding: 0.8em 0;
}

.kapitel hr {
  width: 60%;          /* however wide you want the line */
  max-width: 400px;    /* optional cap */
  margin: 0.8em auto;  /* auto left/right = centers it */
  border: none;
  border-top: 0px solid #ddd;
}

.kapitel summary {
  cursor: pointer;
  font-size: 1.3em;
  font-weight: bold;
  display: inline-block;   /* wichtig, damit width wirkt */
  width: 700px;      /* Linie passt sich der Textbreite an */
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3em;
}

@media (max-width: 600px) {
  .kapitel summary {
    width: 95%;
  }
}

.kapitel summary::-webkit-details-marker {
  display: none; /* entfernt den Standard-Pfeil in Chrome/Safari */
}

.kapitel summary::before {
  content: "▶";
  display: inline-block;
  font-size: 0.7em;
  margin-right: 0.5em;
  transition: transform 0.2s;
}

.kapitel[open] summary::before {
  transform: rotate(90deg);
}

.kapitel p {
  margin-top: 0.8em;
  font-weight: bold;   /* bold */
  font-size: 1em;    /* bigger — relative to parent */
}

.vocab-pair {
  display: flex;
  justify-content: center;
  gap: 3em;        /* reduce this, e.g. try 1em or 1.5em */
  max-width: 500px;
  margin: 0 auto;
}

.vocab-col {
  flex: 0 1 160px;   /* instead of flex: 1 */
}

.vocab-col.left {
  text-align: left;
}

.vocab-col.right {
  text-align: right;
}

.vocab-header {
  font-weight: bold;
  font-size: 1.3em;
  margin-bottom: 0.6em;
  text-align: center;
}

.vocab-col p {
  margin: 0.3em 0;
}

.slide-img {
  width: auto;      /* fixierte Breite am PC – nach Belieben anpassen */
  height: 500px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .slide-img {
    max-height: 250px;
    width: auto;
    max-width: 95%;
    height: auto;
  }
}

.slider {
  text-align: center;
}

.slide-hint {
  font-size: 0.85em;
  color: #666;
  margin-top: 4px;
  min-height: 1.2em;   /* reserviert immer Platz, auch wenn leer */
}

.slider-buttons {
  margin-top: 8px;
}

.slider-buttons span {
  margin: 0 10px;
}

.slide-caption {
  font-weight: bold;
  margin-top: 8px;
  font-size: 1em;
}

  .youtube-container {
    position: relative;
    width: 95%;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
  }
  
  .youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
