Changing Centre of 3D Viewport
Select an object by LMB over it and then press numpad period to focus on it.

But if you want to focus on an emtpy space and pivot around it, LMB to move the 3D cursor to that spot then  Alt home