:root {
  --content-width: 69ch;
  --font-size: 16px;

  --text-color: #ccc;
  --heading-color: #ddd;
  --link-color: #eee;
  --background-color: #111;
}

@media (prefers-color-scheme: light) {
  :root {
    --text-color: #111;
    --heading-color: #000;
    --link-color: #333;
    --background-color: #ccc;
  }
}

@media (max-width: 480px) {
  :root {
    --font-size: 12px;
  }
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--heading-color);
}

a {
  color: var(--link-color);
}

body {
  background: #53ede5;
  background: linear-gradient(35deg, rgba(83, 237, 229, 1) 0%, rgba(113, 35, 130, 1) 50%, rgba(119, 83, 237, 1) 100%);

  height: max-content;
  min-height: 100vh;
  width: 100vw;
  overflow: auto;

  margin: 0;
  padding: 0;

  color: var(--text-color);
  font-family: Iosevka Charon Mono, monospace;
  font-size: var(--font-size);
  display: flex;
  justify-content: center;

  >#content {
    display: flex;
    flex-direction: column;
    gap: 1ch;
    padding: 1ch;
    width: 100vw;
    max-width: calc(var(--content-width) + 2ch);


    >* {
      border: 1px solid var(--text-color);
      padding: 1rem;
      max-width: 100vw;
      background-color: var(--background-color);
    }
  }


  header {
    text-align: center;

    nav {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      font-size: 1.2em;

      a {
        display: inline-block;
        padding: 0.4rem;
        white-space: nowrap;
      }
    }
  }

  main {
    .article-date {
      opacity: 75%;
      font-size: .75rem;
      font-style: italic;
    }
  }

  footer {
    display: flex;
    flex-direction: column;
    align-items: center;

    hr {
      width: 100%;
    }

  }
}


pre {
  overflow-x: scroll;
}

img {
  max-width: 100vw;
}

.block {
  border: 1px dotted white;
  padding: 5px 15px;
  margin: 0 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.block h1 {
  font-size: 1em;
  text-align: center;
  margin-bottom: 0;
}

.small {
  font-size: 0.8em;
}

.wave {
  background: #111;
  color: #fff;
  text-shadow: 1px 1px 10px #fff, 1px 1px 10px var(--text-color);
}

.draft {
  position: absolute;
  width: auto;
  rotate: 70deg;
  top: 20vh;
  font-size: 15rem;
  opacity: 30%;
  border: unset;
  pointer-events: none;
  color: yellow;

}
