CSS Responsive Type Scale

Calculate small, body, heading 3, heading 2, heading 1 from base font size (px), scale ratio.