.home {
  position: relative;
  height: 40%;
}

.home-content {
  padding: 6rem 0;
  max-width: 44rem;
}

.home-heading {
  padding-top: 2rem;
  font-family: "Georgia", sans-serif;
  font-weight: 700;
  font-size: 5.5rem;
  color: #01996d;

}

.home-text {
  font-weight: 400;
  font-size: 2rem;
  line-height: 157%;
  color: #484848;

  margin-bottom: 5rem;
}

.home-bg-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

@media (min-width: 1950px) {
  .home-bg-img {
    left: 25vw;
  }
}

@media (max-width: 1200px) {
  .home-content {
    padding: 12.5rem 0;
    max-width: 44rem;
  }
}

@media (max-width: 1100px) {
  html {
    font-size: 36%;
  }
}

@media (max-width: 980px) {
  html {
    font-size: 32%;
  }
}

@media (max-width: 850px) {
  .home-content {
    padding: 10.5rem 0;
  }

  .home-heading {
    font-size: 5.5rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 750px) {
  .home-content {
    padding: 6.5rem 0;
    max-width: 34rem;
  }

  .home-heading {
    font-size: 3.5rem;
    margin-bottom: 1rem;
  }

  .home-text {
    margin-bottom: 3rem;
  }
}

@media (max-width: 600px) {
  .home-content {
    padding: 3.5rem 0;
    max-width: 34rem;
  }

  .home-heading {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .home-text {
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 127%;
  }
}

@media (max-width: 500px) {
  .home-content {
    padding: 1rem 0;
    max-width: 60%;
  }

  .home-heading {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .home-text {
    margin-bottom: 3rem;
  }
}

@media (max-width: 460px) {
  .home-text {
    line-height: 100%;
    margin-bottom: 2rem;
  }

  .button-same {
    padding: 1rem 3rem;
    height: 4.5rem;
  }

  .button-text {
    font-size: 2rem;
    line-height: 100%;
  }
}

@media (max-width: 380px) {
  .home-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .home-heading {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }

  .home-text {
    line-height: 100%;
    margin-bottom: 0.5rem;
  }

  .home-bg-img {
    height: 120%;
  }
}

@media (max-width: 330px) {
  .home-text {
    line-height: 100%;
    margin-bottom: 0.5rem;
  }
}


