:root {
  --font-main: "Golos Text", sans-serif;
  --color-primary: #0a0a0a;
  --color-primary-hover: #222;
  --color-text-content: rgb(90, 90, 90);
  --color-muted: #939393;
  --color-surface: #f0f0f0;
  --color-border: #e0e0e0;
  --color-surface-hover: #e5e5e5;
  --color-border-light: #efefef;
  --color-white: #fff;
  --color-link: #555;
  --color-placeholder: #e8e8e8;
  --color-text-light: #d9d9d9;
  --color-overlay: rgba(0, 0, 0, 0.45);
  --color-overlay-strong: rgba(0, 0, 0, 0.55);
  --radius: 8px;
  --radius-sm: 6px;
}

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

input, button, textarea, select {
  font-family: inherit;
}

main {
  width: 100%;
  max-width: 1120px;
  margin: auto;
}

main #main-container {
  padding: 16px 16px 48px;
}

pre {
  white-space: pre-wrap;
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.3;
}

main ul {
  list-style: none;
  padding: 0;
}

main li {
  margin-bottom: 8px;
}

main a {
  font-size: 16px;
  color: var(--color-link);
  text-decoration: none;
  display: inline-block;
  padding: 2px 0;
}

/* Animated underscore for links on */
@media (min-width: 601px) {
  main a {
    position: relative;
  }

  main #main-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  main a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition:
      width 0.3s ease,
      height 0.3s ease;
  }

  main a:hover::after,
  main a:focus::after {
    width: 100%;
  }

  main a.no-hover:hover::after,
  main a.no-hover:focus::after {
    width: 0;
  }
}

