title: Move a div inside a div with another div already in it
body: <p>I hope it didn't sound too confusing, but basically what I want is to move that div with the buttons, highlighted in green, to the place highlighted in red, with the image on the left and the buttons on the center:</p>
  <p><a href="https://i.stack.imgur.com/Ad44L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ad44L.png" alt="enter image description here" /></a></p>
  <p>I searched in every place on the internet and all the solutions don't put me the div in the center, only on the far right or in any other place where is not supposed to be, so I'm hoping someone here could help me with this!</p>
  <p>This is the HTML I have on that top part:</p>
  <pre><code>&lt;body&gt;
      &lt;div id=&quot;topback&quot;&gt;
          &lt;div class=&quot;caixa_botoes&quot;&gt;
              &lt;button id=&quot;bot1&quot; type=&quot;button&quot;&gt;Resultados&lt;/button&gt;
              &lt;button id=&quot;bot1&quot; type=&quot;button&quot;&gt;Rankings&lt;/button&gt;
              &lt;button id=&quot;bot1&quot; type=&quot;button&quot;&gt;Partidas&lt;/button&gt;
              &lt;button id=&quot;bot1&quot; type=&quot;button&quot;&gt;Noticias&lt;/button&gt;
          &lt;/div&gt;
          &lt;img class=&quot;logo&quot; src=&quot;logo.png&quot;&gt;
  
      &lt;/div&gt;
  </code></pre>
  <p>And this is the CSS i have:</p>
  <pre><code>#topback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    background-color: #2a4158; 
    z-index: 100;
  }
  
  .logo{
    margin-top: 0.3%;
    height: 80%;
    width: 4.5%;
    border: 4px solid #22272c;
    margin-left: 5%;
  }
  
  .caixa_botoes{
    margin-top: 0.3%;
    display: block;
  }
  
  #bot1{
    border: none;
    color: #2a4158;
    background-color: #8c9ea3;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
  }
  </code></pre>
  <p>I hope that someone can help me, thank you all in advance!</p>