Thanks for the code! That didn’t fully work. I would like the menu text to still be lined up at the left side but just be in the middle. Everything else worked. Only thing I’m worried about is that the icons in the theme customization show not in place. But I looked at my laptop and everything was correct so I think it is just the theme customization bug.
This is how it shows in the theme customization desktop view. (But If you think it is only gonna show like that in this customization view than its ok. Because on my laptop everything is correct)