title: How to align things responsive html CSS
body: <p>What I have ::</p>
  
  <p><a href="https://i.stack.imgur.com/3PE6e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3PE6e.png" alt="enter image description here"></a></p>
  
  <p>What I need ::</p>
  
  <p><a href="https://i.stack.imgur.com/3cJHo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3cJHo.png" alt="enter image description here"></a></p>
  
  <p>The first image is what I have, while the second is what I'm supposed to do. It's supposed to be responsive, but I'm finding it quite hard to align both sections.</p>
  
  <p>I have this for <strong>Html</strong> &amp; <strong>CSS</strong> ::</p>
  
  <p><div class="snippet" data-lang="js" data-hide="true" data-console="true" data-babel="false">
  <div class="snippet-code snippet-currently-hidden">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.contenedor {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 100%;
  }
  .uno {
    background-color: #009B76;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 36px
  }
  .uno img {
    margin: 4px;
  }
  .contenedor2 {
    width: 77%;
    display: flex;
    display: flex !important;
    position: relative;
    align-items: center !important;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
    background-color: #F2F2F2;
  }
  .dos img {
    margin-top: 8px;
    margin-bottom: 42px;
  }
  .contenedor3 {
    max-width: 51%;
    width: 77%;
    display: flex;
    position: relative;
    align-items: center !important;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
    background-color: blue;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="contenedor"&gt;
    &lt;div class="flex-item uno"&gt;
      &lt;img src="farmasalogo.png"&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="contenedor2"&gt;
    &lt;div class="flex-item dos"&gt;
      &lt;img src="circulo.png"&gt;
    &lt;/div&gt;
    &lt;div class="contenedor3"&gt;
      &lt;div class="flex-item tres"&gt;
        &lt;label&gt;Farmacia:&lt;/label&gt;
        &lt;input type="text" name="lastname"&gt;
        &lt;br&gt;
        &lt;label&gt;Sucursal:&lt;/label&gt;
        &lt;input type="text" name="lastname1"&gt;
        &lt;br&gt;
        &lt;label&gt;Tipo de Farmacia:&lt;/label&gt;
        &lt;select&gt;
          &lt;option&gt;Select an Option&lt;/option&gt;
          &lt;option&gt;Option 1&lt;/option&gt;
          &lt;option&gt;Option 2&lt;/option&gt;
        &lt;/select&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I'm really stuck on this one, so I could really use the help. Thank you all very much.</p>