@import "tailwindcss";
@import "./styles/theme.css";
@import "./styles/components.css";
@import "./styles/animations.css";

@custom-variant dark (&:where(.dark, .dark *));

@theme inline {
  --font-display: var(--font-oswald);
  --font-sans: var(--font-inter);
}

/* ===== Base ===== */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ===== Selection ===== */

::selection {
  background-color: rgba(225, 29, 72, 0.3);
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Focus ===== */

:focus-visible {
  @apply outline-2 outline-offset-2 outline-rose-500;
}
