/* https://evenc.org/assets/styles/evenc.css */

:root {
  --color-secondary: rgb(15, 102, 255);
  --font-stack: -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--font-stack);
}

.right-aligned {
  text-align: right;
}

nav {
  margin-bottom: 0;
}

hr {
  margin: 0;
}

a {
  color: var(--color-secondary);
  font-weight: normal;
  text-decoration: none;
}

a:hover {
  filter: brightness(1.2);
  text-decoration: underline;
}

blockquote {
  margin: 0;
  padding: 0 1em;
  color: rgb(106, 115, 125);
  border-left: 0.25em solid rgb(223, 226, 229);
}

pre,
code {
  font-size: 12px;
}

ul li,
ol li {
  margin-block: 0;
  padding: 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
}

.video-wrapper video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

figcaption {
  font-size: 0.8em;
  color: rgb(128, 128, 128); /* the gray color */
}

@media (prefers-color-scheme: dark) {
  body {
    background: rgb(26, 27, 38);
    color: rgb(192, 202, 245);
  }

  h1 {
    color: rgb(255, 117, 127);
  }

  h2 {
    color: rgb(224, 175, 104);
  }

  h3 {
    color: rgb(158, 206, 106);
  }

  h4 {
    color: rgb(125, 207, 255);
  }

  b, strong, i, em {
    color: rgb(125, 207, 255);
  }

  a {
    color: rgb(187, 154, 247);
  }

  a:hover {
    color: rgb(125, 207, 255);
  }

  pre,
  code {
    color: rgb(185, 195, 240);
    background: rgb(58, 58, 58);
    font-family: monospace;
  }
}
