try device-width and device-height with ems instead of px