Updated media query method via codereview suggestion and also removed
imports since they're bad.