I'm fairly new to using Bootstrap and I have a question about centering content. Currently, I am using a container with three rows, but all the content is aligned to the left. I would like to center it in the viewport. I know that the container-fluid class is meant to make use of the entire viewport area. What changes do I need to make to center the content while still keeping it responsive? My HTML code is provided below. Thank you.
Jason
<!-- Bootstrap-5 -->
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2f4d40405b5c5b5d4e5f6f1a011e011c">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="07656868737473756677473229362934">[email protected]</a>/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<!-- Body -->
<div class="container-fluid">
<div class="row">
<div class="col1">
<h1>XXXX XXXXX</h1>
</div>
</div>
<div class="row">
<div class="col1">
<ul class="nav">
<li class="nav-item">
<a class="nav-link active" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#">Meet Jason</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#">Our Philosophy</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#">Curiculum</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#">Contact Us</a>
</li>
</ul>
</div>
</div>
<div class="row">
<div class="col1">
<div id="carouselExampleInterval" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active" data-bs-interval="10000">
<img src="images/_A0D7832.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item" data-bs-interval="10000">
<img src="images/_A0D7906.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item" data-bs-interval="10000">
<img src="images/_A0D7942.jpg" class="d-block w-100" alt="...">
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleInterval" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleInterval" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
</div>
<div class="row">
<div class="col1">
<p>Hello Worldsssssss!</p>
</div>
</div>
</div>