:root {
  --theme: 147, 113, 164;
  --t: rgb(var(--theme));
  --page: rgb(244, 241, 238);
  --x: rgb(147, 113, 164);
}

@font-face {
  font-family: 'EBGaramond';
  src: url(fonts/EBGaramond-Regular.ttf) format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'EBGaramond';
  src: url(fonts/EBGaramond-Italic.ttf) format('truetype');
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'EBGaramond';
  src: url(fonts/EBGaramond-LightItalic.ttf) format('truetype');
  font-display: swap;
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Junicode';
  src: url(fonts/Junicode.ttf) format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Arial Narrow';
  src: url(fonts/ArialNarrow.ttf) format('truetype');
  font-display: swap;
}

body {
  background-color: var(--page);
  margin: 0;
  padding: 0;
}

/* TEXT */

p, h1, svg, .separator {
  font-family: 'EBGaramond', 'Times';
  color: var(--t);
  filter: drop-shadow(0 0 0.5px rgba(var(--theme), 0.5)) drop-shadow(0 0 1px rgba(var(--theme), 0.2)) drop-shadow(0 0 2px rgba(var(--theme), 0.1));
  white-space: pre-wrap;
}

h1 {
  font-family: 'EBGaramond', 'Times';
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-size: 24pt;
  margin: 40px 0 16px 0;
  filter: url('#bleed_y') drop-shadow(0 0 1px rgba(var(--theme), 0.2)) drop-shadow(0 0 2px rgba(var(--theme), 0.1));
  width: calc(100% - 48px);
}

.paragraph, .author {
  text-align: justify;
  letter-spacing: 0.03em;
  word-spacing: 0.06em;
  font-size: 11pt;
  line-height: 1.6;
  margin: 0;
}

.datestamp {
  color: var(--t);
  font-family: 'Arial Narrow', 'Arial';
  font-size: 8pt;
  filter: url('#smear_y') drop-shadow(0 0 1px rgba(var(--theme), 0.2)) drop-shadow(0 0 2px rgba(var(--theme), 0.1));
  opacity: 0.8;
  line-height: 1.4;
  transform-origin: top left;
  /* transform: rotate(90deg) translate(0, -100%); */
}

.footer_id {
  font-family: 'Junicode', 'Times';
  font-size: 10pt;
}

/* LAYOUT */

div {
  margin: 0;
  padding: 0;
}

.sidebar {
  position: absolute;
  width: 30%;
}

.section {
  position: absolute;
  width: 40%;
  height: 100%;
  left: 30%;
  display: flex;
  flex-direction: column;
}

.header {
  position: relative;
  display: flow-root;
}

.body {
  flex: 1 0 auto;
  position: relative;
  display: flow-root;
}

.footer {
  flex: 0 0 auto;
  position: relative;
  display: flow-root;
  height: 96px;
}

/* ELEMENTS */

.separator {
  height: 1px;
  width: 100%;
  background-color: var(--t);
  margin: 32px 0;
}

.thewheel {
  display: block;
  filter: url('#bleed_y') drop-shadow(0 0 1px rgba(var(--theme), 0.2)) drop-shadow(0 0 2px rgba(var(--theme), 0.1));
}