simplified CSS and added CSS variable for multi used factor