moved all styles from html/javascript to css file