made css more dynamic