Clean up CSS code and fix issue with icons crashing on homepage