@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

body {
  font-family: "Roboto", sans-serif;
}

/* Marquee Animation */
.animate-marquee {
  animation: marquee 30s linear infinite;
}

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

/* Carousel Styles */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-dot.active {
  background-color: white !important;
  transform: scale(1.1);
}

/* Rainbow Text Animation */
.rainbow-text {
  background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3, #ff0000);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.animate-rainbow {
  animation: rainbow 3s ease-in-out infinite;
}

@keyframes rainbow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hover Effects */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.03);
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .aspect-video {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 768px) {
  .md\:aspect-\[21\/7\] {
    aspect-ratio: 21 / 7;
  }
}
/* Điều chỉnh các section để đọc được chữ */
.bg-gray-800,
.bg-gray-900,
.bg-blue-900 {
    background: transparent;
}


.firefly {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
  will-change: transform, opacity;
}

