.index {
  width: 100%;
  height: 100dvh;
  background: var(--color-degradado);
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
/* HEADER */
.index__header {
  width: 100%;
  max-width: 50rem;
  padding-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  /* Animaciones */
  animation: rotation 2s;
}
.index__header-banderas {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 0.7rem;
}
.index_header-banderas-flag {
  width: 2.2rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--sombra);
}
/* HERO */
.index__hero {
  width: 100%;
  max-width: 50rem;
  margin: 0.8rem 0;
  border-radius: var(--border-radius);
  box-shadow: var(--sombra);
  background: var(--color-degradado2);
}
.index__hero-img {
  width: 90%;
  margin: 2rem auto 1rem;
}

/* BOTONES */
.index__buttons {
  width: 100%;
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1;
}
.index__buttons > :nth-child(1) {
  width: 90%;
  /* Animaciones */
  animation: rotation 2s;
}
.index__buttons > :nth-child(2) {
  width: 80%;
  animation: rotation 2s;
}
.index__buttons > :nth-child(3) {
  width: 70%;
  animation: rotation 2s;
}
.index__buttons > :nth-child(4) {
  width: 60%;
  animation: rotation 2s;
}
.index__buttons > :nth-child(5) {
  width: 50%;
  animation: rotation 2s;
}
.index__buttons > :nth-child(6) {
  width: 40%;
  animation: rotation 2s;
}
.index__buttons-btn {
  width: 100%;
  padding: 0.3rem;
  background: var(--color-degradado2);
  border-radius: var(--border-radius);
  border: var(--border);
  box-shadow: var(--sombra);
  cursor: pointer;
}
.index__buttons-texto {
  font-size: 1.3rem;
  font-weight: 500;
}
.index__buttons-whatsapp {
  width: 2rem;
  display: inline;
  margin: 0 0.2rem;
  margin-bottom: -0.5rem;
}

/* ELEMENTOS CON POSITION: ABSOLUTE */

/* LOGO DE FONDO */
.index__cont-logo-fondo {
  width: 100%;
  height: 100dvh;
  max-width: 50rem;
  position: absolute;
}
.index__logo-fondo {
  width: 20rem;
  max-width: 30rem;
  position: absolute;
  bottom: 3rem;
  right: 0;
  z-index: -2;
}
/* Animista.net */
.tilt-in-fwd-tr {
  animation: slide-in-elliptic-right-bck 2s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
}
/**
 * ----------------------------------------
 * animation slide-in-elliptic-right-bck
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-elliptic-right-bck {
  0% {
    transform: translateX(800px) rotateY(30deg) scale(6.5);
    transform-origin: -100% 50%;
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotateY(0) scale(1);
    transform-origin: 600px 50%;
    opacity: 1;
  }
}
@keyframes slide-in-elliptic-right-bck {
  0% {
    transform: translateX(800px) rotateY(30deg) scale(6.5);
    transform-origin: -100% 50%;
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotateY(0) scale(1);
    transform-origin: 600px 50%;
    opacity: 1;
  }
}

/* MODAL ADVERT*/
/* .modal__index {
  position: absolute;
  top: 0;
  width: 100dvw;
  height: 100dvh;
  padding: 5vw;
  animation: modal 1.5s;
  animation-delay: 3s;
  animation-fill-mode: forwards;
  visibility: hidden;
  opacity: 0;
  z-index: 3;
  background-color: #050505d6;
}
.modal__index-img {
  border-radius: var(--border-radius);
}

.cerrar-modal {
  position: absolute;
  right: 2rem;
  z-index: 2;
  font-size: 2rem;
  cursor: pointer;
  color: var(--blanco);
}
@keyframes modal {
  100% {
    visibility: visible;
    opacity: 1;
  }
} */
