/*
   generated by rouge http://rouge.jneen.net/
   original base16 by Chris Kempson (https://github.com/chriskempson/base16)
*/
.highlight {
  color: #d0d0d0;
}
.highlight table td {
  padding: 5px;
}
.highlight table pre {
  margin: 0;
}
.highlight .w {
  color: #d0d0d0;
}
.highlight .err {
  color: #151515;
  background-color: #ac4142;
}
.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
  color: #888;
}
.highlight .cp {
  color: #f4bf75;
}
.highlight .o, .highlight .ow {
  color: #f4bf75;
}
.highlight .p, .highlight .pi {
  color: #d0d0d0;
}
.highlight .gi {
  color: #90a959;
}
.highlight .gd {
  color: #ac4142;
}
.highlight .gh {
  color: #6a9fb5;
  font-weight: bold;
}
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
  color: #aa759f;
}
.highlight .kc, .highlight .kt, .highlight .kd {
  color: #d28445;
}
.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
  color: #90a959;
}
.highlight .sr {
  color: #75b5aa;
}
.highlight .si, .highlight .se {
  color: #8f5536;
}
.highlight .nt, .highlight .nn, .highlight .nc, .highlight .no {
  color: #f4bf75;
}
.highlight .na {
  color: #6a9fb5;
}
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
  color: #90a959;
}
.highlight .ss {
  color: #90a959;
}

body {
  margin: 0;
  padding: 0;
  background: #151515 url("../images/bkg.png") 0 0;
  color: #eaeaea;
  font-size: 16px;
  line-height: 1.5;
  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
}

/* General & 'Reset' Stuff */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

section {
  display: block;
  margin: 0 0 20px 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 20px;
}

li {
  line-height: 1.4;
}

/* Header, <header>
   header   - container
   h1       - project name
   h2       - project description
*/
header {
  background: rgba(0, 0, 0, 0.1);
  width: 100%;
  border-bottom: 1px dashed #b5e853;
  padding: 20px 0;
  margin: 0 0 40px 0;
}

header h1 {
  font-size: 30px;
  line-height: 1.5;
  margin: 0 0 0 -40px;
  font-weight: bold;
  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
  color: #b5e853;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1);
  letter-spacing: -1px;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 1000px) {
  header h1 {
    margin-left: 0;
  }
}

header h1:before {
  content: "./ ";
  font-size: 24px;
}

header h2 {
  font-size: 18px;
  font-weight: 300;
  color: #666;
}

#downloads .btn {
  display: inline-block;
  text-align: center;
  margin: 0;
}

/* Main Content
*/
#main_content {
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

section img {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
  color: #b5e853;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1);
}

#main_content h1 {
  font-size: 30px;
}

#main_content h2 {
  font-size: 24px;
}

#main_content h3 {
  font-size: 18px;
}

#main_content h4 {
  font-size: 14px;
}

#main_content h5 {
  font-size: 12px;
  text-transform: uppercase;
  margin: 0 0 5px 0;
}

#main_content h6 {
  font-size: 12px;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 5px 0;
}

dt {
  font-style: italic;
  font-weight: bold;
}

ul li {
  list-style-image: url("../images/bullet.png");
}

blockquote {
  color: #aaa;
  padding-left: 10px;
  border-left: 1px dotted #666;
}

pre {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px;
  font-size: 16px;
  color: #b5e853;
  border-radius: 2px;
  word-wrap: normal;
  overflow: auto;
  overflow-y: hidden;
}

code.highlighter-rouge {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0px 3px;
  margin: 0px -3px;
  color: #aa759f;
  border-radius: 2px;
}

table {
  width: 100%;
  margin: 0 0 20px 0;
}

th {
  text-align: left;
  border-bottom: 1px dashed #b5e853;
  padding: 5px 10px;
}

td {
  padding: 5px 10px;
}

hr {
  height: 0;
  border: 0;
  border-bottom: 1px dashed #b5e853;
  color: #b5e853;
}

