:root {
  /* Grass */
  --theme-1-0: #657f15;
  --theme-1-1: #b8e829;
  --theme-1-2: #fbfff4;
  --theme-1-3: #263007;
  --theme-1-4: #020200;

  /* Forest */
  --theme-2-0: #008740;
  --theme-2-1: #8ae5b5;
  --theme-2-2: #f7fffa;
  --theme-2-3: #04331a;
  --theme-2-4: #000201;

  /* Gold */
  --theme-3-0: #877616;
  --theme-3-1: #f2d223;
  --theme-3-2: #ffffff;
  --theme-3-3: #332d06;
  --theme-3-4: #000000;

  /* Grey */
  --default-0: #808080;
  --default-1: #e8e8e8;
  --default-2: #ffffff;
  --default-3: #303030;
  --default-4: #030303;
}

body {
  margin: 4rem 0 0 0;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  line-height: 1.5;
  color: #333;
  box-sizing: border-box;
}

main {
  padding: 0.8rem 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em 0;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 1.6em;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: menlo, inconsolata, monospace;
  font-size: 0.9em;
  color: #555;
  background-color: #f9f9f9;
  padding: 0.2em 0.4em;
  border-radius: 2px;
}

pre > code {
  display: block;
  overflow-x: auto;
}

pre.shell > code {
  user-select: none;
}

pre.shell .bash {
  user-select: text;
}

pre.shell .hljs-comment {
  user-select: none;
}

pre {
  white-space: pre-wrap;
}

article {
  margin: 0.5rem 0;
}

article a {
  text-decoration: underline;
}

article > main > h1 {
  font-size: 1.5rem;
}

article > main > h2 {
  font-size: 1.4rem;
}

article > h1 a {
  text-decoration: none;
}

article > time {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  opacity: 0.5;
}

article > .tags {
  margin: 0.5rem 0.5rem 0.5rem 2.7rem;
  font-size: 0.8rem;
  line-height: 1;
  opacity: 0.5;
}

article > .tags svg {
  margin-left: -1.2rem;
}

article > .tags a {
  margin-left: 0.8rem;
  display: inline-block;
  text-decoration: none;
}

article > main {
  padding: 0;
}

article img {
  max-width: 100%;
  height: auto;
}

article figure {
  margin: 2rem 0;
}

article figcaption {
  font-style: italic;
  font-size: 0.9rem;
}
