.hero-section {
  position: relative;
  width: 100%;
  height: 760px;
  display: flex;
  align-items: flex-start;
  justify-content: left;
  margin-top: -75px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
  z-index: 0;
  filter: brightness(0.75);
}

.hero_content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: left;
  padding: 10px 44px;
  width: 100%;
  max-width: 1305px;
  margin: 180px auto 0;
}

.hero_content h1 {
  display: inline-block;
  margin-bottom: 48px;
}

.hero_content h1 .hero_oval {
  color: #002E2D;
  font-weight: 600;
  font-size: 64px;
  line-height: 72px;
  letter-spacing: -2%;
  background: linear-gradient( 90deg, #FFFFFFE3 82%, #F1E2FE00 100% );
  padding: 12px 48px;
  border-radius: 120px;
  margin-left: 0;
  transition: margin-left 0.2s;
  display: table;
  /* white-space: nowrap;*/
}

.hero_content h1 .hero_oval:nth-child(2) {
  margin-left: 180px;
}
.hero_content h1 .hero_oval:nth-child(3) {
  margin-left: 290px;
}
.hero_content h1 .hero_oval:nth-child(4) {
  margin-left: 360px;
}


.hero_infotext {
  font-size: 22px;
  line-height: 30px;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 48px;
}

.hero_infotext ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero_infotext li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
}

.hero_infotext li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background-image: url('check.svg');
  background-size: contain;
  background-repeat: no-repeat;
}


/*
.hero_button {
  /* background-color: #ffeb00;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 600;
  color: #002E2D;
  font-size: 22px;
  line-height: 30px;
  border: 1px solid #E5D300;
  background: linear-gradient(
    to right,
    #FFF9B2 0%,
    #FFEB00 100%
  );
  box-shadow: 0 4px 20px 4px rgba(255, 235, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
  /* background-size: 300% auto; 
}

.hero_button:hover {
  /* background-position: 100% 0; 
  background: linear-gradient(
    to right,
    #FFEB00 0%,
    #FFF9B2 100%
  );
} */

.hero_button:hover {
  background: linear-gradient(86deg, #FFEB00 8.33%, #FFF9B2 78.8%);
  background-size: 200% 100%;
  background-position: 15% 50%;
  box-shadow: 0 2px 12px -2px rgba(211, 198, 6, 0.60);
}

.hero_button {
  background-color: #ffeb00;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 600;
  color: #002E2D;
  font-size: 22px;
  line-height: 30px;
  border: 1px solid #E5D300;
  background: linear-gradient(277deg, #FFEB00 8.33%, #FFF9B2 78.8%);
  box-shadow: 0 4px 20px 4px rgba(255, 235, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
  background-size: 200% 100%;
  background-position: 15% 50%;
}

.hero_button_infotext {
  font-size: 14px;
  line-height: 20px;
}


@media only screen and (max-width: 800px) {
  .hero-section {
    height: unset;
    display: block;
    margin-bottom: 54px;
  }

  .hero-bg {
    height: 450px;
    position: relative;
  }

  .hero_content {
    margin-top: -62px;
    padding: 0 24px;
  }

  .hero_content h1 .hero_oval {
    padding: 8px 24px;
    font-size: 34px;
    line-height: 40px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.25);
  }

  .hero_content h1 .hero_oval:nth-child(2) {
    margin-left: 60px;
  }

  .hero_infotext li::before {
    width: 24px;
    height: 24px;
    background-image: url('check_mobile.svg');
  }

  .hero_content h1 {
    margin-bottom: 24px;
  }

  .hero_infotext {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: #002E2D;
    margin-bottom: 24px;
    margin-left: 10px;
  }

  .hero_infotext li {
    padding-left: 36px;
    margin-bottom: 16px;
  }

  .hero_button {
    font-size: 18px;
    line-height: 24px;
  }

  .hero_button_infotext {
    color: #002E2D;
  }
}

@media only screen and (max-width: 400px) {
  .hero_content h1 .hero_oval {
    padding: 8px 20px;
  }

  .hero_content h1 .hero_oval:nth-child(2) {
    margin-left: 40px;
  }
}

@media only screen and (max-width: 365px) {

  .hero_content {
    margin-top: -59px;
    padding: 0px 16px;
  }

  .hero_content h1 .hero_oval {
    padding: 6px 18px;
  }

  .hero_content h1 .hero_oval:nth-child(2) {
    margin-left: 20px;
  }
}
