Adding <main> and correcting CSS inconsistencies