I found a solution to this on the internet, but it was all using old versions of Bootstrap, and apparently does not work on my o.o '.
code
<nav class="navbar navbar-expand-lg navbar-dark bg-default">
<span class="navbar-brand" align = "center">
<h2 class = "font-weight-light text-justify"><em>A s t r o </em> mania</h2>
</span>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarText">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#Inicio">Home<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Features</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Pricing</a>
</li>
</ul>
<span class="navbar-text" align = "center">
O melhor counteúdo de astronomia você encontra aqui no <em>A s t r o</em> mania.
</span>
</div>
</nav>