fixed css3 and put things in different files.