/* ============================================
   ANIMATIONS.CSS - Animations & Transitions
   ============================================ */

/**
 * animations.css
 * 
 * All animations and keyframes
 */

/* Animated gradient background */
@keyframes gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Loading spinner animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(99, 102, 241, 0.2);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scrolling Names Animation - Horizontal Marquee */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

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

#scrollingNames {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}

#scrollingNames.scrolling {
    animation: scroll-left 20s linear infinite;
}