/* Buttons
*/
.btn {
  display: inline-block;
  background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.3), rgba(35, 35, 35, 0.3) 50%, rgba(10, 10, 10, 0.3) 50%, rgba(0, 0, 0, 0.3));
  padding: 8px 18px;
  border-radius: 50px;
  border: 2px solid rgba(0, 0, 0, 0.7);
  border-bottom: 2px solid rgba(0, 0, 0, 0.7);
  border-top: 2px solid rgb(0, 0, 0);
  color: rgba(255, 255, 255, 0.8);
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn:hover {
  background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.6), rgba(35, 35, 35, 0.6) 50%, rgba(10, 10, 10, 0.8) 50%, rgba(0, 0, 0, 0.8));
}

.btn .icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 1px 8px 0 0;
  float: left;
}

.btn-github .icon {
  opacity: 0.6;
  background: url("../images/blacktocat.png") 0 0 no-repeat;
}

/* Links
   a, a:hover, a:visited
*/
a {
  color: #63c0f5;
  text-shadow: 0 0 5px rgba(104, 182, 255, 0.5);
}

/* Clearfix */
.cf:before, .cf:after {
  content: "";
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  zoom: 1;
}

#a-title {
  text-decoration: none;
}

:root {
  color-scheme: dark;
  --bg: #0b0e0b;
  --panel: #101510;
  --panel-hover: #151c15;
  --text: #e3e8df;
  --muted: #7f8b7a;
  --green: #b5e853;
  --green-soft: rgba(181, 232, 83, 0.12);
  --blue: #63c0f5;
  --border: rgba(181, 232, 83, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
}

.container {
  max-width: 900px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.65rem 1rem;
  color: #0b0e0b;
  background: var(--green);
  text-shadow: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  margin-bottom: 0;
  padding: 0;
  background: rgba(5, 8, 5, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.terminal-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  text-shadow: none;
}

.site-title .prompt,
.accent,
.eyebrow,
.tags {
  color: var(--green);
}

.cursor {
  width: 0.56rem;
  height: 1.1rem;
  display: inline-block;
  background: var(--green);
  box-shadow: 0 0 14px rgba(181, 232, 83, 0.55);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
nav {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  text-shadow: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green);
}

main.container {
  padding-top: 4.5rem;
  padding-bottom: 4rem;
}

.hero {
  margin-bottom: 5rem;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-intro h1,
.post-header h1,
.error-page h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -0.07em;
  text-shadow: none;
}

.lede {
  max-width: 660px;
  margin-top: 1.75rem;
  color: #b8c1b4;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.75;
}

.hero-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(181, 232, 83, 0.75);
}

.muted,
.post-meta,
.archive-row time {
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--border);
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  text-shadow: none;
}

.post-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.6rem 1rem;
  margin: 0 -1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.post-card:hover {
  background: var(--panel-hover);
  border-color: var(--border);
}

.post-card time {
  padding-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.post-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  text-shadow: none;
}

.post-card h3 a {
  color: var(--text);
  text-decoration: none;
  text-shadow: none;
}

.post-card h3 a:hover {
  color: var(--green);
}

.post-card p {
  margin: 0;
  color: #a6b0a2;
}

.post-card .tags {
  margin-top: 0.65rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.read-link {
  color: var(--green);
  font-size: 1.5rem;
  text-decoration: none;
}

.page-intro,
.post-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--border);
}

.page-intro h1,
.post-header h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
  font-size: 0.8rem;
}

.post-content {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.8;
}

.post-content p,
.post-content ul,
.post-content ol {
  max-width: 75ch;
}

.post-content h2 {
  margin-top: 3rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--border);
}

pre {
  margin: 1.75rem 0;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.post-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border);
}

.archive-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.site-footer {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.75rem;
}

.site-footer a {
  color: var(--muted);
  text-shadow: none;
}

.error-page {
  min-height: 52vh;
}

.error-page h1 {
  color: var(--green);
  font-size: clamp(5rem, 20vw, 12rem);
}

@media (max-width: 700px) {
  .terminal-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
  }
  nav {
    gap: 0.8rem;
    font-size: 0.78rem;
  }
  main.container {
    padding-top: 3rem;
  }
  .hero {
    margin-bottom: 3.5rem;
  }
  .post-card {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }
  .post-card time {
    grid-column: 1/-1;
  }
  .section-heading .muted {
    display: none;
  }
  .archive-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .site-footer {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cursor {
    animation: none;
  }
}