@font-face {
  font-family: "Augustus";
  src: url("../assets/augustus.otf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  color: #e8e0d0;
  background-color: #0b0a0a;
  font-family: "Augustus";
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::after,
*::before {
  transition: all 0.2s;
}

#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
}

img {
  image-rendering: optimizeSpeed;
  image-rendering: -o-crisp-edges;
  image-rendering: pixelated;
  image-rendering: optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
}

html,
body {
  min-height: 82%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0b0a0a;
  background-image: url("../assets/ornament_pix.jpg");
  background-size: 500px;
  background-blend-mode: darken;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #161414;
  border-radius: 20px;
  border: 2px #6e5a3c solid;
  padding: 5px 50px;
  margin: 20px 20px;
  width: -moz-fit-content;
  width: fit-content;
  background-image: url("../assets/top-left-pix.png"), url("../assets/top-right-pix.png"), url("../assets/bot-left-pix.png"), url("../assets/bot-right-pix.png");
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: left -3px top -3px, right -3px top -3px, left -3px bottom -3px, right -3px bottom -3px;
}

header > h1 {
  margin: 15px 5px;
}

.navigation {
  display: flex;
  margin: 15px 5px;
  gap: 50px;
}

a {
  color: #c2a35d;
  text-decoration: none;
  text-shadow: 3px 3px 3px #050404;
  font-style: italic;
}

a:hover {
  text-shadow: 0 0 10px #e6c97a;
}

a:visited {
  color: #e6c97a;
}

.header-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.star {
  width: 100px;
  fill: #700013;
}

.lantern {
  height: auto;
  width: 100px;
}

.column {
  height: auto;
  width: 150px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.column-top {
  height: auto;
  width: 150px;
  margin: 0;
  padding: 0;
}

.column-middle {
  min-height: 58.4vh;
  height: 100%;
  width: 150px;
  margin: 0;
  padding: 0;
}

.column-bottom {
  height: auto;
  width: 150px;
  margin: 0;
  padding: 0;
}

.corpus {
  font-family: "Courier New", Courier, monospace;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  height: 100%;
  width: 100%;
  margin: 0 20px;
}

.side-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: #161414;
  border-radius: 20px;
  border: 2px #6e5a3c solid;
  padding: 0 25px;
  margin: 10px 10px;
  background-image: url("../assets/top-left-pix.png"), url("../assets/top-right-pix.png"), url("../assets/bot-left-pix.png"), url("../assets/bot-right-pix.png");
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: left -3px top -3px, right -3px top -3px, left -3px bottom -3px, right -3px bottom -3px;
  background-size: 50px;
  padding: 0.5em 25px;
  height: -moz-fit-content;
  height: fit-content;
  width: 15%;
  font-size: 1em;
}

.side-panel > ul {
  margin: 15px 0;
  padding: 0 0 0 15px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: #161414;
  border-radius: 20px;
  border: 2px #6e5a3c solid;
  padding: 0 25px;
  margin: 10px 10px;
  background-image: url("../assets/top-left-pix.png"), url("../assets/top-right-pix.png"), url("../assets/bot-left-pix.png"), url("../assets/bot-right-pix.png");
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: left -3px top -3px, right -3px top -3px, left -3px bottom -3px, right -3px bottom -3px;
  background-size: 50px;
  width: 50%;
}

.content > p:nth-last-child(n) {
  margin-bottom: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #e8e0d0;
  margin: 15px 0 0 0;
}

p {
  color: #e0d3bd;
  margin: 5px 0;
  text-indent: 2em;
  text-align: justify;
}

hr {
  width: 80%;
  border: 2px #700013 solid;
  border-radius: 5px;
  box-shadow: 2px 2px 3px #050404;
}

p.poem {
  text-indent: 0;
  text-align: left;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.poems-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 10rem;
  width: 30%;
}

.ava {
  width: 200px;
  margin: 20px 20px 0 0;
  border-radius: 20px;
}

.intro {
  display: flex;
}