body {
  --text-color-light: #333;
  --text-color-dark: #fff;
  --background-color-light: #fff;
  --text-color-link: #58a6ff;
  --background-color-dark: #161b22;
  margin: 0;
  font-family:
    'Source Sans Pro',
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Oxygen,
    Ubuntu,
    Cantarell,
    Fira Sans,
    Droid Sans,
    Helvetica Neue,
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-color-normal);
}

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

article h2 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.3em;
}

article h3,
h3 {
  font-size: 1.25rem;
}

article h2,
article h3 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin-block: 1rem;
}

h1 {
  font-size: 2em;
  font-weight: 900;
}

hr {
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: none;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: none;
}

code {
  font-family: menlo, inconsolata, monospace;
  font-size: calc(1em - 2px);
  color: #555;
  background-color: #f0f0f0;
  padding: 0.2em 0.4em;
  border-radius: 2px;
}

@media (min-width: 400px) {
  body {
    font-size: 16px;
  }
}

ul,
ol {
  padding-inline-start: 2rem;
}

/* DARK MODE */
body.dark-mode {
  background: var(--background-color-dark);
  color: var(--text-color-dark);
}
body.dark-mode article h2 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark-mode a,
body.dark-mode button {
  color: white;
}

body.dark-mode hr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* TILES */
.tiles.small .tile button {
  font-size: 0.9rem !important;
}

.none {
  display: none;
}

.block {
  display: block;
}
