Note: as it changes to red, it changes slowly. When it changes to green it transitions quickly. You can edit the times in the CSS above to changes the duration of the transitions