body {
  margin: 0;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

footer {
  width: 100%;
  padding: 12px 0;
  text-align: center;
  background-color: #ffd374;
}

footer a {
  color: #5e7719;
}

.layout {
  min-height: calc(100vh - 43px);
  box-sizing: border-box;
  padding-bottom: 2rem;
}

@media screen and (min-width: 742px) {
  .layout {
    min-height: calc(100vh - 163px);
  }
}

.site-header-content {
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  display: none;
}

@media screen and (min-width: 742px) {
  .site-header-content {
    display: flex;
  }
}

img.book-cover {
  width: 200px;
  height: 120px;
  object-fit: cover;
}

nav ul {
  display: flex;
  list-style-type: none;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

nav ul li a {
  text-decoration: none;
  color: #333;
}

.pages {
  text-transform: uppercase;
  background-color: #ffd374;
  font-family: Georgia, "Times New Roman", Times, serif;
  border-top: 1px solid #b1a76c;
}

.pages a {
  color: #5e7719;
  padding: 12px 24px;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: bold;
  border-right: 1px solid #b1a76c;
}

.pages a:hover {
  background-color: #d1da8c;
  color: #303030;
}

.selected a {
  background-color: #fff;
}

.vocalises {
  border-bottom: 1px solid #ccc;
  display: none;
}

@media screen and (min-width: 742px) {
  .vocalises {
    display: block;
  }
}

.vocalises a {
  padding: 12px;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: bold;
}

.vocalises a:hover {
  color: #000;
}

.page {
  width: 100%;
  max-width: 1156px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 8px;
}

.page-info {
  max-width: 680px;
  padding: 1rem;
}

.audio-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 320px;
}

#voice-selection button {
  background: none;
  border: none;
  outline: none;
  padding: 4px 8px;
  margin: 0;
  cursor: pointer;
}

#voice-selection button span {
  border-bottom: 1px dashed #000;
}

#voice-selection button:hover span {
  border-bottom-style: solid;
}

figure {
  margin: 0;
}

.content-box {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

img {
  max-width: 100%;
}

.additional-info {
  max-width: 100%;
  width: 320px;
}

.plain-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.plain-list li {
  padding: 8px 0;
}

.plain-page {
  width: 100%;
  max-width: 1024px;
  padding: 1rem;
  box-sizing: border-box;
  margin: 0 auto;
}

.playing-sheet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.otsake {
  font-size: 1.4rem;
  line-height: 1.6rem;
}

.fonet {
  color: #33601a;
  font-size: 1.2rem;
  line-height: 1.5rem;
}

.ital {
  font-weight: bold;
}

.runo {
  font-style: italic;
}
