Better conditional logic; basic css