Thank you very much for this response Beverleyh! I literally just started learning to code and I started doing this portfolio page as part of Free Code Camp’s challenges.
Your point about the UX of the animation is right, the reason I was trying to figure it out is simply because I wanted to experiment and see if I could make it work. I find web animations very fascinating and was using this as a way to understand how CSS animations, keyframes, overflow, etc work.
I will definitely reconsider this design choice and remove the unnecessary typing effect!