.hero__section .hero__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.hero__section .hero__content .hero__content__description {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: start;
  animation: fadeInRight 1s ease-out forwards;
  will-change: transform, opacity;
}

.hero__section .hero__content .hero__content__description h2 {
  font-family: var(--font-Bricolage);
  font-size: 2.7rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  will-change: transform, opacity;
}

.hero__section .hero__content .hero__content__description p {
  font-family: var(--font-Bricolage);
  font-size: 1.4rem;
  color: var(--font-secondary);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  will-change: transform, opacity;
}

.hero__section .hero__content .hero__content__description h2 span {
  color: var(--font-primary);
}

.hero__section .hero__content .hero__content__description .com__btn {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
  will-change: transform, opacity;
}

.hero__section .hero__content .hero__photo .hero__photo__content {
  flex-basis: 45%;
  opacity: 0;
  animation: fadeInLeft 1.2s ease-out forwards, floating 3s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.hero__section .hero__content .hero__photo .hero__photo__content img {
  max-width: 100%;
  height: auto;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floating {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-15px);
  }
}

@media (max-width: 1250px) {
  .hero__section .hero__content {
    flex-direction: column-reverse;
    justify-content: center;
  }

  .hero__section .hero__content .hero__photo .hero__photo__content img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .hero__section .hero__content .hero__content__description {
    align-items: center;
    text-align: center;
    animation: fadeInUp 1s ease-out forwards;
  }
}

@media (max-width: 569px) {
  .hero__section .hero__content .hero__content__description h2 {
    font-size: 1.7rem;
  }

  .hero__section .hero__content .hero__content__description p {
    font-size: 1rem;
  }

  .hero__section .hero__content .hero__content__description a.com__btn p.btn__name {
    font-size: .8rem;
  }
}