@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/vs.min.css");
:root {
  --max-p-width: 60rch;
  --max-width-pad: 45rch;
  --max-width-phone: 30rch;
}

:root {
  --font-sans: "Lato", sans-serif;
  --font-serif: "Times New Roman", Times, serif;
  --font-body: "Montserrat", sans-serif;
  --font-title: "Philosopher", serif;
  --font-code: "Source Code Pro", monospace;
}

:root {
  --font-weight-xl: 200;
  --font-weight-light: 300;
  --font-weight-bold: 500;
  --font-weight-xb: 600;
}

:root {
  --page-title-size: 3rem;
  --h1-font-size: 2rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
}

:root {
  --spacing-tiny: 0.25rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

.shadow, .series-tab, .post-panels, .about-site,
.prose-section, .box, .blog-article blockquote, .blog-article pre {
  box-shadow: 0 0.125rem 0.25rem #371900;
}

.box, .blog-article blockquote, .blog-article pre {
  background-color: rgb(245.9, 243.45, 238.2);
  border-radius: 3px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.right {
  text-align: right;
}

.serif {
  font-family: var(--font-serif);
}

.sans {
  font-family: var(--font-sans);
}

.code {
  font-family: var(--font-code);
}

.title {
  font-family: var(--font-title);
}

.text-shadow, .blog-article h1, .intro h1, body .site-container .site-header h1 {
  text-shadow: 1px 1px 2px #371900;
}

body {
  margin: 0 auto;
  line-height: 1.4rem;
  font-family: var(--font-sans);
  font-weight: var(--font-weight-light);
  background-color: #fcf9f6;
  color: #3e1c00;
}
body a {
  color: #3e1c00;
  text-decoration-thickness: 1px;
}
body a:hover {
  color: #0936A8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
body a:visited {
  color: #3e1c00;
}
body a:visited:hover {
  color: #5e09a8;
}
body .site-container {
  padding: var(--spacing-xs);
  margin: 0 0;
  display: block;
  width: 100%;
}
body .site-container .site-header {
  margin-bottom: var(--spacing-lg);
  text-transform: none;
}
body .site-container .site-header h1 {
  font-family: var(--font-title);
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-xl);
  text-align: center;
  margin: var(--spacing-sm) auto var(--spacing-md);
}
body .site-container .site-header h2 {
  font-size: calc(var(--font-size-xl) - 30%);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-body);
  text-align: center;
  margin: 0 auto;
}
body .site-container .site-header h3 {
  font-size: calc(var(--font-size-lg) - 30%);
  font-weight: var(--font-weight-light);
  font-family: var(--font-code);
  text-align: center;
  margin: 0 auto;
}
body .site-container .site-header nav {
  display: grid;
  grid-template-columns: 1fr max-content;
  margin-top: var(--spacing-md);
  border-bottom: 1px solid #311600;
}
body .site-container .site-header nav .nav-link-soc {
  text-decoration: none;
}
body .site-container .site-header nav .nav-link-soc img {
  width: 20px;
  height: 20px;
  display: inline;
}
body .site-container .site-header nav .nav-link {
  border-left: 1px solid #311600;
  padding: 0 var(--spacing-xs);
  color: #3e1c00;
  text-decoration: none;
}
body .site-container .site-content {
  contain: content;
}
body .site-container .site-footer {
  margin-top: var(--spacing-lg);
  border-top: 1px solid #311600;
  padding: var(--spacing-sm);
  font-size: var(--font-size-sm);
}

.intro {
  padding-top: var(--spacing-xs);
}
.intro h1 {
  text-align: center;
  font-family: var(--font-title);
  color: var(--color-header);
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-light);
  margin: 0 auto;
}

