Here is my markup in Layouts Settings
<!-- HEADER BLOCK -->
<header id="nsr-header" class="header-block container-fluid">
<div class="row gx-2 d-flex flex-row justify-content-center align-items-center justify-content-md-center align-items-md-center justify-content-lg-center align-items-lg-center justify-content-xl-center align-items-xl-center">
<div id="nsr-header-left" class="col-2 col-md-2 w-100 d-flex justify-content-start align-items-center">
<jdoc:include type="module" name="statesites"/>
</div>
<div id="nsr-header-center" class="col-8 col-md-8 d-flex justify-content-center align-items-center">
<jdoc:include type="module" name="custom" title="Title1"/>
</div>
<div id="nsr-header-right"
class="col-2 col-md-2 d-flex d-xl-flex flex-column justify-content-xl-center align-items-xl-start">
<jdoc:include type="module" name="changevision"/>
<jdoc:include type="module" name="custom" title="Title2"/>
</div>
</div>
</header>
<!-- // HEADER BLOCK -->
This is how the page is formed in the browser
<header id="nsr-header" class="header-block container-fluid">
<div class="row gx-2 d-flex flex-row justify-content-center align-items-center justify-content-md-center align-items-md-center justify-content-lg-center align-items-lg-center justify-content-xl-center align-items-xl-center">
<div id="nsr-header-left" class="col-2 col-md-2 w-100 d-flex justify-content-start align-items-center">
<div class="sitegovuaroot">
..............
</div>
<div id="nsr-header-center" class="col-8 col-md-8 d-flex justify-content-center align-items-center">
..................
</div>
<div id="nsr-header-right"
...........................
</div>
</div>
</div>
</header>
Elements <div id="nsr-header-center" and <div id="nsr-header-right" have become children of <div id="nsr-header-left"
How to fix the error?
I can't write styles for each of the elements correctly
thank you