Looking for a solution to center Font Awesome icons vertically while keeping the text aligned separately? Currently, the icons and text are centered together on the page, but I want the icons to be centered vertically and the text to follow independently. Is there a way to achieve this without creating messy CSS code by wrapping each element in separate containers? Check out the code snippet below if you're unsure about my query. Appreciate any insights.
<section class="contact-main">
<div class="container">
<div class="email">
<i class="fas fa-envelope fa-3x"><p> Email</p></i>
</div>
<div class="phone">
<i class="fas fa-phone-square fa-3x"><p> Phone</p></i>
</div>
<div class="facebook">
<i class="fab fa-facebook-square fa-3x"><p> Facebook</p></i>
</div>
</div>
</section>