flush/align label and input with each other
<p>I have follow 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>.groups {
  display: flex;
  width: 100%;
}

.group {
  display: flex;
  flex-direction: column;
}
  </code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="groups"&gt;
  &lt;div class="group"&gt;
    &lt;label&gt;Frist given name
      &lt;input type="text"&gt;
    &lt;/label&gt;
      
    &lt;label&gt;Surname
      &lt;input type="text"&gt;
    &lt;/label&gt;
    
    &lt;label&gt;City
      &lt;input type="text"&gt;
    &lt;/label&gt;
  &lt;/div&gt;
  
  &lt;div class="group"&gt;
    &lt;label&gt;Text 1
      &lt;input type="text"&gt;
    &lt;/label&gt;
      
    &lt;label&gt;Bla bla bla
      &lt;input type="text"&gt;
    &lt;/label&gt;
    
    &lt;label&gt;My dummy-label
      &lt;input type="text"&gt;
    &lt;/label&gt;
  &lt;/div&gt;
  
  &lt;div class="group"&gt;
    &lt;label&gt;Hello, I'm a label
      &lt;input type="text"&gt;
    &lt;/label&gt;
      
    &lt;label&gt;Labelname
      &lt;input type="text"&gt;
    &lt;/label&gt;
    
    &lt;label&gt;Test-label
      &lt;input type="text"&gt;
    &lt;/label&gt;
  &lt;/div&gt;
&lt;/div&gt;</code></pre>
</div>
</div>
</p>

<p>I would like to flush labels and inputs with each other (label on the left side of the input with same space) like in this picture:</p>

<p><a href="https://i.stack.imgur.com/FHok2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FHok2.png" alt="enter image description here"></a></p>

<p>How can I do this on a nice, smart way?</p>

<p>Thanks &amp; cheers.</p>