c'è la documentazione di MDN

https://developer.mozilla.org/en-US/docs/Web/CSS/animation-fill-mode



codice:
animation-fill-mode: forwards;
...
forwards
The target will retain the computed values set by the last keyframe encountered during execution. The last keyframe encountered depends on the value of animation-direction and animation-iteration-count: