.side-container {
  padding: 1rem;
}
.post-img-section {
  position: relative;
  height: 25rem;
  width: 100%;
  background: linear-gradient(to bottom, transparent, #000),
    url("../media/images/img-51454235-d99a-4cef-8186-c0eec986d25c.png");
  background-size: cover;
  background-repeat: no-repeat;
}
.related-post {
  display: inline-block;
  width: 100%;
  margin: 2rem auto 0 auto;
  text-transform: uppercase;
}
.related-post::after {
  display: block;
  content: "";
  /* width: 6%; */
  border-bottom: solid 4px #000;
  transform: scaleX(1);
}
.text-display {
  background-color: lightgray;
  padding: 0.5rem;
}
.view-text p {
  margin: 1rem;
  text-align: left;
}
.info-display {
  color: #fff;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  bottom: 5%;
  left: 5%;
}
.sub-title-text p {
  font-size: 16px;
  letter-spacing: 2px;
}
.hero-title h2 {
  font-size: 2rem;
  margin: 0;
  padding: 0;
}

/* pagination */
.pagination {
  display: flex;
  margin: 2rem 2rem;
  left: 50%;
}
.pagination a {
  color: black;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: background-color 0.3s;
  border-bottom: 1px solid #000;
}
.pagination a.active {
  background-color: #000;
  color: white;
  border: 1px solid #000;
}
.pagination a:hover:not(.active) {
  background-color: #fff;
}

/* media querys */

@media (min-width: 35em) {
  .large-view {
    display: flex;
  }
  .side-container {
    width: 70%;
  }
  .hero-title h2 {
    font-size: 3rem;
  }
  .text-display {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .pagination {
    margin: 2rem auto;
  }
}
@media (min-width: 37em) and (max-width: 52em) {
  .large-view {
    display: flex;
    flex-direction: column;
  }
  .side-section {
    display: flex;
  }
  .side-container {
    width: 100%;
  }
}
