#hero {
  scroll-margin: 100px;
  height: 800px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

#hero img {
  border-radius: 25px;

  max-width: 640px;
  max-height: 640px;

  height: 80%;
  width: auto;

  animation: heroAnimation 5s ease forwards;
}

@keyframes heroAnimation {
  0% {
    transform: translateX(50%) scale(0);
    opacity: 0;
  }

  50% {
    transform: translateX(50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

.hero--description-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.hero--description-container h1 {
  transform: translateX(-150%);
  opacity: 0;
  animation: heroShowDescTittle 1s 4.5s linear forwards;
}

.hero--description-container p {
  font-size: 24px;
  text-align: justify;
  transform: translateX(-150%);
  opacity: 0;
  animation: heroShowDescTittle 1s 4.5s linear forwards;
}

.hero--description-container a {
  font-size: 24px;
  text-align: justify;
  transform: translateX(-150%);
  opacity: 0;
  text-decoration: none;
  margin-top: 25px;
  color: inherit;
  padding: 0.6em 1.5em; /* controlan el “grosor” y largo */
  border-radius: 999px; /* radio muy grande para que sea píldora */
  background-color: #709ab1;
  border: 3px #017cc0 solid;
  animation: heroShowDescTittle 1s 4.5s linear forwards;
}

@keyframes heroShowDescTittle {
  0% {
    transform: translateX(-30%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
