added max-device-width (instead of just max-width