.hero-hp {
  background-color: var(--color-primary--2);
  padding-bottom: 128px;
}

.hero-hp + * {
  position: relative;
  z-index: 0;
}

.hero-hp + *::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--color-primary--2);
  z-index: -1;
}



.hero-hp__content {
  position: relative;

}

.hero-hp__title {
  line-height: 100%;
  margin-bottom: 0;
}

.hero-hp__text .hero-hp__title,
.hero-hp__text p {
  text-shadow: 0px 0px 5px white;
}

.hero-hp__text p {
  margin-top: 0;
  margin-bottom: 0;
}


.hero-hp__images {
  position: absolute;
  width: 946px;
  aspect-ratio: 1 / 1;
  right: 0;
  overflow: hidden;
  transform: translateX(48%) translateY(-33%);
}

.hero-hp__big-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;

}

.hero-hp__big-image img {
  -webkit-mask-image: url(../../images/mask-shape.svg);
  -webkit-mask-size: contain;
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
}





.hero-hp__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  top: 50px;
}


.hero-hp__small-image {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}



.hero-hp__wrapper {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  gap: 20px;
}




@media all and (min-width: 600px) {

  .hero-hp__wrapper {
    top: 0px;
    max-width: 647px;
    width: 100%;
    padding : 30px 6px;
  }

  .hero-hp__small-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }



}

@media all and (min-width: 900px) {
  .hero-hp__content {
    flex-direction: row-reverse;
    align-items: flex-start;
  }

  .hero-hp__inner {
    top: 0;
  }
}


@media all and (min-width:1024px) {
  .hero-hp {
    position: relative;
    margin-top: -112px;
  }

  .hero-hp__inner {
    top: 112px;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .hero-hp__small-image-wrapper {
    align-items: flex-start;
  }


}

@media all and (min-width:1300px) {

  .hero-hp {
    min-height: 783px;
  }

  .hero-hp__content {
    display: flex;
    position: relative;
    flex-direction: row-reverse;
    justify-content: end;
    align-items: end;
  }


  .hero-hp__images {
    width: 1500px;
    aspect-ratio: 1 / 1;
    position: absolute;
    top: -325px;
    right: -310px;
    overflow: hidden;
    transform: unset;
  }

  .hero-hp__big-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-hp__big-image img {
    width: 1500px;
  }


  /* .hero-hp__small-image {
    transform: translateY(50%) translateX(100%);
  }

  .hero-hp__small-image-wrapper {
    position: relative;
  } */

  .hero-hp__wrapper {
    position: unset;
  }
}
