.rainbow-text, .rainbow-text-smaller {
    display: inline-block;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    flex-wrap: wrap;
}

.rainbow-text-smaller {
    letter-spacing: normal;
}


.rainbow-text, .rainbow-text-smaller {
    text-align: center;
    color: #fff;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff, 0 0 40px #0ff;
    font-size: 1.5rem; 
}

.rainbow-prayer-text {
  font-size: 2rem;
}

.rainbow-text a, .rainbow-text-smaller a {
    color: inherit;
    text-decoration: none;
    animation: text-rainbow 0.5s linear infinite;
}

.rainbow-text a:hover, .rainbow-text-smaller a:hover {
    text-decoration: underline;
    color: red;
}

.rainbow-text a:active, .rainbow-text-smaller a:active {
    color: blue;
}


.rainbow-text span, .rainbow-text-smaller span, .rainbow-prayer-text span {
    animation: text-rainbow 1s linear infinite;
}


@media (max-width: 768px) {
    .rainbow-text, .rainbow-prayer-text {
        font-size: 1.2rem; 
    }

    .rainbow-text-smaller .modal-text {
        font-size: .9rem;
    }
}

@keyframes text-rainbow {
    0% {
      color: red;
      text-shadow: 0 0 10px red;
    }
    14% {
      color: orange;
      text-shadow: 0 0 10px orange;
    }
    28% {
      color: yellow;
      text-shadow: 0 0 10px yellow;
    }
    42% {
      color: green;
      text-shadow: 0 0 10px green;
    }
    57% {
      color: blue;
      text-shadow: 0 0 10px blue;
    }
    71% {
      color: indigo;
      text-shadow: 0 0 10px indigo;
    }
    85% {
      color: white;
      text-shadow: 0 0 10px white;
    }
    100% {
      color: violet;
      text-shadow: 0 0 10px violet;
    }
}

@keyframes pulse {
    0% {
    transform: scale(1);
    }

    50% {
    transform: scale(1.05);
    }

    100% {
    transform: scale(1);
    }
}
