EM based media queries implemented