So bacically I made some elements, animated them with CSS and added some functionalities with JS. Here's a jsfiddle version of it:
https://jsfiddle.net/weeznismen/4frt72s3/
Right now I'm struggling with slowing down the animation when user hovers over inner circle or a displayed text. Right now, the CSS property
animation-duration
changes on hover to larger number so it slows down and when cursor leaves it, it changes back to original, to speed up again. The problem is it's snappy and I'm trying to achieve a smooth transition from slowed down animation to sped up and vice versa. Any ideas?