/* ==========================================================================
   Shishir Kapre Portfolio - Custom Styles & Animations
   ========================================================================== */

/* Background Patterns */
.dot-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Custom Text Selection Highlight */
.custom-selection::selection {
  background-color: #f2d024;
  color: #000;
}

/* Infinite Marquee Animations */
@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes scroll-down {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes ticker-h {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-up {
  animation: scroll-up 32s linear infinite;
}

.animate-marquee-down {
  animation: scroll-down 32s linear infinite;
}

.animate-ticker {
  animation: ticker-h 24s linear infinite;
}

/* Pause marquee animation on hover */
.pause-on-hover:hover {
  animation-play-state: paused;
}

