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


/* Definition of the design system. All colors, gradients, fonts, etc should be defined here. */

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;

    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;

    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;

    --primary: 222.2 47.4% 11.2%;
    --primary-foreground: 210 40% 98%;

    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;

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

    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;

    --radius: 0.5rem;

    --sidebar-background: 0 0% 98%;

    --sidebar-foreground: 240 5.3% 26.1%;

    --sidebar-primary: 240 5.9% 10%;

    --sidebar-primary-foreground: 0 0% 98%;

    --sidebar-accent: 240 4.8% 95.9%;

    --sidebar-accent-foreground: 240 5.9% 10%;

    --sidebar-border: 220 13% 91%;

    --sidebar-ring: 217.2 91.2% 59.8%;
  }

  .dark {
    --background: 230 36% 12%; /* #11172a */
    --foreground: 220 28% 90%; /* #dfe5ec */

    --card: 224 25% 15%; /* #1a2233 */
    --card-foreground: 220 28% 90%; /* #dfe5ec */

    --popover: 224 25% 15%; /* #1a2233 */
    --popover-foreground: 220 28% 90%; /* #dfe5ec */

    --primary: 174 27% 48%; /* #599692 */
    --primary-foreground: 220 28% 90%; /* #dfe5ec */

    --secondary: 215 10% 40%; /* #626c7d */
    --secondary-foreground: 220 28% 90%; /* #dfe5ec */

    --muted: 215 10% 40%; /* #626c7d */
    --muted-foreground: 220 15% 60%; /* softer gray */

    --accent: 207 69% 58%; /* #4A90E2 */
    --accent-foreground: 220 28% 90%; /* #dfe5ec */

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 220 28% 90%;

    --border: 220 28% 16%; /* #222b3a */
    --input: 220 28% 16%;
    --ring: 207 69% 58%; /* #4A90E2 */
    --sidebar-background: 230 36% 12%;
    --sidebar-foreground: 220 28% 90%;
    --sidebar-primary: 174 27% 48%;
    --sidebar-primary-foreground: 220 28% 90%;
    --sidebar-accent: 207 69% 58%;
    --sidebar-accent-foreground: 220 28% 90%;
    --sidebar-border: 220 28% 16%;
    --sidebar-ring: 207 69% 58%;
  }
}

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-black text-white;
  }
}

#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}
