.hero-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  position:relative;
}

.hero-image, .hero-content {
  grid-row: 1/3;
}


.hero-content {
  padding: 32px;
  width: 684px;
  z-index: 1;
  position: absolute;
}

.hero-image {
  grid-column: 1 / 6;
}

.hero-title {
  width: 684px;
  font-weight: 800;
  font-size: 80px;
  line-height: 100%;
  color: var(--accent-1);
}

.hero-body {
  margin-top: 20px;
  margin-bottom: 0;
  color: var(--accent-1);
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 150%;
}

.hero-body p {
 margin: 0 0 0 0;
 max-width: 500px;
}

@media only screen and (max-width: 1023px) {
    .hero-title {
        max-width: 270px;
        font-size: 42px;
      }

    .hero-body {
        max-width: 270px;
    }
}

@media only screen and (max-width: 725px) {
  .hero-content {
    z-index: 0;
  }

}

@media only screen and (max-width: 800px) {
  .hero-image {
    grid-row: 1/2;
  }
  .hero-content {
    position: relative;
    grid-row: 2/3;
    grid-column: 1/-1;
    padding: 24px;
    width: 80%;
    z-index: 0;
  }
  .hero-title{
    width: auto;
  }
  .hero-body {
    width: 100%;
    max-width: none;
  }

}
