Animations are converted from JS to pure CSS