.hero {
  max-height: 100vh;
  width: 100%;

  display: flex;
  flex-direction: row;

  background: #ffffff;
  background-image: url("../assets/hero.svg");
  background-repeat: no-repeat;
  background-position: center -28vh;
  background-size: cover;
}

.hero__text {
  width: 50%;
  height: 50%;
  margin: auto 10px;
  padding: 0;
  padding-left: 2%;
  z-index: 2;

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10vh;
  margin-left: 90px;
  opacity: 0;

  animation-name: fadeIn;
  animation-duration: 0.8s;
  animation-delay: 0.7s;
  animation-fill-mode: forwards;
}

.hero__text h1 {
  font-size: 3.4rem;
  color: #ffffff;

  font-family: "Proxima Nova", sans-serif !important;
  font-optical-sizing: auto !important;
  font-weight: 800 !important;
  font-style: normal !important;
}

.hero__text h2 {
  font-size: 2rem;
  color: #000000;

  font-family: "Proxima Nova", sans-serif !important;
  font-optical-sizing: auto !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

.hero__text-block {
  display: flex;
  flex-direction: column;
  padding-left: 3%;
  gap: 35px;
  margin-left: -20px;
}

.hero__text-particle {
  position: absolute;
  top: -10%;
}

.hero__image {
  display: flex;
  width: auto;
  height: 100%;
  box-sizing: border-box;

  position: relative;
  opacity: 0;

  animation-name: slideInLeft;
  animation-duration: 0.8s;
  animation-delay: 0.7s;
  animation-fill-mode: forwards;
}

.hero__image-particle {
  pointer-events: none;
  position: absolute;
  top: 20%;
  right: 10%;
}

@media (max-width: 1468px) {
  .hero__text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    height: 100vh;
    max-height: 100vh;
    flex-direction: column-reverse;
    align-items: center;
    background-position: center -11vh;
  }
  .hero__image {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 5%;
  }
  .hero__image img:not(.hero__image-particle) {
    width: 100%;
    height: auto;
    max-height: 50vh;
  }
  .hero__image-particle {
    height: 20px;
    width: 58px;
    right: 5%;
    left: auto;
    top: 20%;
    transform: rotate(140deg);
  }
  .hero__text {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    gap: 10vh;
  }
  .hero__text-particle {
    top: -5%;
  }
  .hero__text h1 {
    font-size: 1.7rem;
    padding-left: 2%;
    text-align: left;
    padding-right: 30%;
  }
  .hero__text h2 {
    font-size: 1.5rem;
    padding-left: 2%;
    text-align: left;
  }
  .hero__text-block {
    padding-left: 0;
    padding: 0 20px;
  }
  .hero__text-block button {
    width: 100% !important;
  }
}

@media (max-width: 468px) {
  .hero {
    flex-direction: column-reverse;
    align-items: center;
  }
  .hero__text {
    padding: 0;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translate(30%, -10%);
    scale: 0.75;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