.about-site,
.prose-section {
  font-family: var(--font-serif);
  background-color: rgb(245.9, 243.45, 238.2);
  border-radius: 3px;
  color: #3e1c00;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}
.about-site article,
.prose-section article {
  overflow: hidden;
  height: auto;
}
.about-site h2,
.prose-section h2 {
  font-family: var(--font-title);
  color: var(--color-header);
  font-weight: var(--font-weight-light);
  font-size: 1.5rem;
  margin: var(--spacing-xs) 0 0 0;
}
.about-site h3,
.prose-section h3 {
  font-weight: var(--font-weight-xl);
  font-size: 1.15rem;
  margin: 0 0 var(--spacing-md) 0;
}
.about-site em,
.prose-section em {
  font-weight: var(--font-weight-bold);
  font-style: italic;
}
.about-site strong,
.prose-section strong {
  font-weight: var(--font-weight-bold);
}
.about-site aside.quote,
.prose-section aside.quote {
  font-style: italic;
  font-size: var(--h3-font-size);
  margin: var(--spacing-xs) auto;
  padding-left: var(--spacing-sm);
  font-family: var(--font-sans);
}
.about-site img,
.prose-section img {
  background-color: #fcf9f6;
  border: 3px ridge #3e1c00;
  margin: var(--spacing-sm);
  padding: 2px;
  max-width: 100%;
}
.about-site img.left,
.prose-section img.left {
  float: left;
  margin-right: var(--spacing-sm);
}
.about-site img.right,
.prose-section img.right {
  float: right;
  margin-left: var(--spacing-sm);
}
.about-site img.last,
.prose-section img.last {
  clear: both;
  margin-bottom: var(--spacing-lg);
}

.blog-article {
  background-color: #fcf9f6;
  color: #3e1c00;
  margin: var(--spacing-xs) auto;
  line-height: 1.6rem;
}
.blog-article h1, .blog-article h2, .blog-article h3 {
  font-family: var(--font-sans);
}
.blog-article h2, .blog-article h3 {
  margin-top: var(--spacing-xl);
}
.blog-article h1 {
  font-weight: var(--font-weight-light);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}
.blog-article h2 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
}
.blog-article h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-xl);
}
.blog-article p {
  margin: 0 auto var(--spacing-sm);
}
.blog-article p span.aside {
  font-weight: var(--font-weight-xl);
  font-style: italic;
  font-size: var(--font-size-sm);
}
.blog-article blockquote {
  max-width: 90%;
  margin: var(--spacing-sm) auto;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-family: var(--font-sans);
  font-weight: var(--font-weight-light);
}
.blog-article blockquote ol {
  margin: 0;
}
.blog-article ol {
  margin: 0 var(--spacing-sm) var(--spacing-sm);
}
.blog-article pre {
  max-width: 80%;
  margin: 0 auto var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-sm);
}
.blog-article pre code {
  font-family: var(--font-code);
  display: block;
  overflow: auto;
  font-size: calc(var(--font-size-md) - 20%);
}
.blog-article img {
  height: auto;
  max-width: 100%;
  display: block;
}
@media (max-width: 600px) {
  .blog-article img {
    width: 350px;
  }
}
@media (max-width: 800px) {
  .blog-article img {
    width: 750px;
  }
}
@media screen and (min-width: 1024px) {
  .blog-article {
    margin: auto;
  }
}

.series-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: var(--spacing-lg) var(--spacing-xs);
  padding: 0;
}

.series-btn {
  display: none;
}

.series-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-tiny);
  margin-bottom: 0;
}

.series-tab {
  cursor: pointer;
  margin-right: var(--spacing-xs);
  padding: var(--spacing-xs);
  border-radius: 3px 3px 0 0;
  font-weight: var(--font-weight-xl);
  color: #c5bab2;
  background-color: rgb(236.8, 231.9, 221.4);
  transition: all 0.3s ease-in-out;
  user-select: none;
}
.series-tab:hover {
  background-color: #e5decf;
  color: #3e1c00;
}

.active-tab, #series-iterations:checked ~ .series-tabs #series-tab-iterations, #series-machinations:checked ~ .series-tabs #series-tab-machinations {
  background-color: rgb(245.9, 243.45, 238.2);
  color: #3e1c00;
  font-weight: var(--font-weight-light);
}
.active-tab:hover, #series-iterations:checked ~ .series-tabs #series-tab-iterations:hover, #series-machinations:checked ~ .series-tabs #series-tab-machinations:hover {
  color: #3e1c00;
  font-weight: var(--font-weight-xl);
}

.post-panels {
  background-color: rgb(245.9, 243.45, 238.2);
  border-radius: 0 3px 3px 3px;
  overflow: hidden;
  padding: var(--spacing-xs) var(--spacing-md);
  margin: 0;
}

.post-list {
  display: none;
  font-size: 0.95em;
  animation: fadein 0.5s ease-in;
  margin: 0;
  padding-top: var(--spacing-xs);
  padding-bottom: var(--spacing-lg);
}
.post-list .post-title a {
  display: block;
  font-weight: var(--font-weight-bold);
}
.post-list .post-description p {
  font-weight: var(--font-weight-light);
  margin: 0;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#series-iterations:checked ~ .post-panels #panel-iterations, #series-machinations:checked ~ .post-panels #panel-machinations {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--spacing-sm);
}

html {
  font-size: 20px;
  font-family: var(--font-body);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 0;
  padding: var(--spacing-sm);
}

.site-container {
  max-width: var(calc(--max-p-width + 3rch));
}
.site-container p {
  max-width: var(--max-p-width);
}

.site-content {
  font-family: var(--font-serif);
}

@media (max-width: 768px) {
  html {
    font-size: 18px;
  }
  .site-container {
    max-width: var(calc(--max-width-pad + 3rch));
  }
  .site-container p {
    max-width: var(--max-width-pad);
  }
}
@media (max-width: 480px) {
  html {
    font-size: 16px;
  }
  .site-container {
    max-width: var(calc(--max-width-phone + 3rch));
  }
  .site-container p {
    max-width: var(--max-width-phone);
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.4rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.3rem;
  }
}
:root {
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-xxxl: 2.5rem;
}

.text-xs {
  font-size: var(--font-size-xs);
}

.text-sm {
  font-size: var(--font-size-sm);
}

.text-md {
  font-size: var(--font-size-md);
}

.text-lg {
  font-size: var(--font-size-lg);
}

.text-xl {
  font-size: var(--font-size-xl);
}

.text-xxl {
  font-size: var(--font-size-xxl);
}

.text-xxxl {
  font-size: var(--font-size-xxxl);
}