adding variables and fixing css