<div class="container mx-auto">
<div class="flex flex-col md:flex-row gap-4">
<!-- Column 1 -->
<div class="flex-1 p-6">
<h2>Column 1</h2>
<p>This is the content for the first column. On smaller screens, it will appear above the second column.</p>
</div>
 
      <!-- Column 2 -->
<div class="flex-1 p-6">
<h2>Column 2</h2>
<p>This is the content for the second column. On medium and larger screens, it will appear side-by-side with the first column.</p>
</div>
 
    </div>