Fixed links not opening properly, improved code readability, and changed css to be inline to reduce http requests