Refactored CSS to use REM units with PX fallbacks.