html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 280px;
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
}

.reconstructie-melding {
  position: relative;
  z-index: 1000;
  padding: .65rem 1rem;
  background: #1f2937;
  box-shadow: 0 2px 8px #0004;
  color: #fff;
  font: 600 14px/1.4 system-ui, sans-serif;
  text-align: center;
}

.reconstructie-melding p {
  margin: 0;
}

.reconstructie-melding a {
  color: #fff;
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.gedicht-anda {
  min-height: 100vh;
  background: #030419 url("../kandidaten/sterrenhemel-kandidaat.webp") repeat;
  color: #ffff00;
}

.gedicht-anda-pagina {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.gedicht-anda article {
  position: relative;
}

.gedicht-anda h1,
.anda-tekst {
  font-size: clamp(18px, 4vw, 24px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.22;
  text-align: center;
}

.gedicht-anda h1 {
  margin: 0 0 1.25em;
}

.historische-punten {
  position: absolute;
  top: 96px;
  left: 50%;
  color: #ffff00;
  font-size: 18px;
  font-weight: 700;
  transform: translateX(-50%);
}

.anda-tekst p {
  margin: 0 0 1.22em;
}

.anda-tekst p:nth-child(4),
.anda-tekst p:nth-child(8) {
  margin-bottom: 2.44em;
}

.gedicht-herkomst {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.gedicht-afbeeldingen {
  display: grid;
  grid-template-columns: 182px 201px;
  gap: 34px 56px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}

.vertaling-tegel {
  position: relative;
  display: block;
  width: 182px;
  height: 72px;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.vertaling-tegel img {
  display: block;
  width: 182px;
  height: 72px;
}

.vertaling-tegel span {
  position: absolute;
  top: 19px;
  left: 22px;
}

.constanze-portret {
  width: 201px;
  margin: 0;
}

.constanze-portret img {
  display: block;
  width: 199px;
  max-width: 100%;
  height: auto;
  border: 0;
}

.constanze-portret figcaption {
  margin-top: 9px;
  color: #ffff00;
  font-size: 13px;
  line-height: 1.3;
}

.gedicht-eeuwigheid {
  min-height: 100vh;
  background: #fff;
  color: #000;
}

.eeuwigheid-pagina {
  padding: 0 16px 48px;
}

.eeuwigheid-blad {
  width: min(100%, 451px);
  min-height: 977px;
  margin: 0 auto;
  padding: 16px 10px 5px;
  overflow-wrap: break-word;
  background: #ffffcc;
  text-align: center;
}

.eeuwigheid-blad h1,
.eeuwigheid-tekst {
  font-size: clamp(17px, 4.4vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}

.eeuwigheid-blad h1 {
  margin: 0 0 1.2em;
}

.eeuwigheid-tekst p {
  margin: 0 0 1.2em;
}

.datum {
  margin: 0 0 42px;
  font-size: 16px;
  line-height: 1.35;
}

.datum small {
  font-size: 10px;
  font-weight: 700;
}

.vertaling h2 {
  margin: 0 0 1em;
  font-size: 13px;
  line-height: 1.3;
}

.vertaling h3,
.vertaling p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.vertaling h3 {
  margin: 0 0 1.2em;
}

.vertaling p {
  margin: 0 0 1.2em;
}

.voetstappen {
  display: block;
  width: min(100%, 430px);
  height: 17px;
  margin: 10px auto 0;
}

.vertaling-anda {
  min-height: 100vh;
  background: #fff url("../files/stenen.jpg") repeat;
  color: #000;
}

.vertaling-anda-pagina {
  position: relative;
  width: 628px;
  height: 407px;
  margin: 0;
}

.vertaling-anda-tekst {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 3px;
  width: 344px;
  height: 384px;
  text-align: center;
}

.vertaling-anda-tekst h1,
.vertaling-couplet,
.vertaling-couplet p {
  margin: 0;
  font: bold 18px/21px Helvetica, Arial, sans-serif;
}

.vertaling-anda-tekst h1,
.vertaling-couplet {
  margin-bottom: 21px;
}

.vertaler {
  margin: 0;
  font: 10px/13px Helvetica, Arial, sans-serif;
}

.vertaling-anda-afbeelding {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 347px;
  width: 281px;
  height: 407px;
  margin: 0;
}

.vertaling-anda-afbeelding img {
  display: block;
  width: 281px;
  height: 407px;
  border: 0;
}

@media (max-width: 500px) {
  .gedicht-afbeeldingen {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .vertaling-tegel {
    order: 2;
  }

  .constanze-portret {
    order: 1;
  }

  .eeuwigheid-pagina {
    padding-right: 0;
    padding-left: 0;
  }

  .eeuwigheid-blad {
    padding-right: 12px;
    padding-left: 12px;
  }

  .vertaling-anda-pagina {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 18px;
    padding: 14px 8px 24px;
  }

  .vertaling-anda-tekst,
  .vertaling-anda-afbeelding {
    position: static;
    width: 100%;
    height: auto;
  }

  .vertaling-anda-tekst h1,
  .vertaling-couplet,
  .vertaling-couplet p {
    font-size: 16px;
    line-height: 20px;
  }

  .vertaling-anda-tekst h1,
  .vertaling-couplet {
    margin-bottom: 20px;
  }

  .vertaling-anda-afbeelding img {
    width: min(100%, 281px);
    height: auto;
    margin: 0 auto;
  }
}
