/* Kalam by Indian Type Foundry, distributed under the SIL Open Font License.
   Kept local so Elizabeth's letter also reads as handwriting offline. */
@font-face {
  font-family: 'Elizabeth Hand';
  src: url('assets/kalam-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.letter-page #letter {
  max-width: 650px;
  min-width: 0;
  font-family: 'Elizabeth Hand', 'Bradley Hand', cursive;
  font-size: 25px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.65;
  letter-spacing: 0;
  color: #29282b;
}

.letter-page #letter p {
  margin: 0 0 1.15em;
}

.letter-page #letter .letter-learning-link {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-skip-ink: auto;
}
.letter-page #letter .letter-learning-link:hover {
  background: var(--tint);
}
.letter-page #false-confession-passage { scroll-margin-top: 40px; }

.letter-page #letter .salutation {
  font-family: inherit;
  font-size: 29px;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 1.2em;
}

.letter-page #letter > p:nth-child(2)::first-letter {
  float: none;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  color: inherit;
}

.letter-page #letter .letter-short {
  font-size: 29px;
  font-style: normal;
  line-height: 1.55;
  margin: 1.1em 0;
  color: var(--blue-dark);
}

.letter-page #letter .letter-emphasis {
  padding: 0;
  border: 0;
  margin: 0 0 1.15em;
  font-size: inherit;
  font-style: normal;
  line-height: inherit;
  letter-spacing: 0;
  color: inherit;
}

.letter-page #letter .letter-signature {
  font-family: inherit;
  font-size: 34px;
  font-style: normal;
  line-height: 1.5;
  margin: 1.25em 0 0;
}

@media (max-width: 850px) {
  .letter-page #letter {
    max-width: 650px;
    margin-inline: auto;
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .letter-page #letter {
    width: 100%;
    font-size: 22px;
    line-height: 1.65;
  }

  .letter-page #letter .salutation {
    font-size: 25px;
  }

  .letter-page #letter .letter-short {
    font-size: 26px;
  }

  .letter-page #letter .letter-signature {
    font-size: 31px;
  }
}
