Fixes some CSS and made them more simple and reusable