/* blog post specific styling */

#scroll-indicator {
  position: fixed;
  width: 100vw;
  height: 4px;
  top: 0;
  left: 0;
  background-image: linear-gradient(
    90deg,
    var(--color-link) 0%,
    var(--color-link) 50%,
    transparent 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: 100% 0%;
  animation: move-gradient 1ms;
  animation-timeline: scroll(nearest);
  animation-timing-function: ease-out;
}

@keyframes move-gradient {
  from {
    background-position: 100% 0%;
  }
  to {
    background-position: 0% 0%;
  }
}
