/**
 * ==================================================================================
 * MOUSE_ANIMATION.CSS - Styles for the carousel scroll indicator.
 * ==================================================================================
 */

.scroll-indicator {
    position: fixed;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 50;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.grid-view-active .scroll-indicator {
    display: none;
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-indicator .arrow {
    font-family: 'Kalam', cursive;
    font-size: 2rem;
    font-weight: 300;
    animation: bobbing 1.8s infinite ease-in-out;
}

.mouse-wheel {
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 25px;
    height: 40px;
    border-radius: 15px;
    margin: 10px 0;
    position: relative;
}

.scroller {
    width: 3px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: scrolling 1.8s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bobbing {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(7px);
    }
}

@keyframes scrolling {
    0%, 100% {
        top: 6px;
        opacity: 1;
    }
    100% {
        top: 18px;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}