if want burry foreground and background: mid focus distance (70-90mm) f/2.8 camera close to main object and main object far from background. everything clear: 16mm, f/14 and try to focus on 1/3
if want object clear and burry back. use f/2.8 and very close to main object. . or use 200mm and have some distance between the object and background. If want burry foreground: use 24mm, f/2.8 and camera close to main object.
to get everything clear from front to back: shorter focus lens (16mm) small f factor and object close to background. To get burry background: long focus (200mm) large f factor (f/2.8) and main object far from background.
to get blurry background, need to close to object and object far from background. when camera is far from object and object close to background then everything is clear.