The Bootstrap 5 button extends the default behavior and does not collapse. Here is the code:
<nav id="header-nav" class="navbar navbar-expand-lg navbar-light">
<div class="container">
<a class="navbar-brand" href="index.html"> <h1>Food,LLC</h1></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse d-block d-sm-none" id="navbarSupportedContent">
<ul id="nav-list" class="nav navbar-nav navbar-right" class="d-block d-sm-none">
<li class="li-Menu text-center d-sm-none">Chiken</li ><hr class="d-sm-none">
<li class="li-Menu text-center d-sm-none">Beef</li><hr class="d-sm-none">
<li class="li-Menu text-center d-sm-none">Sushi</li>
</ul>
</div>
</div>
</nav>
I attempted to modify these classes //data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"// But without success