:root {
  --font-size-main: 1.1rem;
  --font-size-home-header: 1.5rem;
  --font-size-nav: 1.4rem;
  --font-size-banner: 3rem;
  --font-size-footer: 0.9rem;
  --font-size-code: 1rem;
  --logo-size: clamp(400px, 90vw, 700px);
  --max-width: 120ch;
  --content-margins: 2rem auto;
  --content-border: 2px dashed #98971a;
  --prose-img-size: clamp(300px, 100%, 700px); }

@media (max-width: 768px) {
  :root {
    --font-size-main: 1rem;
    --font-size-home-header: 1.1rem;
    --font-size-nav: 1.2rem;
    --font-size-banner: 2rem;
    --font-size-footer: 0.9rem;
    --font-size-code: 1rem;
    --logo-size: 600px;
    --max-width: 50ch;
    --content-margins: 10px;
    --content-border: 2px dashed #98971a;
    --prose-img-size: clamp(250px, 100%, 650px); } }

@font-face {
  font-family: "vhs-gothic";
  src: url("/font/vhs-gothic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap; }

@font-face {
  font-family: "IBM";
  src: url("/font/IBMPlexMono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap; }

@font-face {
  font-family: "Iosevka";
  src: url("/font/Iosevka-Aile-compressed.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap; }

@font-face {
  font-family: "Iosevka";
  src: url("/font/Iosevka-Alie-Bold-compressed.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap; }

* {
  box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background-color: #1d2021;
  font-family: "Iosevka", sans-serif;
  color: #ebdbb2; }

main {
  max-width: var(--max-width);
  margin: 0 auto; }

ul {
  list-style: none;
  padding-left: 0; }

a {
  color: #98971a;
  text-decoration: underline; }
  a:hover {
    color: #cc241d; }
  a:visited {
    color: #928374; }

.site-header {
  text-align: center; }

.banner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center; }
  .banner img {
    width: var(--logo-size);
    height: auto;
    padding: 1rem; }

.banner__text {
  font-family: "vhs-gothic", monospace;
  font-style: normal;
  font-weight: 400;
  font-size: var(--font-size-banner); }

.main-nav {
  font-family: "vhs-gothic", monospace;
  font-style: normal;
  font-weight: 400;
  font-size: var(--font-size-nav);
  font-synthesis: none;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  margin-top: 1rem; }
  .main-nav ul {
    list-style: none;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem; }
  .main-nav a {
    text-decoration: none;
    color: #ebdbb2; }
    .main-nav a:hover {
      text-decoration: underline overline;
      color: #98971a; }
    .main-nav a.active {
      font-weight: bold;
      color: #98971a; }

.site-footer {
  margin-bottom: 4rem;
  padding: 1rem 0;
  text-align: center;
  font-size: var(--font-size-footer);
  color: #a89984; }
  .site-footer footer-inner {
    display: flex;
    justify-content: center;
    gap: 1.5rem; }
  .site-footer a {
    color: inherit;
    text-decoration: none; }
    .site-footer a:hover {
      text-decoration: underline; }

sup a {
  color: #c26b3f; }

mark {
  background-color: #98971a;
  color: #000000;
  padding: 0.1em 0.3em; }

.home {
  background: #32302f;
  position: relative;
  font-family: "Iosevka", sans-serif;
  font-weight: 400;
  padding: 1rem;
  font-size: var(--font-size-main);
  text-align: center;
  background: #1d2021;
  border: none; }
  .home ul {
    text-align: left; }
  .home .recent-posts {
    text-align: left;
    background: #32302f;
    border: var(--content-border);
    position: relative;
    font-family: "Iosevka", sans-serif;
    font-weight: 400;
    padding: 1rem;
    padding: 2rem;
    margin: var(--content-margins); }
    .home .recent-posts h1 {
      color: #d5c4a1;
      font-family: "vhs-gothic", monospace;
      font-weight: 400; }
    .home .recent-posts h1 a {
      font-size: var(--font-size-home-header);
      color: #98971a; }
    .home .recent-posts .date {
      color: #a89984;
      font-size: 1rem;
      text-decoration: underline; }
    .home .recent-posts figure {
      display: flex;
      justify-content: center; }
    .home .recent-posts figure img {
      max-width: 75%;
      max-height: 75%;
      margin-top: 1rem;
      margin-bottom: 1rem;
      border: 2px solid #ebdbb2;
      display: block;
      margin: 0 auto; }

.list-intro {
  background: #32302f;
  position: relative;
  font-family: "Iosevka", sans-serif;
  font-weight: 400;
  padding: 1rem;
  font-size: var(--font-size-main);
  text-align: center;
  background: #1d2021;
  border: none; }

.list-landing .section-posts {
  border: var(--content-border);
  border-radius: 3px;
  font-size: var(--font-size-main);
  background: #32302f;
  padding: 2rem; }
  .list-landing .section-posts h1 {
    font-family: "vhs-gothic", monospace;
    font-weight: 400;
    text-align: left; }
  .list-landing .section-posts figure img {
    max-width: clamp(200px, 100%, 500px);
    height: auto;
    border-radius: 10px;
    background: #ebdbb2;
    padding: 0.15rem;
    object-fit: contain;
    display: block;
    margin: 0 auto; }

.summary h1 {
  font-size: 1.5rem; }

.prose {
  position: relative;
  font-family: "Iosevka", sans-serif;
  font-weight: 400;
  padding: 1rem;
  padding-top: 0rem;
  padding-bottom: 0rem;
  padding-left: 2rem;
  padding-right: 2rem;
  margin: var(--content-margins);
  border: var(--content-border);
  border-radius: 3px;
  font-size: var(--font-size-main);
  background: #32302f; }
  .prose h1, .prose h2, .prose h3, .prose h4 {
    font-family: "vhs-gothic", monospace;
    font-weight: 400; }
  .prose h1, .prose h4 {
    text-align: center; }
  .prose pre {
    background-color: #282828;
    color: #ebdbb2;
    padding: 0.5rem;
    border-radius: 6px; }
  .prose code {
    font-family: "IBM", monospace;
    font-size: var(--font-size-code); }
  .prose table {
    width: fit-content;
    margin: 2rem auto;
    border-collapse: collapse; }
  .prose th, .prose td {
    border: 1px solid #a89984;
    padding: 0.5rem 1rem; }
  .prose img {
    max-width: var(--prose-img-size);
    height: auto;
    border-radius: 10px;
    background: #ebdbb2;
    padding: 0.15rem;
    object-fit: contain;
    display: block;
    margin: 0 auto; }
  .prose figcaption {
    font-family: "Iosevka", sans-serif;
    color: #d5c4a1;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    padding: 1rem; }
    .prose figcaption p {
      margin: 1px auto; }
  .prose video {
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    margin: 2rem auto;
    border-radius: 10px;
    background-color: black; }

figure {
  display: flex;
  justify-content: center;
  flex-direction: column; }
