Despite my thorough research efforts, I have been unable to find a solution. The code snippet below is meant to display the image provided, but it seems to shift to the left when viewed on a mobile device.
If anyone can assist me with this issue, I would greatly appreciate it. Thank you in advance!
<div class="container">
<div class="row g-mb-20">
<div class="col-md-6 col-lg-3 g-mb-50 justify-content-center">
<div class="card" style="width: 18rem;">
<img src="assets/img/calisurf1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-md-6 col-lg-3 g-mb-50 justify-content-center">
<div class="card" style="width: 18rem;">
<img src="assets/img/calisurf1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-md-6 col-lg-3 g-mb-50 justify-content-center">
<div class="card" style="width: 18rem;">
<img src="assets/img/calisurf1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-md-6 col-lg-3 g-mb-50 justify-content-center">
<div class="card" style="width: 18rem;">
<img src="assets/img/calisurf1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
</div>