How to make accurate countdown timer with blinking animation?

pen: [ ]

i have countdown timer 3,2,1 with blinking on one second, and then game is started
even on pc i got lagging, i want animation to exactly blink on one second, sometimes there is two blinking for second

line 258: js timer
line 35: css animation blinking ( for every second )

question was ‘countdown timer with blinking animation’