title: What's the best way to place the text nearby the logo in this case?
body: <p>I want to place the text nearby the logo but <strong>justify-content: center;</strong> is making it more difficult, how can I move the text closer to the logo without having to use <strong>position: left/right</strong> ?</p>
  <p>Using <strong>css-position</strong> will affect the responsiveness in the future ?</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>body {
  
      background: #19111d;
  }
  
  header {
  
      background: #8761b3;
      display: flex;
      align-items: center;
      justify-content: space-between;
  }
  
  img {
  
      width: 100px;
  }
  
  p {
  
      font-size: 30px;
  }
  
  nav ul {
      
      display: flex;
  }
  
  nav li {
  
      list-style: none;
      padding: 0px 20px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8"&gt;
          &lt;title&gt;test&lt;/title&gt;
          &lt;link rel="stylesheet" href="./styles.css"&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;header&gt;
              &lt;img alt="logo" src="logo.png"&gt;
              &lt;p&gt;Random Text&lt;/p&gt;
              &lt;nav&gt;
                  &lt;ul&gt;
                      &lt;li&gt;Home&lt;/li&gt;
                      &lt;li&gt;Home&lt;/li&gt;
                      &lt;li&gt;Home&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/nav&gt;
          &lt;/header&gt;
      &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>