I made my viewport background black and dont know how to change it back
Not sure what you did, but a good place to check is in the World Properties Tab. The settings I have highlighted are the defaults - make sure yours match.