JSFiddle - React, Tailwind, and code Playground

HTML

<header>
  <p>Header</p>
</header>

<section>
  <div class="container">
    <div class="row--full-width"></div>
    <div class="row">
      <div class="card"></div>
      <div class="card"></div>
    </div>
  </div>
</section>

CSS

header {
  position: sticky;
  top: 0;
  width: 600px;
  margin: 0 auto;
  background-color: #eee;
  z-index: 3;
}

header p {
  padding: 16px;
}

section {
  display: flex;
  justify-content: center;
  padding: 32px 0 1200px;
}

.container {
  display: flex;
  justify-content: center;
  width: 600px;
}

.row--full-width {
  position: relative;
  width: 100vw;
  right: 50%;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #000;
  z-index: 1;
}

.row {
  width: 100%;
  background-color: #eee;
  z-index: 2;
}

.card {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin: 8px;
  background-color: #ff0000;
}