main {
  margin: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

main section {
  width: 70vw;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.hero-img {
  background-size: cover;
  background-position: center;
  height: 400px;
}

.hero-text h1 {
  font-size: 40px;
  font-weight: 300;
  padding: 2rem;
  background: #04662d;
  color: white;
  border-radius: 8px 8px 0 0;
}

.text-container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.text-container section {
  width: 100%;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.text-container h3 {
  color: #04662d;
  font-size: 1.2rem;
}

.text-container ul {
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.text-container a {
  color: #04662d;
  font-weight: 700;
  transition: 0.1s;
}

.text-container a:hover {
  color: #003717;
  text-decoration: underline;
}

@media (max-width: 760px) {
  main {
    margin: 2rem;
  }

  main section {
    width: 100%;
  }

  .hero-img {
    height: 300px;
  }
}


@media (max-width: 500px) {
  .hero-text h1 {
    font-size: 30px;
  }
}

@media (max-width: 540px) {
  .hero-img {
    height: 200px;
  }
}

@media (max-width: 400px) {
  .hero-text h1 , .text-container {
    padding: 1.7rem;
  }
}