/**
 * @file
 * Homepage Hero styles
 */

.homepage-hero {
  position: relative;
}
.homepage-hero::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 89, 76, 0) 49.36%, #000000 100%);
}
.homepage-hero::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: 4;
  -webkit-mask-image: url(../../images/hero-homepage/decoupe-hero-hp-mobile.svg);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom right;
  -webkit-mask-size: 100%;
  mask-image: url(../../images/hero-homepage/decoupe-hero-hp-mobile.svg);
  mask-repeat: no-repeat;
  mask-position: bottom right;
  mask-size: 100%;
  background: var(--color-neutral--5);
}
.section--primary .homepage-hero::after {
  background: var(--color-neutral--5);
}
.section--secondary .homepage-hero::after {
  background: var(--color-highlight--4);
}
.homepage-hero__wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: end;
}
.homepage-hero__image {
  position: relative;
  z-index: 1;
}
.homepage-hero__text {
  color: var(--color-neutral--5);
  margin-bottom: 4rem;
}
.homepage-hero__text h1 {
  line-height: 40px;
  margin: 0;
}
.homepage-hero__text .heading-size-xxl{
  font-size: 2.5rem;
}
.homepage-hero__text .heading-size-l{
  font-size: 1.75rem;
}
@media all and (min-width: 800px) {
  .homepage-hero::after {
    -webkit-mask-image: url(../../images/hero-homepage/decoupe-hero-hp-desktop.svg);
    mask-image: url(../../images/hero-homepage/decoupe-hero-hp-desktop.svg);
  }
  .homepage-hero__text {
    margin-bottom: 6rem;
  }
  .homepage-hero__text h1 {
    line-height: 85px;
  }
  .homepage-hero__text .heading-size-xxl{
    font-size: 4rem;
  }
  .homepage-hero__text .heading-size-l{
    font-size: 3rem;
  }
}
@media all and (min-width: 1200px) {
  .homepage-hero__text h1 {
    line-height: 100px;
  }
  .homepage-hero__text .heading-size-xxl{
    font-size: var(--heading-size-2xl);
  }
  .homepage-hero__text .heading-size-l{
    font-size: var(--heading-size-l);
  }
}
