Critical Angle

When light speeds up as it crosses a boundary, the change in direction is away from the normal line. For a specific angle of incidence, called the critical angle, the angle of refraction is 90o.

The diagram shows a the stages of refraction, from normal refraction, to the critical angle, to total internal reflection.