/** (it can't distract itself with anxiety 
stuff if it cant see it) ^halo
**/

:root {
  --bg: #000000;
  --text: #ffffff;
  --blend: #ffffff;
}
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Fira Sans", sans-serif;
  text-align: center;
  max-width: 860px;
  width: 97vw;
  margin: 0 auto;
  font-variant-ligatures: normal common-ligatures contextual
    additional-ligatures;
}

ul.reset,
ul.reset ul {
  margin: 0;
  padding: 0;
  li {
    text-indent: 0;
    list-style-type: none;
  }
}

/* only show this on no-css */
hr.blank {
  display: none;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  & li {
    margin: 0.5rem 0.3rem;

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.13s ease-in-out;

      &.current {
        color: var(--tag-accent);
      }

      &:hover {
        color: var(--tag-accent);
        text-shadow: 1px 0 2px var(--tag-accent);
        transform: translate(0px -1px);
      }
    }
  }
}

header {
  p {
    font-size: 0.9rem;
    font-style: italic;
  }

  a {
    color: #bd2929;
    text-decoration: none;
  }

  h1 {
    font-weight: 800;
  }
}

main {
  margin-top: 1.7rem;
}

.page-dictionary {
  li {
    font-size: 1.66rem;
    margin-bottom: 2rem !important;
    line-height: 1.3;
  }

  li:nth-of-type(1) {
    color: color-mix(in srgb, var(--tag-accent), var(--blend) 66%);
  }

  li:nth-of-type(2) {
    color: color-mix(in srgb, var(--tag-accent), var(--blend) 33%);
  }

  li:nth-of-type(3) {
    color: var(--tag-accent);
  }
}

@media not (prefers-reduced-motion: reduce) {
  .page-dictionary {
    li {
      opacity: 0;
      animation: slide 0.6s ease-in forwards;
    }

    li:nth-of-type(1) {
      animation-delay: 0s;
    }

    li:nth-of-type(2) {
      animation-delay: 0.6s;
    }

    li:nth-of-type(3) {
      animation-delay: 1.2s;
    }
  }
}

@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(-1rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
