cleaning up the css stuff and also moving search to its own file