:root {
  --c_: 0, 0, 0;
  --c: rgb(var(--c_));
  --b_: 255, 255, 255;
  --b: rgb(var(--b_));
  --o: 1;
  --g: rgb(113, 91, 139);
}



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

body {
  margin: 0;
  padding: 0;
}

/* COLOURS */

body {
  background-color: var(--b);
}

p, h1, svg, input {
  color: var(--c);
}

.separator, .thewheel {
  background-color: var(--c);
}

/* TEXT */

p, svg, .separator {
  font-family: 'EBGaramond', 'Times';
  filter: drop-shadow(0 0 0.5px rgba(var(--c_), 0.5)) drop-shadow(0 0 1px rgba(var(--c_), 0.2)) drop-shadow(0 0 2px rgba(var(--c_), 0.1));
  white-space: pre-wrap;
  letter-spacing: 0.03em;
  word-spacing: 0.06em;
}

p {
  font-size: 11pt;
  line-height: 1.8;
}

.title {
  font-family: 'EBGaramond', 'Times';
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-size: 16pt;
  margin: 24px 0 14px 0;
  width: calc(100% - 48px);
}

.paragraph, .author {
  margin: 0;
}

.paragraph, .index_body {
  text-align: justify;
}

.small_caps {
  font-weight: 500;
  font-size: 8pt;
}

.italic {
  font-style: italic;
}

.link_wrapper {
  position: relative;
  width: fit-content;
}

.issue_header, .archive_header {
  margin-top: 18px !important;
}
.issue_header {
  height: 20.5px;
}
.archive_header {
  height: 41px;
}

/* .label.home {
  font-size: 9.5pt !important;
} */

.input {
  position: absolute;
  top: 0px;
  left: 100%;
  box-sizing: border-box;
  background-color: transparent;
  outline: none;
  border: none;
  height: 20.4px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance:none;
}

.label, .tag, .link {
  margin: 0px;
  letter-spacing: -0.02em;
  filter: url('#smear_y') drop-shadow(0 0 1px rgba(var(--c_), 0.2)) drop-shadow(0 0 2px rgba(var(--c_), 0.1));
  line-height: 1.8;
}
.label, .link {
  font-family: 'Arial';
  font-size: 8.5pt;
}
.tag {
  font-family: 'Arial Narrow';
  padding-top: 0.5pt;
  font-size: 8pt;
  text-align: right;
}

.link {
  cursor: pointer;
  text-underline-offset: 4px;
}
.link:hover {
  text-decoration: underline;
}

.number {
  font-family: 'Junicode', 'Times';
}

.month {
  font-family: 'Arial Narrow';
}

.index_author, .index_title {
  max-height: 200px;
  overflow: hidden;
}

.index_author {
  margin: 10px 0px;
}
.index_body, .archive_title {
  margin: 5px 0px;
}
.index_title {
  margin: 0px
}

/* LAYOUT */

.page {
  width: 100%;
  height: 100%;
  top: 0px;
  position: absolute;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none; 
}
.page::-webkit-scrollbar { 
    width: 0;
    height: 0;
}

div {
  margin: 0;
  padding: 0;
}

.home_gradient {
  position: fixed;
  width: min(110vh, 110vw);
  height: min(110vh, 110vw);
  left: max(-5vh, calc(50vw - 55vh));
  top: max(-5vh, calc(50vh - 55vw));
}

.sidebar {
  width: 25%;
  height: 100%;
  position: fixed;
  left: 0px;
  top: 0px
}

.sidebar_labels {
  pointer-events: none;
  position: relative;
  top: 140px;
  left: 0px;
  padding-left: 22px;
}
.footer_labels {
  position: fixed;
  bottom: 18px;
  left: 0px;
  padding-left: 22px;
}

.main {
  box-sizing: border-box;
  width: calc(25% + 250px);
  position: absolute;
  left: 25%;
  top: 0px;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.section {
  flex: 1 0 auto;
}

.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;
}

.index_content_left, .index_content_right {
  width: 50%;
}
.archive_content_id {
  width: 20px;
}
.archive_content_left {
  width: 35%;
}
.index_content_left, .archive_content_left{
  padding-right: 36px;
}

/* ELEMENTS */

.separator {
  height: 1px;
  width: 100%;
  margin: 8px 0;
}
.page_item .separator {
  margin: 24px 0;
}

.thewheel {
  display: block;
  position: fixed;
  cursor: pointer;
  left: 10px;
  top: 10px;
  width: 110px;
  height: 132px;
  mask-image: url('/assets/images/logo.png');
  mask-size: contain;
  mask-repeat: no-repeat;
}
.page_home .thewheel {
  cursor: default !important;
}

.light_content {
  opacity: var(--o);
}

@media (max-width: 500px) {
  .thewheel {
    position: absolute;
  }

  .sidebar {
    position: relative;
    margin-top: 0px;
    width: 100%;
    top: 0px;
    left: 0px;
    height: 132px;
  }

  .sidebar_labels {
    position: absolute;
    top: 42px;
    left: 0px;
    padding-left: 122px;
    padding-right: 22px;
  }

  .footer_labels {
    position: absolute;
    bottom: 18px;
    left: -24px;
  }

  .main {
    position: relative;
    width: 100%;
    top: 0px;
    left: 0px;
    min-height: calc(100vh - 132px);
  }
  .index_content_left {
    width: 35%
  } 
  
  .index_content_right {
    width: 65%;
  }
}

@media (min-width: 1000px) {
  .main {
    left: calc(37.5% - 125px);
  }
}