.rainbow-comic-sans {
    display: inline-block;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    font-size: 96px;
    font-weight: bold;

    /* Palindromic gradient: forward then backward */
    background: linear-gradient(
        90deg,
        red  4.1667%,              
        orange 12.5%,        
        yellow 20.8333%,
        green 29.1667%,
        blue 37.5%,
        indigo 45.8333%,
        violet 54.1667%,
        indigo 62.5%,
        blue 70.8333%,
        green 79.1667%,
        yellow 87.5%,
        orange 95.8333%,    
        red 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Large stripes: scale gradient width */
    background-size: 13000px 100%; /* 7x the element width to stretch stripes */

    /* Animation: move left → right, repeats infinitely */
    animation: rainbow 8s linear infinite;
}

@keyframes rainbow {
    0%   { background-position: 0% 0; }
    100% { background-position: -13000px 0; }
}