@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url(/fonts/AtkinsonHyperlegibleNext-VariableFont_wght.ttf) format(truetype) tech(variations);
  font-weight: 200 800;
  font-display: swap; }

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url(/fonts/AtkinsonHyperlegibleNext-Italic-VariableFont_wght.ttf) format(truetype) tech(variations);
  font-style: italic;
  font-weight: 200 800;
  font-display: swap; }

@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url(/fonts/AtkinsonHyperlegibleMono-VariableFont_wght.ttf) format(truetype) tech(variations);
  font-weight: 200 800;
  font-display: swap; }

@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url(/fonts/AtkinsonHyperlegibleMono-Italic-VariableFont_wght.ttf) format(truetype) tech(variations);
  font-style: italic;
  font-weight: 200 800;
  font-display: swap; }

@font-face {
  font-family: "Noto Sans JP";
  src: url(/fonts/NotoSansJP-VariableFont_wght.ttf) format(truetype) tech(variations);
  font-weight: 100 900;
  font-display: swap; }

:root {
  /* with APCA Lc values: https://www.myndex.com/APCA/ */
  --bg-color: #111;
  --fg-color: #eee;
  /* eee/111: -96.3 */
  --secondary-fg-color: #ccc;
  /* ccc/111: -75.2 */
  --secondary-bg-color: #222;
  /* eee/222: -94.3 */
  --link-color: #ff5968;
  /* ff5968/111: -45.0 */
  --link-hover-color: #c00;
  --link-visited-color: #e055ff;
  /* e055ff/111: -45.1 */
  --code-fg-color: #6f6;
  /* 6f6/242424: -86.3 */
  --code-bg-color: #242424;
  --item-outer-border-color: #f99;
  --item-inner-border-color: #622;
  --warning-color: #c00; }

body {
  background: var(--bg-color);
  color: var(--fg-color);
  font-family: "Atkinson Hyperlegible Next", "Noto Sans JP", sans;
  font-weight: 400;
  margin: 40px auto;
  max-width: 650px;
  padding: 0 0.5em;
  font-size: 20px;
  line-height: 1.6;
  overflow-wrap: break-word; }

header {
  margin-top: 2rem;
  text-align: center;
  margin-bottom: 2rem; }
  header h1 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 36px; }

#date {
  color: var(--secondary-fg-color);
  font-size: 18px; }

#post-list {
  margin-bottom: 3rem; }

article {
  margin-top: 2rem;
  margin-bottom: 3rem;
  border: 1px solid var(--item-outer-border-color);
  border-radius: 10px; }
  article > * {
    padding-left: 15px;
    padding-right: 15px; }
  article header {
    margin: 0;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--item-inner-border-color);
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center; }
    article header h2 {
      font-size: 24px; }
  article footer.tags {
    border-top: 1px solid var(--item-inner-border-color);
    padding-top: 5px;
    padding-bottom: 10px;
    justify-content: flex-start; }

.list-item-title {
  margin-top: 10px;
  margin-bottom: 0px; }

.list-item-date {
  margin-top: 10px;
  font-size: 18px;
  color: var(--secondary-fg-color); }

.list-item-summary {
  margin-bottom: 15px;
  margin-top: 20px; }

.read-more {
  font-weight: bold;
  font-size: 18px; }

.tags {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  column-gap: 10px;
  row-gap: 5px; }

.tag {
  font-size: 18px; }

header .desc {
  margin-top: -2rem; }

a {
  color: var(--link-color); }
  a svg path {
    stroke: var(--link-color); }
    a svg path.fill {
      fill: var(--link-color); }

a:visited {
  color: var(--link-visited-color); }
  a:visited svg path {
    stroke: var(--link-visited-color); }
    a:visited svg path.fill {
      fill: var(--link-visited-color); }

a:hover {
  color: var(--link-hover-color); }
  a:hover svg path {
    stroke: var(--link-hover-color); }
    a:hover svg path.fill {
      fill: var(--link-hover-color); }

a.svg {
  display: inline-block;
  text-decoration: none; }

code, pre {
  font-family: 'Atkinson Hyperlegible Mono', monospace;
  color: var(--code-fg-color);
  background: var(--code-bg-color);
  padding-top: 2px;
  padding-bottom: 2px;
  border-radius: 4px;
  hyphens: manual; }

code {
  padding-left: 4px;
  padding-right: 4px; }

pre {
  padding-left: 6px;
  padding-right: 6px;
  overflow-x: auto;
  white-space: pre-wrap; }

pre code {
  padding: 0;
  border-radius: 0; }

blockquote {
  padding-left: 1em;
  border-left: 3px solid var(--fg-color); }

blockquote blockquote {
  margin-left: 0; }

hr {
  color: var(--fg-color);
  background-color: var(--fg-color);
  height: 1px;
  border: 0 none;
  width: 40%; }

img {
  max-width: 100%; }

a.back {
  text-decoration: none; }

.back svg {
  height: 40px;
  width: 40px; }

header nav {
  font-size: 36px; }

header nav svg {
  height: 36px;
  width: 36px;
  transform: translate(0, 6px); }

nav.series-nav {
  margin: 1em 0;
  border: 1px solid var(--item-outer-border-color);
  border-radius: 10px; }
  nav.series-nav .overview {
    text-align: center;
    border-bottom: 1px solid var(--item-inner-border-color); }
    nav.series-nav .overview .title {
      font-weight: bold; }
    nav.series-nav .overview .tagline {
      font-style: italic;
      font-size: 18px; }
  nav.series-nav .neighbors {
    display: flex;
    justify-content: space-around; }

nav.series-start {
  margin: 1em auto;
  border: 1px solid var(--item-outer-border-color);
  border-radius: 10px;
  text-align: center;
  width: 80%;
  font-weight: bold; }

.cw {
  text-align: center;
  font-size: 18px;
  border: 2px solid var(--warning-color);
  border-radius: 5px;
  width: fit-content;
  box-sizing: border-box;
  padding: 0 1em;
  margin-top: 1em;
  margin-bottom: 1em; }

main .cw {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto; }

.prompt {
  text-align: center;
  font-size: 18px;
  border-left: 1px solid var(--item-outer-border-color);
  border-right: 1px solid var(--item-outer-border-color);
  border-radius: 10px;
  width: fit-content;
  max-width: 80%;
  margin: 1em auto; }
  .prompt > div {
    margin: 0 1em; }

footer {
  text-align: center;
  margin-top: 1.5em; }
  footer address, footer #copyright {
    margin: 0;
    font-size: 18px; }

table {
  border-spacing: 10px 0; }

figure.video-container {
  margin: 15px 0;
  border-radius: 10px;
  background-color: var(--secondary-bg-color); }
  figure.video-container video {
    display: block;
    width: 100%;
    border-radius: 10px; }
  figure.video-container figcaption {
    font-weight: bold;
    font-size: 22px;
    margin-top: 0;
    margin-left: 10px; }

.smallcaps {
  font-variant-caps: small-caps; }

.emoji {
  display: inline-block;
  height: 1.25em;
  vertical-align: middle;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  margin: 0px; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0; }

.page-item {
  list-style: none; }
  .page-item.active a {
    background-color: var(--link-color);
    color: var(--bg-color);
    border-radius: 4px;
    padding: 0 4px; }
  .page-item.disabled a {
    color: var(--fg-color); }

@keyframes spin {
  0% { }
  100% {
    transform: rotate(360deg); } }
