simplifying media query computes