title: how to evenly center image and text on the page
body: <p>Hi I'm trying to put 3 sections of images and text at the center of the page. I've tried display flex align-items to center, and justify-content to center. justify-content to puts everything to the center of the page, but everything is uneven.</p>
  <p>Here is my code</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.contact-main-container{
      max-height: 100vw;
      justify-content: center;
      text-align: center;
      font-family: 'Rubik', sans-serif;
      color: #e0e7ff;
      border: 2px solid black;
  }
  
  .contact-links-container{
      border: solid 1px black;
  }
  
  .contact-link{
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 60px;
  }
  
  .contact-link img{
      width: 100px;
      height: 100px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div className="contact-main-container"&gt;
    &lt;header&gt;
      &lt;h1&gt;Contact Me&lt;/h1&gt;
    &lt;/header&gt;
    &lt;div className="contact-links-container"&gt;
      &lt;section className="contact-link"&gt;
        &lt;img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/google/google-original.svg" /&gt;
        &lt;a&gt;rsteward117@gmail.com&lt;/a&gt;
      &lt;/section&gt;
      &lt;section className="contact-link"&gt;
        &lt;img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/github/github-original.svg" /&gt;
        &lt;a&gt;Github&lt;/a&gt;
      &lt;/section&gt;
      &lt;section className="contact-link"&gt;
        &lt;img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/linkedin/linkedin-original.svg" /&gt;
        &lt;a&gt;Linkedin&lt;/a&gt;
      &lt;/section&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>