sorting duplicate css in the vanilla media queries