* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  color: #e6e4da;
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "DreiFraktur";
  src:
    local(DreiFraktur),
    url("DreiFraktur.ttf");
}

@font-face {
  font-family: "LibreBaskerville";
  src:
    local(LibreBaskerville-Regular),
    local(LibreBaskerville),
    url("LibreBaskerville-Regular.ttf");
  font-style: normal;
}

@font-face {
  font-family: "LibreBaskerville";
  src:
    local(LibreBaskerville-Italic),
    url("LibreBaskerville-Italic.ttf");
  font-style: oblique;
}

@font-face {
  font-family: "LibreBaskerville";
  src:
    local(LibreBaskerville-Bold),
    url("LibreBaskerville-Bold.ttf");
  font-weight: bold;
}

.header {
  padding: 2em;
}

body {
  background-color: #1b1b1f;
}

.footer{
  padding: 2em;
}

p, li, h1, h2, h3, h4, h5, h6{
  padding-top: 0.05em;
  padding-bottom: 0.05em;
  text-wrap: wrap;
  text-wrap: pretty;
}

h1, h3, h5, .dropcap{
  font-family: "DreiFraktur", serif;
  color: #ea3576;
}

h2, h4, h6{
  color: #4b4a45;
}

h2, h3, h4, h5, h6, p, .novel{
  font-family: 'LibreBaskerville', 'Times New Roman', Times, serif;
}

p{
  font-size: 100%;
  line-height: 1.5em;
  text-indent: 2em;
  text-align: justify;
  max-width: 54ch;
}

.novel{
  font-size: 18px;
  font-size: min(2.6vw, 18px);
  margin: auto;
  padding-left: 1ch;
  padding-right: 1ch;
  width: fit-content;
  /* padding-left: 0.5em;
  padding-right: 0.5em; */
}

/* @media (orientation: landscape) {
} */

@media (orientation: portrait) {
  .novel {
    font-size: 2.6vw;
  }
}

.dropcap {
  float: left;
  font-size: 3.4em;
  line-height: 1em;
  padding-right: 8px;
  padding-left: 3px;
  padding-top: 0.3em;
}

.firstp{
  text-indent: 0;
}

/* @media (max-width: 720px) {
  p, .novel {
    font-size: 20px;
  }
}
@media (max-width: 660px) {
  p, .novel {
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  p, .novel {
    font-size: 16px;
  }
} */

.box{
  border: solid;
  border-color: #e6e4da;
  border-width: 3px;
  padding: 0.5em; 
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.box:hover {
  border-color: #ea3576;
}

.box h1, .box h2, .box h3, .box h4{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

.box h1{
  color: #e6e4da;
  float: left;
}

.box h2{
  color: transparent;  
  text-shadow: 0 0 0 #4b4a45;
  float: right;
}

.box h3{
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: #4b4a45;
  padding-bottom: 0.5em;
  clear: both;
}

.box h4{
  font-family: 'Times New Roman', Times, serif;
  font-size: 14px;
  color: #4b4a45;
}