Correcting CSS to enable responsive CSS to function correctly