Build a traffic light where the lights switch from green to yellow to red after predetermined intervals and loop indefinitely. Each light should be lit for the following durations:
You are free to exercise your creativity to style the appearance of the traffic light.