@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;

    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;

    --popover: 0 0% 100%;
    --popover-foreground: 240 10% 3.9%;

    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;

    --secondary: 240 4.8% 95.9%;
    --secondary-foreground: 240 5.9% 10%;

    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 46.1%;

    --accent: 240 4.8% 95.9%;
    --accent-foreground: 240 5.9% 10%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;

    --border: 240 5.9% 90%;
    --input: 240 5.9% 90%;
    --ring: 240 10% 3.9%;

    --radius: 0.5rem;
  }

  .dark {
    --background: 247 22% 8%;
    --foreground: 0 0% 98%;

    --card: 245 23% 11%;
    --card-foreground: 0 0% 98%;

    --popover: 245 23% 11%;
    --popover-foreground: 0 0% 98%;

    --primary: 0 0% 98%;
    --primary-foreground: 216 17% 12%;

    --secondary: 248 25% 12%;
    --secondary-foreground: 0 0% 98%;

    --muted: 248 25% 12%;
    --muted-foreground: 240 5% 64.9%;

    --accent: 245 23% 11%;
    --accent-foreground: 0 0% 98%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;

    --border: 249 15% 18%;
    --input: 249 15% 18%;
    --ring: 217 33% 17%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  html,
  body {
    @apply scroll-smooth;
  }
  body {
    @apply bg-background text-foreground;
  }
  body:not([style*='pointer-events: none']) {
    overflow-x: hidden;
    margin-right: calc(-1 * (100vw - 100%));
  }
}
