Align flex items closer together

by Bryan Waddington

HTML

<section style="background-color: #293352" class="pop">
  <h1 class="bottomheader">Popular News</h1>
  <h4 class="READMORE"><a href="#">READ MORE</a></h4>
</section>
<section style="background-color: #293352" class="firstsection">
  <div class="card">content</div>
  <div class="card">content</div>
  <div class="card">content</div>
  <div class="card">content</div>
  <div class="card">content</div>
  <div class="card">content</div>
</section>

CSS

.firstsection {
  width: 100%;
  height: 100;
}

.firstsection h1 {
  color: rgb(255, 255, 255);
  display: block;
  font-size: 36px;
  font-weight: 300;
  line-height: 42.0001px;
  padding-bottom: 14px;
  text-align: center;
}

.firstsection {
  display: block;
  width: 100%;
  height: 400px;
  background-color: #414141;
  float: left;
}

.bottomheader {
  margin-top: 40px;
  color: white;
  font-size: 40px;
  position: relative;
  top: -20px;
}

.READMORE {
  display: inline;
  position: relative;
  top: -40px;
  left: 642px;
  font-size: 16px;
  text-align: center;
  border: 1px solid white;
  height: 50px;
  padding: 20px;
}

.pop .READMORE a {
  color: white;
  text-decoration: none;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: black;
  width: 30%;
  border-top: 3px solid red;
  background-color: white;
  height: 80px;
}

.card {
  color: black;
  width: 30%;
  border-top: 3px solid red;
  background-color: white;
  height: 80px;
  margin: 10px;
}

.firstsection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
}

.pop {
  float: right;
  height: 100px;
  width: 100%;
  text-align: center;
}