.rainbow-text {
    /* max-width: 45rem; */
    background-image: linear-gradient(
            to right,
            #ff0000, /* Soft Red */
            #ff8c00, /* Soft Orange */
            #f6ff00, /* Soft Yellow */
            #2bff00, /* Soft Green */
            #00eaff, /* Soft Blue */
            #2600ff, /* Soft Purple */
            #ff0000  /* Loop back to the first color for a seamless transition */
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    background-size: 200% auto;

    /* text-align: center; */
    font-size: 24pt;
    font-weight: 700;

    animation: rainbow 4s linear infinite;
}

@keyframes rainbow {
    to {
        background-position: 200% center;
    }
}