/* COLORS */
/* TYPOGRAPHY */
/* ---- MEDIA QUERIES ----- */
.hero-block {
  position: relative;
}
.hero-block .container {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  height: 100%;
  color: #fff;
}
.hero-block .container.small {
  min-height: 44rem;
  padding: 12rem 0 0;
}
.hero-block .container.medium {
  min-height: 64rem;
  padding: 17.5rem 0 0;
}
.hero-block .container.large {
  min-height: 84rem;
  padding: 17.5rem 0 0;
}
.hero-block .heading {
  margin: 0 0 2.5rem;
}
.hero-block .text {
  font-size: 2.5rem;
  font-weight: 300;
  max-width: 64rem;
}
.hero-block .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.hero-block .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-block .background-image img,
.hero-block .background-image picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-block .container {
    padding: 5rem 0;
  }
  .hero-block .container.small {
    min-height: 2rem;
    padding: 5rem 0;
  }
  .hero-block .container.medium {
    min-height: 4rem;
    padding: 5rem 0;
  }
  .hero-block .container.large {
    min-height: 6rem;
    padding: 5rem 0;
  }
  .hero-block .heading {
    margin: 0 0 2.5rem;
  }
  .hero-block .text {
    font-size: 1.8rem;
  }
}