@import 'tailwindcss';

@theme inline {
  --font-sans: var(--font-geist);
  --font-mono: var(--font-geist-mono);
}

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

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

  --animate-spin-slow: spin 2s linear infinite;
  --animate-marquee: marquee 25s linear infinite;
  --animate-marquee2: marquee2 25s linear infinite;

  @keyframes marquee {
    0% {
      transform: translateX(0%);
    }

    100% {
      transform: translateX(-100%);
    }
  }

  @keyframes marquee2 {
    0% {
      transform: translateX(100%);
    }

    100% {
      transform: translateX(0%);
    }
  }
}

/*
  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);
  }
}

.card-preview {
  border-radius: 0.55rem;
  margin: 1.55rem 0.55rem;
  opacity: 0.95;
  box-shadow: 0 3px 40px 0 rgba(8, 149, 102, 0.2);
  min-width: 0;
  border: 2px solid #e5e7eb;
  /* max-width: 280px; */
  /* width: 100%; */
}

.dark .card-preview {
  box-shadow: 0 3px 40px 0 rgba(8, 149, 102, 0.2);
  border: 2px solid #1f2937;
}