How to reset viewport camera?

Somehow my camera got messed up. When I hold the right mouse button to look around the directions are rotated one step counterclockwise. So moving left is up, right is down, up is right and down is left. like the camera is laying on it side. I’ve tried changing cameras, I’ve toggled the world vs local coordinates. I really can’t figure out what I did to make this happen. Any ideas on how to fix it?

Just coming to say I also experienced this in 4.25. Not sure if a bug or a feature I accidentally enabled at this point.

Select an actor in your scene and press F, that will center and reset the camera to the selected actor