JSFiddle - React, Tailwind, and code Playground

HTML

<body>
    <div class = "first"><p>#1</p></div>
    <div class = "wrapper">
      <div class = "second"><p>#2</p></div>
      <div class = "third"><p>#3</p></div>
    </div>
    <div class = "fourth"><p>#4</p></div>
  </body>

CSS

body {
  width: 100%;
  min-width: 240px;
  font-size: 100%;
}
.first {
  min-height: 100px;
}
.first,
.wrapper .second,
.wrapper .third,
.fourth {
  background: #ccc;
  border: 2px solid #333;
}
.first p,
.wrapper .second p,
.wrapper .third p,
.fourth p {
  font-size: 2em;
  color: #222;
  line-height: 3em;
  margin-left: 10px;
}
.wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 1640px;
}
.wrapper .second,
.wrapper .third {
  display: inline-block;
  min-height: 1500px;
  width: 100%;
  max-width: 600px;
  margin: 100px;
}
.fourth {
  clear: both;
}
.wrapper{
  width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
align-content: center;
}