.hero-background {
  position: relative;
  margin-bottom: 150px;
}
.hero-background__media {
  position: relative;
}
.hero-background.underneath-overlap {
  margin-bottom: -140px;
}
.hero-background.underneath-overlap .hero-background__description {
  padding-bottom: 140px;
}
.hero-background__video {
  overflow: hidden;
}
.hero-background__video iframe {
  border: none;
  width: 100vw;
  height: calc(56.24999993vw);
  /*
            *   1.77777778 is the result of divide 16:9, this is a trick to keep the video 16:9 aspect ratio when the browser is resized.
            */
}
.hero-background__video iframe video {
  object-fit: cover;
}
.hero-background__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  top: 0;
  left: 0;
}
.hero-background__image:before {
  display: block;
  content: '';
  padding-top: 56.25%;
  min-height: 525px;
}
.hero-background__description {
  width: 100%;
  position: absolute;
  text-align: center;
  padding: 0 30px;
  z-index: 3;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-background__search {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  z-index: 4;
}
.hero-background__search .guided-search__container {
  background-color: #ffffff;
  padding: 20px;
}
.hero-background .description__title {
  color: #ffffff;
  text-align: center;
  margin: 0 auto;
}
.hero-background .description__link {
  margin-top: 30px;
  letter-spacing: 0.72px;
}
.hero-background .fade-enter-active,
.hero-background .fade-leave-active {
  transition: opacity 0.5s;
}
.hero-background .fade-leave,
.hero-background .fade-leave-to {
  opacity: 0;
}
.hero-background.reduce-height .hero-background__media:before,
.hero-background.reduce-height .hero-background__image:before {
  padding-top: 0;
  min-height: 325px;
}
.hero-background__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #000000;
  z-index: 3;
  opacity: 0.37;
}
@media screen and (max-width: 575px) {
  .hero-background .description__link {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .hero-background .description__title {
    font-size: 3.2rem;
    letter-spacing: -1px;
  }
}
@media (min-width: 768px) {
  .hero-background {
    margin-bottom: 100px;
  }
  .hero-background.underneath-overlap {
    margin-bottom: -100px;
  }
  .hero-background.underneath-overlap .hero-background__description {
    padding-bottom: 100px;
  }
  .hero-background__image:before {
    min-height: 642px;
  }
  .hero-background.reduce-height .hero-background__media:before,
  .hero-background.reduce-height .hero-background__image:before {
    min-height: 485px;
  }
  .hero-background .description__title {
    max-width: 60%;
  }
  .hero-background .description__link {
    margin-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (min-width: 992px) {
  .hero-background {
    margin-bottom: 0;
  }
  .hero-background__media:before {
    display: block;
    content: '';
    padding-top: 56.25%;
  }
  .hero-background.underneath-overlap {
    margin-bottom: -140px;
  }
  .hero-background.underneath-overlap .hero-background__description {
    padding-bottom: 140px;
  }
  .hero-background__video,
  .hero-background__image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
  }
  .hero-background__image:before {
    min-height: 740px;
  }
  .hero-background__search {
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-background__search .guided-search__container {
    background-color: transparent;
    padding: 0;
  }
  .hero-background.reduce-height .hero-background__media:before,
  .hero-background.reduce-height .hero-background__image:before {
    min-height: 542px;
  }
  .hero-background__description {
    top: 30%;
  }
  .hero-background__description__title {
    max-width: 65%;
  }
}
@media (min-width: 1200px) {
  .hero-background__search {
    top: 70%;
  }
  .hero-background__description {
    top: 36%;
  }
  .hero-background__description__title {
    max-width: 48%;
  }
  .hero-background__description__link {
    margin-top: 60px;
  }
}
@media (min-width: 1440px) {
  .hero-background__search {
    top: 70%;
  }
  .hero-background .description__title {
    max-width: 42%;
  }
}
