@import 'tailwindcss';

@plugin 'tailwindcss-animate';

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

@theme {
  --color-background: var(--background);
  --color-foreground: var(--foreground);

  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);

  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);

  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);

  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);

  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);

  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);

  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);

  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);

  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);

  --color-theme-1: var(--theme-1);
  --color-theme-2: var(--theme-2);
  --color-theme-3: var(--theme-3);
  --color-theme-4: var(--theme-4);

  --color-alternate: var(--bg-alternate);
  --color-nav: var(--bg-nav);

  --radius-lg: var(--radius);
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);

  --breakpoint-xs: 30rem;

}

/*
  The default border color has changed to `currentColor` in Tailwind CSS v4,
  so we've added these compatibility styles to make sure everything still
  looks the same as it did with Tailwind CSS v3.

  If we ever want to remove these styles, we need to add an explicit border
  color utility to any element that depends on these defaults.
*/
@layer base {
  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    border-color: var(--color-gray-200, currentColor);
  }
}

@layer utilities {
  body {
    font-family: Arial, Helvetica, sans-serif;
  }
}

@layer base {
  :root {
    --background: hsl(0 0% 3%);
    --foreground: hsl(0 0% 98%);
    --card: hsl(0 0% 12%);
    --card-foreground: hsl(0 0% 98%);
    --popover: hsl(0 0% 3.9%);
    --popover-foreground: hsl(0 0% 98%);
    --primary: hsl(214 100% 35%);
    --primary-foreground: hsl(0 0% 9%);
    --secondary: hsl(0 0% 14.9%);
    --secondary-foreground: hsl(0 0% 98%);
    --muted: hsl(0 0% 14.9%);
    --muted-foreground: hsl(0 0% 63.9%);
    --accent: hsl(0 0% 14.9%);
    --accent-foreground: hsl(0 0% 98%);
    --destructive: hsl(0 62.8% 30.6%);
    --destructive-foreground: hsl(0 0% 98%);
    --border: hsl(0 0% 14.9%);
    --input: hsl(0 0% 14.9%);
    --ring: hsl(0 0% 83.1%);
    --chart-1: hsl(220 70% 50%);
    --chart-2: hsl(160 60% 45%);
    --chart-3: hsl(30 80% 55%);
    --chart-4: 280 65% 60%;
    --chart-5: hsl(340 75% 55%);
    --bg-nav : hsl(213 78% 9%);
    --bg-alternate: hsl(210 5% 8%);
    --theme-1: hsl(214 100% 60%);
    --theme-2: hsl(190 39% 59%);
    --theme-3: hsl(17 64% 88%);
    --theme-4: hsl(317 39% 75%); 
  }
}

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

.section-container {
  @apply flex w-full px-4 md:px-12 max-w-360;
}

.section {
  @apply flex rounded-4xl flex-col lg:flex-row w-full p-7 sm:p-16 gap-8 items-center;
}

.section-heading {
  @apply text-3xl lg:text-5xl font-bold;
}

.section-body {
  @apply text-lg lg:text-2xl mt-3;
}

.glow-hover {
  filter: drop-shadow(0px 2px 12px hsl(0 0% 0% / 0.2));
  transition-property: filter;
  transition-duration: 20ms;
}

.glow-hover:hover{
  filter: drop-shadow(0px 0px 12px hsl(214 100% 60% / 0.3))
}