@font-face {
  font-family: HinaMincho;
  src: url('../fonts/HinaMincho-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

html, body {
  margin: 0;
  padding: 0 2rem;
  background: #FCCCB6;
  color: #41280E;
  font-family: HinaMincho;
  line-height: 1.5;
  font-size: 1.1rem;
}

.wrapper {
  background: #FFEBDA;
  margin: 1rem;
  padding: 1rem;
  display: flex;
  min-height: 89vh;
  flex: 1 1 auto;
}

.sidebar {
  background: #FFEBDA;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
}

.portrait {
  height: inherit;
  margin: 1rem;
}

.portrait img {
  width: 100%;
  height: inherit;
  mix-blend-mode: multiply;
  filter: saturate(2);
}

.music-player {
  width: 80%;
  margin: 0 auto;
  font-size: 0.9rem;
  padding: 0.6rem;
  background: #FFEBDA;
  border: solid 1px #FAA680;
  border-right-width: 5px;
  border-bottom-width: 5px;
  text-align: center;
}

.music-player audio {
  border: solid 1px #FAA680;
  width: 100%;
  filter: opacity(50%);
}

.container {
  background: #FFEBDA;
  margin: 0;
  flex: 3 1 0;
}

.navigation {
  display: flex;
  margin: 1rem;
  width: 100%;
  margin: 0;
}

.navigation ul {
  padding-right: 2rem;
  display: flex;
  margin-left: auto;
  gap: 2rem;
  list-style-type: none;
  font-size: 1.25rem;
}

.content {
  height: 76vh;
  overflow: auto;
  scrollbar-color: #FAA680 #FFEBDA;
}

.content article {
  padding: 1rem;
}

.story {
  font-style: italic;
  margin-bottom: 3rem;
}

.story ul {
  list-style-type: upper-roman;
}

.story li {
  padding-left: 1rem;
  margin: 1rem;
}

footer {
  font-size: 1rem;
  text-align: center;
  margin-top: 2vh;
}

footer a {
  color: #c4200e;
}

footer a:hover {
  color: #ff4c38;
}

blockquote {
  margin: 1rem 2rem;
  ;
  padding: 25px;
  border-left: 10px solid #FAA680;
  font-style: italic;
}

blockquote p {
  line-height: 1.5;
  margin: 0;
}

.infobox {
  margin: 1rem;
  padding: 1rem;
  display: flex;
  justify-content: space-around;
}

.infobox img {
  height: 100%;
  width: auto;
}

.infowrap {
  display: flex;
  flex-direction: column;
  width: 80%;
}

.info {
  display: flex;
  justify-content: space-between;
  align-content: center;
  padding: 0.5rem;
  background: #FFDFC5;
}

.info:nth-child(even) {
  background: #FFEBDA;
}

.info span:nth-child(1) {
  font-weight: bold;
}

.info span:nth-child(2) {
  font-style: italic;
}

.letter {
  width: 33%;
  background: #FFDFC5;
  padding: 0.20rem 1rem;
  font-style: italic;
  text-decoration: underline;
  border-radius: 5px;
  box-shadow: 8px 8px 8px rgba(79, 33, 1, .3);
}

a {
  color: #E04C09;
  text-decoration: none;
}

a:hover {
  color: #FAA680;
  text-decoration: underline;
}

h2 {
  border-bottom: 4px solid #41280E;
}

@media screen and (max-width: 1100px) {

  html, body {
    padding: 0;
  }

  .wrapper {
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    background: none;
  }

  .sidebar {
    width: 100%;
    order: 2;
  }

  .portrait {
    width: 80%;
  }

  .container {
    padding: 1rem;
  }

  .navigation {
    flex-wrap: wrap;
    text-align: center;
    flex-direction: column;
  }

  .navigation ul {
    justify-content: center;
    margin: 0;
    margin-bottom: 1rem;
  }

  .content {
    height: 100vh;
    width: 100%;
  }

  .infobox {
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  .infowrap {
    width: 100%;
    margin-top: 0;
  }

  .letter {
    width: 80%;
    margin: 0 auto;
  }
}