@BlueDreamer I think I am getting there, so I posted a html code earlier nav bar that contains a button categorias , then I have this section with important information :
section id="variety" class="variety pt-4">
<div class="container">
<div class="section-title">
<h2 class="text-center font-weight-bold">Categorias</h2>
<p>Seleção dos melhores pratos e ingredientes, para que desfrute
de uma refeição rica e saudável.
</p>
</div>
To add the anchor link I have to change section id= "variety" with id= "main nav-bar" this where I get after seen your example is it correct?