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

@layer base {
  :root {
    --background: 206 25% 95%;
    --foreground: 215 25% 27%;
    --card: 0 0% 100%;
    --card-foreground: 215 25% 27%;
    --popover: 0 0% 100%;
    --popover-foreground: 215 25% 27%;
    --primary: 201 58% 42%;
    --primary-foreground: 0 0% 100%;
    --secondary: 206 30% 90%;
    --secondary-foreground: 215 25% 27%;
    --muted: 206 30% 90%;
    --muted-foreground: 206 10% 50%;
    --accent: 185 24% 55%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 72% 51%;
    --destructive-foreground: 0 0% 100%;
    --border: 206 20% 88%;
    --input: 206 20% 88%;
    --ring: 201 58% 42%;
    --radius: 0.5rem;
    --chart-1: 201 58% 42%;
    --chart-2: 185 24% 55%;
    --chart-3: 0 72% 51%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
  }

  .dark {
    --background: 215 28% 17%;
    --foreground: 210 40% 98%;
    --card: 215 28% 17%;
    --card-foreground: 210 40% 98%;
    --popover: 215 28% 17%;
    --popover-foreground: 210 40% 98%;
    --primary: 201 58% 52%;
    --primary-foreground: 0 0% 100%;
    --secondary: 217 33% 25%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217 33% 25%;
    --muted-foreground: 215 25% 65%;
    --accent: 185 24% 45%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 63% 45%;
    --destructive-foreground: 210 40% 98%;
    --border: 217 33% 25%;
    --input: 217 33% 25%;
    --ring: 201 58% 52%;
    --chart-1: 201 58% 52%;
    --chart-2: 185 24% 45%;
    --chart-3: 0 63% 45%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
  }

  html {
    font-size: 18px;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

@layer utilities {
  .animation-shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
  }

  @keyframes shake {
    10%, 90% {
      transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
      transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
      transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
      transform: translate3d(4px, 0, 0);
    }
  }
}
