This is the current layout of my navbar, with the logo in the center. I now want to enhance it by adding a search bar and some icons similar to this example: ideal navbar
Here is my current navbar for reference: My current navbar
<header>
<nav class="navbar navbar-expand-md ">
<div id="nav" class="container-fluid">
<a class="navbar-brand d-md-none" href="index.html">
<img src="relogo.png" alt="">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav mx-auto">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="produkte.html">PRODUKTE</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">ANBIETER</a>
</li>
<a class="navbar-brand d-none d-md-block" href="index.html">
<img src="relogo.png" alt="">
</a>
<li class="nav-item">
<a class="nav-link" href="#">ÜBER UNS</a>
</li>
<li class="nav-item">
<a class="nav-link" href="kontakt.html">KONTAKT</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
I want to add a search bar at the end of the navbar, but after doing so, the logo is no longer centered and the icons appear below the navbar content. Here is how it looks currently: current
<li> <form class="d-flex"> <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search"> </form> </li>