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

@layer utilities {
  .text-genre {
    font-size: clamp(1px, 1.1vw, 14px);
    color: var(--muted-foreground);
    opacity: 0.5;
    font-weight: 600;
  }

  .text-overview {
    font-size: clamp(1px, 1.3vw, 15px);
    color: var(--primary-foreground);
    opacity: 0.8;
  }
}

@layer base {
  .dark {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;

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

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

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

    --secondary: 240 3.7% 15.9%;
    --secondary-foreground: 0 0% 98%;

    --muted: 240 3.7% 10.9%;
    --muted-foreground: 240 5% 64.9%;

    --accent: 240 3.7% 15.9%;
    --accent-foreground: 0 0% 98%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;

    --border: 240 3.7% 15.9%;
    --input: 240 3.7% 15.9%;
    --ring: 240 4.9% 83.9%;

    --radius: 0.5rem;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

#search-input:focus {
  outline: none;
}
