JSFiddle - React, Tailwind, and code Playground

HTML

<div class="upperSection">
  <img src="https://picturethismaths.files.wordpress.com/2016/03/fig6bigforblog.png?w=419&h=364">
  <div class="upperBox">
    <div class="description">
      <span class="header">Header</span>
      <span class="text">Text Goes here</span>
    </div>
  </div>
</div>

CSS

.upperSection {
  display: flex;
  justify-content: center;
}
.upperBox {
  display: flex;  /* see note below */
  text-align: center;
  background-color: white;
  
}
.description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1; 
  background-color: white;
}
@media (max-width: 500px) {
  .upperSection { flex-wrap: wrap; }
  .upperBox { width: 100%; }
}