/**
 * Hero Homepage
 */

.hero-home-page {
  position: relative;
}
.hero-home-page__content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-home-page__img {
  width: 100%;
}
.hero-home-page__img img {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  object-position: bottom;
}
.hero-home-page__img picture::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}
.hero-home-page__text {
  position: absolute;
  color: var(--color-neutral);
  text-align: center;
  width: 100%;
  padding: 0 1rem;
}


.hero-home-page__text h1{
  margin: 0;
}
@media all and (min-width: 1000px) {
  .hero-home-page__img img {
    max-height: unset;
  }
  .hero-home-page__text {
    padding: 0 2rem ;
  }
}


/**
 * Hero Homepage
 */

.hero__content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__img {
  width: 100%;
  position: relative;
}
.hero__img img {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  object-position: bottom;
}
.hero__img::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}
.hero__text {
  position: absolute;
  color: var(--color-neutral);
  text-align: center;
  max-width: 900px;
  padding: 0 1rem;
}
.hero__text-trim {
  position: absolute;
  color: var(--color-neutral);
  text-align: center;
  padding: 0 1rem;
  font-size: 1.5rem;
}

@media all and (min-width: 600px) {
  .hero__text-trim {
    position: absolute;
    color: var(--color-neutral);
    text-align: center;
    max-width: 900px;
    font-size: 2rem;
  }
}

@media all and (min-width: 1000px) {
  .hero__img img {
    max-height: unset;
  }
  .hero__text {
    padding: 0 2rem ;
  }
}
