@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-thinitalic.2bb56194.woff2') format('woff2');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-extralightitalic.91c78bad.woff2') format('woff2');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-lightitalic.8876ae83.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-regularitalic.98a5915d.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-mediumitalic.32cd7a16.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-semibolditalic.9bd6f03e.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-bolditalic.fd64a1ed.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-thin.8a2c646f.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-extralight.56ebdefc.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-light.4a289eda.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-regular.b499c2ae.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-medium.a02aa112.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-semibold.30af7892.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bould';
  src: url('/fonts/bould-bold.64b53e03.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-display: swap;
  font-family: 'Victor Mono';
  src: url('/fonts/victor-mono/victor-mono-regular.8d73815d.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: 'Victor Mono';
  src: url('/fonts/victor-mono/victor-mono-italic.fb077099.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-display: swap;
  font-family: 'Victor Mono';
  src: url('/fonts/victor-mono/victor-mono-bold.bac7e2d2.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: 'Victor Mono';
  src: url('/fonts/victor-mono/victor-mono-bold-italic.3bf3963d.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
}

:root {
  --black: black;
  --white: white;
  --violet: #7b00fd;
  --faraway-sky: #7965b4;
  --solstice: #bbbbb8;
  --blue-jasmine: #818599;
  --tricorn-black: #303030;
  --vizcaya: #7c9e97;
  --night-market: #4b6277;

  --primary-color: var(--black);
  --primary-contrast-color: var(--white);
  --secondary-color: var(--faraway-sky);
  --secondary-contrast-color: var(--white);
  --tertiary-color: var(--blue-jasmine);
  --light-grey: var(--solstice);
  --text-color: var(--tricorn-black);

  --headline-font-family: Bould, Futura, sans-serif;
  --body-font-family: Bould, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --monospace-font-family: 'Victor Mono', 'Courier New', Courier, monospace;
  --body-font-size: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body,
button,
input,
textarea {
  color: var(--text-color);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
}

h1 {
  font-family: var(--headline-font-family);
  font-size: 3rem;
}

h2 {
  font-family: var(--headline-font-family);
  font-size: 2rem;
  margin-top: 0;
}

h2[id] a {
  display: block;
}

h2[id] a:link,
h2[id] a:active,
h2[id] a:visited,
h2[id] a:focus,
h2[id] a:hover {
  color: var(--text-color);
  text-decoration: none;
}

h2[id] a::before {
  color: #c0c0c0;
  content: '#';
  margin-left: -1ch;
}

h2[id]:hover a::before,
h2[id]:focus a::before {
  color: var(--violet);
}

a:link,
a:active,
a:visited {
  color: var(--primary-color);
}

a:hover {
  text-decoration: none;
}

.structure {
  display: grid;
  grid-gap: 1rem;
  height: 100%;
  margin: 0 auto;
}

.structure--index {
  background: black;
  grid-gap: 0;
  grid-template-areas: 'header' 'main' 'footer';
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
}

@media (min-width: 700px) {
  .structure--index {
    grid-template-areas:
      'header'
      'main'
      'footer';
    grid-template-columns: 1fr;
  }
}

.structure--default {
  grid-template-areas:
    'header'
    'main'
    'footer';
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
}

@media (min-width: 700px) {
  .structure--default {
    grid-template-areas:
      '. header header .'
      '. main main .'
      'footer footer footer footer';
    grid-template-columns: 1fr 325px 325px 1fr;
  }
}

.header {
  grid-area: header;
  margin: 2rem auto;
}

.header--index {
  font: 13px var(--monospace-font-family);
  color: var(--primary-contrast-color);
  display: flex;
  justify-content: center;
  margin: 0;
}

.header h1 {
  font-family: var(--headline-font-family);
  font-size: 3rem;
  letter-spacing: 2px;
  margin: 1rem 0;
  padding: 0 2rem;
  text-align: center;
}

.header--index h1 {
  font-size: 1.75rem;
  font-family: var(--monospace-font-family);
  margin: 1rem 0 0;
  text-align: left;
}

@media (min-width: 340px) {
  font-size: 2rem;
}

.header .h1-cli__seperator {
  color: var(--secondary-color);
}

.header .h1-cli__command {
  color: var(--light-grey);
}

.main {
  grid-area: main;
}

.main--index {
  background: var(--primary-color);
  font: 14px var(--monospace-font-family);
  color: var(--primary-contrast-color);
}

.main--index a:link,
.main--index a:active,
.main--index a:visited {
  color: var(--primary-contrast-color);
}

.main section {
  margin-bottom: 2rem;
}

.centered-page {
  margin: 0 auto;
  max-width: 650px;
  padding: 0 0.5rem;
}

.ls-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  min-width: 320px;
  margin: 0 auto;
  max-width: 960px;
}

.ls-list li pre {
  margin: 0 0.5rem 1rem 0.5rem;
}

.ls-list li:last-child pre {
  margin-bottom: 0;
}

.footer {
  background: var(--secondary-color);
  color: var(--secondary-contrast-color);
  font-family: var(--monospace-font-family);
  grid-area: footer;
  padding: 0.5rem;
}

.footer p:first-child {
  margin-top: 0;
}

.footer p:last-child {
  margin-bottom: 0;
}

.footer a:link,
.footer a:active,
.footer a:visited {
  color: var(--secondary-contrast-color);
}
