tweaked and optimized css