/*******************************************************************************
Slate Theme for GitHub Pages
by Jason Costello, @jsncostello
*******************************************************************************/

@import url(github-light.css);
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/*******************************************************************************
MeyerWeb Reset
*******************************************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*******************************************************************************
Theme Styles
*******************************************************************************/

:root {
  color-scheme: light;
  --ink-strong: #0f172a;
  --ink: #1f2937;
  --ink-muted: #64748b;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --accent: #7c3aed;
  --border: #e2e8f0;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

body {
  box-sizing: border-box;
  color: var(--ink);
  background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 45%, #ffffff 100%);
  font-size: 16px;
  font-family: 'Inter', 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 10px 0;
  font-weight: 700;
  color: var(--ink-strong);
  font-family: 'Inter', 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 38px;
  font-weight: 700;
}

h2 {
  padding-bottom: 6px;
  font-size: 30px;
  background: none;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 21px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  margin: 10px 0 15px 0;
  text-decoration: none;
}

footer p {
  color: #e2e8f0;
}

a {
  text-decoration: none;
  color: var(--brand);
  text-shadow: none;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  text-decoration: underline;
  color: var(--brand-dark);
}

footer a {
  color: #e2e8f0;
  text-decoration: underline;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

img {
  position: relative;
  margin: 10px 0;
  max-width: 100%;
  padding: 0;
  border: none;
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

p img {
  display: inline;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  text-align: center;
  border: none;
}

pre, code {
  width: 100%;
  color: #222;
  background-color: #fff;

  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
  font-size: 14px;

  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

pre {
  width: 100%;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  overflow: auto;
}

code {
  padding: 3px;
  margin: 0 3px;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
}

pre code {
  display: block;
  box-shadow: none;
}

blockquote {
  color: #666;
  margin-bottom: 20px;
  padding: 0 0 0 20px;
  border-left: 3px solid #bbb;
}


ul, ol, dl {
  margin-bottom: 15px
}

ul {
  list-style-position: inside;
  list-style: disc;
  padding-left: 20px;
}

ol {
  list-style-position: inside;
  list-style: decimal;
  padding-left: 20px;
}

dl dt {
  font-weight: bold;
}

dl dd {
  padding-left: 20px;
  font-style: italic;
}

dl p {
  padding-left: 20px;
  font-style: italic;
}

hr {
  height: 1px;
  margin: 24px 0;
  border: none;
  background: var(--border);
}

table {
  border: 1px solid var(--border);
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

th {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 12px;
  background: #0f172a;
  color: #fff;
  vertical-align: middle;
}

td {
  padding: 12px;
  border: 1px solid var(--border);
}

form {
  background: #f2f2f2;
  padding: 20px;
}

/*******************************************************************************
Full-Width Styles
*******************************************************************************/

.outer {
  width: 100%;
}

.inner {
  position: relative;
  max-width: 1040px;
  padding: 20px 24px;
  margin: 0 auto;
}

#forkme_banner {
  display: inline-flex;
  position: static;
  align-items: center;
  gap: 8px;
  z-index: 10;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
  border-radius: 999px;
}

#header_wrap {
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.2), transparent 45%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.25), transparent 40%),
    #0f172a;
}

#header_wrap .inner {
  padding: 48px 24px 36px 24px;
}

#project_title {
  margin: 10px 0 6px;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  text-shadow: none;
}

#project_tagline {
  color: #e2e8f0;
  font-size: 20px;
  font-weight: 400;
  background: none;
  text-shadow: none;
}

#downloads {
  position: absolute;
  width: 210px;
  z-index: 10;
  bottom: -40px;
  right: 0;
  height: 70px;
  background: url('../images/icon_download.png') no-repeat 0% 90%;
}

.zip_download_link {
  display: block;
  float: right;
  width: 90px;
  height:70px;
  text-indent: -5000px;
  overflow: hidden;
  background: url('../images/sprite_download.png') no-repeat bottom left;
}

.tar_download_link {
  display: block;
  float: right;
  width: 90px;
  height:70px;
  text-indent: -5000px;
  overflow: hidden;
  background: url('../images/sprite_download.png') no-repeat bottom right;
  margin-left: 10px;
}

.zip_download_link:hover {
  background: url('../images/sprite_download.png') no-repeat top left;
}

.tar_download_link:hover {
  background: url('../images/sprite_download.png') no-repeat top right;
}

#main_content_wrap {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
}

#main_content {
  padding: 32px 0 40px;
}

#footer_wrap {
  background: #0f172a;
  margin-top: 40px;
}

.site-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-eyebrow {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 640px;
  color: #e2e8f0;
  font-size: 18px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  text-decoration: none;
}

.page-title {
  font-size: 32px;
}

.update-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
}

.section {
  margin: 32px 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--ink-muted);
  font-size: 15px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three-col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-muted);
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meta-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.meta-list li:last-child {
  border-bottom: none;
}

.link-grid {
  display: grid;
  gap: 12px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 500;
}

.link-pill span {
  color: var(--ink-muted);
  font-size: 13px;
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anchor-list a {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-muted);
}

.note {
  background: var(--surface-muted);
  border-left: 4px solid var(--brand);
  padding: 16px 18px;
  border-radius: 12px;
  color: var(--ink);
}

.spacer-sm {
  margin-top: 12px;
}

/*******************************************************************************
Small Device Styles
*******************************************************************************/

@media screen and (max-width: 720px) {
  body {
    font-size:14px;
  }

  #downloads {
    display: none;
  }

  .inner {
    padding: 20px 16px;
  }

  #project_title {
    font-size: 32px;
  }

  #project_tagline {
    font-size: 18px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 21px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 14px;
  }

  h6 {
    font-size: 12px;
  }

  code, pre {
    min-width: 100%;
    max-width: 100%;
    font-size: 11px;
  }
}
