/* Mobile scroll indicator */
@media screen and (max-width: 767px) {
    .scroll-indicator {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 50px;
        animation: swipe-hint 2s ease-in-out infinite;
        z-index: 10;
        pointer-events: none;
        opacity: 1;
        transition: opacity 0.5s ease;
    }

    .scroll-indicator.hidden {
        opacity: 0;
    }

    @keyframes swipe-hint {
        0%, 100% {
        transform: translateY(-50%) translateX(0);
        }
        50% {
        transform: translateY(-50%) translateX(-10px);
        }
    }

    div.scrollmenu {
        position: relative;
    }
}

/* Desktop scroll indicator */
@media screen and (min-width: 768px) {
    .scroll-indicator {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 30px;
        animation: swipe-hint 2s ease-in-out infinite;
        z-index: 10;
        pointer-events: none;
        opacity: 1;
        transition: opacity 0.5s ease;
    }

    .scroll-indicator.hidden {
        opacity: 0;
    }
    @keyframes swipe-hint {
        0%, 100% {
        transform: translateY(-50%) translateX(0);
        }
        50% {
        transform: translateY(-50%) translateX(-10px);
        }
    }

    div.scrollmenu {
        position: relative;
    }
}