#hbsuccess-stories-grid div,
h1,
h2,
h3 {
  color: white;
  position: relative;
  display: block;
  font-family: "Oswald, sans-serif";
}

.hbsuccess-stories-grid .hbsuccess-stories-card-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 78%;
  margin-right: auto;
  box-sizing: border-box;
  margin-left: min(20vmin, 200px);
}

.hbsuccess-stories-card-block .hbsuccess-stories-card {
  position: relative;
  display: block;
  width: 25%;
  flex-basis: 25%;
  border: steelblue;
  height: 31em;
  transition: all 0.3s;
  transform: scale(1);
  box-sizing: border-box;
  overflow: hidden;
  padding: 1%;
}

.page-nav-btn {
  color: #c5a47e;
  margin: auto;
  background-color: #2b2b2b;
  border-color: #c5a47e;
  height: 4rem;
  width: 16em;
}

@media only screen and (max-width: 900px) {
  .hbsuccess-stories-card-block .hbsuccess-stories-card {
    width: 50%;
    flex-basis: 50%;
  }

  .page-nav-btn {
    height: 6em;
    width: 24em;
  }
}

@media only screen and (max-width: 1650px) {
  .hbsuccess-stories-card-block {
    padding-top: 10em;
  }
}

.hbsuccess-stories-card .hbsuccess-stories-card-link {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  display: block;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.hbsuccess-stories-card-image {
  position: absolute;
  display: block;
  min-width: 100%;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  z-index: 0;
}

.hbsuccess-stories-card-image::after {
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(0, 0, 0, 0.7)),
    color-stop(90%, rgba(255, 255, 255, 0))
  );
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(255, 255, 255, 0) 95%
  );
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
}

.hbsuccess-stories-card-details {
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: 10%;
  z-index: 1;
}

.hbsuccess-stories-card-details h3 {
  font-size: 3.5vh;
  font: bold;
  font-family: "Oswald";
  z-index: 2;
}

.hbsuccess-stories-card-details div {
  font-size: 2vh;
  font: bold;
  font-family: "Oswald";
  z-index: 2;
}

.hbsuccess-stories-card-image:hover {
  transform: scale(1.2);
  transition: 0.75s all ease-in-out;
}

.page-nav {
  padding-top: 4em;
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
}

.full-page {
  padding-top: 12em;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header {
  width: 100%;
  display: block;
  height: 24em;
  overflow: hidden;
  box-sizing: border-box;
}

.header-content {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: block;
  position: relative;
}

.header-content .header-details {
  height: 100%;
  width: 50%;
  margin: auto;
  z-index: 2;
  display: flex;
  box-sizing: border-box;
  content: center;
  align-items: center;
  align-content: center;
}

.detail-img-header {
  position: absolute;
  display: block;
  min-width: 100%;
  min-height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  z-index: 0;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.detail-img-header::after {
  background-color: rgba(54, 53, 55, 0.85);
  z-index: 0;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.header-details h2 {
  font-size: 2vh;
  font: bold;
  font-family: "Oswald";
  box-sizing: border-box;
  position: relative;
}

.header-details h3 {
  font-size: 4vh;
  font: bold;
  font-family: "Oswald";
  box-sizing: border-box;
  position: relative;
  color: #c5a47e;
}

.description {
  font-size: x-large;
  font: bold;
  margin-top: 1em;
  font-family: "Oswald";
  font-weight: bolder;
  padding-top: 2em;
  width: 50%;
}

.success-story-detail {
  margin-top: 3em;
  width: 50%;
}

.success-story-detail h3 {
  color: #c5a47e;
}

.success-story-detail p {
  font-size: large;
}
