Hi Blake,
no if and else, no padding or vh / vw, just the ratio and Math.min - I like it.
http://codepen.io/osublake/pen/eb8acdde363898910fb951507e08af48?editors=0110
It is nice way to fix my animation and handle the responsiveness.
A small web for a shoemaker in my neighborhood:
http://www.schustermasmann.imgrindelhof.de/
Kind regards from Hamburg
Manfred