@keyframes grape {
  0% {
    color: #00b8d4;
  }
  25% {
    color: #ffac41;
  }
  50% {
    color: #ffcc80;
  }
  75% {
    color: #ffac41;
  }
  100% {
    color: #00b8d4;
  }
}

@keyframes grape-bg {
  0% {
    background: #00b8d4;
  }
  25% {
    background: #ffac41;
  }
  50% {
    background: #ffcc80;
  }
  75% {
    background: #ffac41;
  }
  100% {
    background: #00b8d4;
  }
}

#caret,
.pageSettings .section .buttons .button.active,
.pageSettings .section.languages .buttons .language.active,
.pageAccount .group.filterButtons .buttons .button.active {
  animation: grape-bg 5s linear infinite;
}

[data-ui-element="logo"] h1 {
  color: var(--main-color);
}

[data-ui-element="logoSubtext"],
[data-ui-element="logo"]:hover h1,
#result .stats .group .bottom,
[data-nav-item]:hover,
footer button:hover,
a:not(.button):not([data-ui-variant="button"]):hover {
  animation: grape 5s linear infinite;
}

[data-nav-item="account"]:hover svg {
  color: transparent;
  animation: grape 5s linear infinite;
}

#words {
  --correct-letter-animation: grape 5s linear infinite;
}

#words.flipped {
  --untyped-letter-color: var(--sub-color);
  --correct-letter-animation: none;
  --untyped-letter-animation: grape 5s linear infinite;
}

#words .word.typed letter.correct,
#words.highlight-word .word.typed letter,
#words.highlight-next-word .word.typed letter,
#words.highlight-next-two-words .word.typed letter,
#words.highlight-next-three-words .word.typed letter {
  animation: grape 5s linear infinite;
}

#words.flipped .word.typed letter {
  animation: none;
}

#words.highlight-off .word letter,
#words.highlight-off .word.typed letter {
  animation: grape 5s linear infinite;
}
