@font-face {
  font-family: Aboreto;
  font-style: normal;
  font-weight: normal;
  src:url("/fonts/Aboreto-Regular.ttf");
}
@font-face {
  font-family: Garamond;
  font-style: normal;
  font-weight: normal;
  src:url("/fonts/EBGaramond-Regular.ttf");
}
@font-face {
  font-family: Garamond;
  font-style: normal;
  font-weight: bold;
  src:url("/fonts/EBGaramond-Bold.ttf");
}
@font-face {
  font-family: Garamond;
  font-style: italic;
  font-weight: normal;
  src:url("/fonts/EBGaramond-Italic.ttf");
}
@font-face {
  font-family: Garamond;
  font-style: italic;
  font-weight: bold;
  src:url("/fonts/EBGaramond-BoldItalic.ttf");
}

.navigation,
.book-content {
  /*width: 600px;*/
  max-width: 600px;
  margin: 0 auto;
}
.navigation {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.book-content {
  /*height: 600px;
  max-height: 100%;
  overflow: hidden scroll;*/
  border-radius: 0.5rem;
  color: #000000;
  line-height: 1.6rem;
  overflow: hidden;
}

.chapter-header {
  background: #edecea;
  padding: 1rem;
}
.chapter-header h1 {
  font-size: 2rem;
  line-height: 2rem;
  font-family: "Aboreto";
  color: #000000;
  /* Correcting for website default styling */
  letter-spacing: 0;
  text-transform: none;
  margin: 1rem;
  padding: 0;
  text-shadow: none;
}
.chapter-header .chapter-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.chapter-header .chapter-number-container {
  font-family: "Aboreto";
  font-weight: bold;
  font-size: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 1rem;
}
.chapter-header .chapter-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.chapter-header .chapter-number-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chapter-header .chapter-number-image img {
  max-height: 2.2rem;
  max-width: 100%;
}

.markdown-content {
  background: #edecea;
  padding: 1rem 1.5rem;
  min-height: 100%;
  width: 100%;
}
.markdown-content p {
  font-size: 1.2rem;
  font-family: "Garamond";
  text-indent: 1.5rem;
  margin: 0;
  line-height: 1.6rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  widows: 2;
  orphans: 2;
  color: #000000;
}
.markdown-content p:first-child {
  text-indent: 0;
}
