updated styles and div elements to types