I made a site here and I'm supposed to have their names under them and center them. A screenshot is here, but they aren't centred and look really weird on mobile. I need it to be responsive too. What can I add to fix this?
My HTML:
<center>
<h1>Meet our officers!</h1>
</center>
<center>
<div class="main">
<figure>
<center><img src="boysmeettheofficers/Baha Abed.jpg" width="150" height="150" alt="missing"></center>
<center><figcaption>President</figcaption></center>
</figure>
<figure>
<img src="boysmeettheofficers/Adnan AL-Zoibi.jpg" width="150" height="150" alt="missing">
<figcaption>Vice President</figcaption>
</figure>
<figure>
<img src="boysmeettheofficers/Omar Ibrahim.jpg" width="150" height="150" alt="missing">
<figcaption>Secertary</figcaption>
</figure>
<figure>
<img src="boysmeettheofficers/Othman Al-Mesbah.jpg" width="150" height="150" alt="missing">
<figcaption>Historian</figcaption>
</figure>
<figure>
<img src="boysmeettheofficers/Salman Al-Estath.jpg" width="150" height="150" alt="missing">
<figcaption>Treasurer</figcaption>
</figure>
</div>
</center>
My CSS:
.main {
display: flex;
}