@import 'tailwindcss';
@custom-variant dark (&:where(.dark, .dark *));

/* Video background text color variants - allows text to react to custom video brightness */
@custom-variant video-light (&:where(.video-text-light, .video-text-light *));
@custom-variant video-dark (&:where(.video-text-dark, .video-text-dark *));
/* Reset any conflicting styles */
#root {
  width: 100%;
  min-height: 100%;
}

.App {
  width: 100%;
  min-height: 100%;
}

/* Optional: Keep some of your original styles if needed */
.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;
  }
}
