Refactored CSS to update the index page