I'm currently developing a quiz application that includes a timer counting down from 10 seconds to 0 seconds. As the timer reaches closer to 0 seconds, I am looking to implement a feature where my text blinks faster and faster. Additionally, I would like the transition time for this effect to start at 2 seconds when the timer is around 10 seconds and decrease as less time remains.