Adjusted styling to use em/rem units instead of px in layout code.