I use bootstrap and I would like to know why when I apply max-width to an image, it does not consider text-center and is decentralized. Just remove the max-width to make it centered again.
<div class="img-rsa g-4 align-self-center text-center">
<img src="img/aluno-rsa.jpg" alt="" class="img-fluid" style="border-radius:100%">
</div>
.img-rsa {
width: 100%;
max-width: 350px;
display: block;
}