/*
 * Responsive font size mixins.
 */
/*
 * Text styling.
 * Also see heading.scss.
 */
.text-bold {
  font-weight: 700;
}

.text-label {
  font-weight: 700;
  margin-right: 5px;
}

.text-centered {
  text-align: center;
}

.text-small-3 {
  font-size: 0.5rem;
}

.text-small-2 {
  font-size: 0.8rem;
}

.text-small-1 {
  font-size: 0.9rem;
}

.text-normal {
  font-size: 1rem;
}

.text-large-1 {
  font-size: 1.1rem;
}

.text-large-2 {
  font-size: 1.3rem;
}

.text-large-3 {
  font-size: 1.5rem;
}

.text-large-4 {
  font-size: 2rem;
}

.text-large-5 {
  font-size: 3rem;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
/*
 * On mobile, put the hero content under the image and just have the credit
 * in the overlay shoved up over it. For larger screens, use this grid trick
 * to layer the overlay and content on top of the image.
 *
 * Grid layout from:
 * https://dev.to/billraymond/creating-a-pure-responsive-css-grid-hero-image-or-banner-image-2pej
 */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 500px;
  grid-column-gap: 0;
  grid-row-gap: 0;
  align-content: center;
  justify-content: center;
}

.hero__media {
  grid-area: 1/1/2/2;
}
.hero__media img {
  display: grid;
  min-width: 400px;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.hero__overlay {
  color: #e5e5e5;
  grid-area: 1/1/2/2;
  display: grid;
  max-width: 100%;
  margin: 0;
  align-content: end;
}

.hero__overlay-text {
  padding: 5px;
  max-width: 500px;
  text-align: center;
  font-size: 0.6rem;
  color: #e5e5e5;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero__content {
  max-width: 95%;
  width: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  text-align: center;
  grid-area: 1/1/2/2;
  padding: 0;
}
@media screen and (min-width: 1540px) {
  .hero__content {
    max-width: 1250px;
  }
}
@media screen and (min-width: 768px) {
  .hero__content {
    padding: 5px;
  }
}

.hero__content-inner {
  margin: 10px;
  min-width: 300px;
  background-color: rgba(0, 0, 0, 0.5);
}
@media screen and (min-width: 768px) {
  .hero__content-inner {
    min-width: 800px;
    margin: 0 30px;
    padding: 25px;
  }
}

.hero__inner-content-wrapper {
  margin: 5px;
  padding: 5px;
  border: 1px solid #ccc;
}
@media screen and (min-width: 768px) {
  .hero__inner-content-wrapper {
    margin: 10px;
    padding: 20px;
  }
}

.heading--hero {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  .heading--hero {
    font-size: 3rem;
    line-height: 1.4;
  }
}

.body-text--hero {
  color: #e5e5e5;
  font-size: 1rem;
}
.body-text--hero a {
  color: #58b764;
  font-weight: 700;
}