Fixed CSS and animation timing