Is there a way to adjust the div containing photos to take up all available space without large margins within the row, while also maintaining a consistent height for all photos in both horizontal and vertical orientations and ensuring responsiveness? The margins within the row should remain consistent. Additionally, the middle photo should be wider to maintain proper proportions.
HTML:
<main>
<div class="container">
<div class="row justify-content-sm-center">
<div class="col-lg-4 col-md-6 col-sm-12">
<figure class="description">
<a href="img/projects/home/1.jpg" data-lightbox="mygallery" data-gallery="multiimages"><img src="img/projects/home/1.jpg" class="img-fluid img home-photos"></a>
</figure>
</div>
<div class="col-lg-4 col-md-6 col-sm-12">
<figure class="description">
<a href="img/projects/home/2.jpg" data-lightbox="mygallery" data-gallery="multiimages"><img src="img/projects/home/2.jpg" class="img-fluid img home-photos"></a>
</figure>
</div>
<div class="col-lg-4 col-md-6 col-sm-12">
<figure class="description">
<a href="img/projects/home/3.jpg" data-lightbox="mygallery" data-gallery="multiimages"><img src="img/projects/home/3.jpg" class="img-fluid img home-photos"></a>
</figure>
</div>
</div>
</div>