/* ==========================================================================
   Marquee CSS - Custom Agency
   ========================================================================== */

.marquee-sticky-section {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  margin: 1rem 0;
  background-color: var(--base-100);
  padding: 1rem 0;
  border-top: 1px solid rgba(177, 166, 150, 0.2);
  border-bottom: 1px solid rgba(177, 166, 150, 0.2);
}

.pin-con {
  position: relative;
  padding: 0.5rem 1rem;
}

@media (min-width: 640px) {
  .pin-con {
    padding: 0.5rem 2rem;
  }
}

.marquee-text-container {
  padding: 0.5rem 0;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.marquee-text-move {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeContinuous 20s linear infinite;
}

.marquee-text-marquee {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
}

.marquee-text-marquee h1 {
  font-size: clamp(2rem, 6.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--base-300);
  user-select: none;
  margin: 0;
  white-space: nowrap;
}

.star-rotate {
  font-size: clamp(1.25rem, 3.5vw, 2.5rem);
  color: var(--base-400);
  display: inline-block;
  flex-shrink: 0;
  animation: spinStar 10s linear infinite;
}

@keyframes marqueeContinuous {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes spinStar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

