:root {
  scrollbar-color: #0076bb #e8f3fa;
}

@supports not (scrollbar-color: #0076bb #e8f3fa) {
  html::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }

  html::-webkit-scrollbar-track {
    background: #e8f3fa;
  }

  html::-webkit-scrollbar-thumb {
    background: #0076bb;
    border: 2px solid #e8f3fa;
    border-radius: 999px;
  }

  html::-webkit-scrollbar-thumb:hover {
    background: #07537e;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-section-reveal="down"] {
    --section-entry-offset: 14px;
  }

  [data-section-reveal="up"] {
    --section-entry-offset: -14px;
  }

  [data-section-reveal] > :where(:not([aria-hidden="true"], dialog, nav, script, style, .watermark2-bg)) {
    animation: section-replay-enter .62s cubic-bezier(.22, 1, .36, 1) backwards;
  }

  [data-section-reveal] > :where(:nth-child(2), :nth-child(3)):not([aria-hidden="true"]) {
    animation-delay: 45ms;
  }

  @keyframes section-replay-enter {
    from {
      opacity: .78;
      translate: 0 var(--section-entry-offset);
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}

@media (forced-colors: active) {
  :root {
    scrollbar-color: auto;
  }
}
