.index {
  width: 100%;
  height: 100dvh;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--color-degradado);
}

/* HEADER */
.index__header {
  width: 100%;
  max-width: 50rem;
  padding: 0.5rem;
  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%;
  box-shadow: var(--sombra);
  cursor: pointer;
}
/* HERO */
.index__hero {
  width: 100%;
  max-width: 50rem;
}
.index__hero-img {
  height: 10rem;
  margin-bottom: 0.8rem;
  border-radius: var(--border-radius);
  box-shadow: var(--sombra);
}

/* BOTONES */
.index__buttons {
  width: 100%;
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
}
.index__buttons > :nth-child(1) {
  width: 95%;
  /* Animaciones */
  animation: rotation 2s;
}
.index__buttons > :nth-child(2) {
  width: 85%;
  animation: rotation 2s;
}
.index__buttons > :nth-child(3) {
  width: 75%;
  animation: rotation 2s;
}
.index__buttons > :nth-child(4) {
  width: 65%;
  animation: rotation 2s;
}
.index__buttons > :nth-child(5) {
  width: 55%;
  animation: rotation 2s;
}
.index__buttons > :nth-child(6) {
  width: 45%;
  animation: rotation 2s;
}
.index__buttons-btn {
  width: 100%;
  padding: 0.4rem;
  background: var(--color-degradado2);
  border-radius: var(--border-radius);
  box-shadow: var(--sombra);
  cursor: pointer;
}
.index__buttons-texto {
  font-size: 1.3rem;
  color: var(--blanco);
  font-weight: 500;
}
.easy-index {
  display: flex;
}

/* ELEMENTOS CON POSITION: ABSOLUTE */

/* ************************************************** */
/* MODAL*/
/* ************************************************** */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: modal 1.5s;
  animation-delay: 3s;
  animation-fill-mode: forwards;
  visibility: hidden;
  opacity: 0;
  justify-content: center;
  align-items: center;
  z-index: 3;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.anuncio {
  max-width: 70%;
  max-height: 80%;
  margin: auto;
  overflow: hidden;
  padding: 0 0.3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--sombra);
  position: relative;
}
.anuncio-textos {
  padding: 1rem;
  color: rgb(124, 124, 124);
}
.anuncio-textos h1 {
  font-size: 2rem;
}
.anuncio-textos-date {
  color: #fa8580;
  padding: 0.6rem 0;
}
.bold {
  font-family: "arial";
  font-weight: bold;
}
.bi-arrow-right {
  font-size: 1rem;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
a {
  display: inline-block;
}
a:hover,
i:hover {
  color: #fb605b;
}
.modal-cerrar {
  position: absolute;
  top: 2rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-secundario);
  z-index: 4;
}
@keyframes modal {
  100% {
    visibility: visible;
    opacity: 1;
  }
}

/* ********************************************** */
/* MOVIMIENTO */
.movimiento {
  animation: slide-in-fwd-tl 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  width: 45dvw;
  max-width: 30rem;
  position: fixed;
  bottom: 5rem;
  left: 45%;
  margin: auto;
  z-index: -1;
}

/**
 * ----------------------------------------
 * animation slide-in-fwd-tl
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-fwd-tl {
  0% {
    -webkit-transform: translateZ(-1400px) translateY(-800px)
      translateX(-1000px);
    transform: translateZ(-1400px) translateY(-800px) translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0) translateY(0) translateX(0);
    transform: translateZ(0) translateY(0) translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-fwd-tl {
  0% {
    -webkit-transform: translateZ(-1400px) translateY(-800px)
      translateX(-1000px);
    transform: translateZ(-1400px) translateY(-800px) translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0) translateY(0) translateX(0);
    transform: translateZ(0) translateY(0) translateX(0);
    opacity: 1;
  }
}

/* MediaQuerys */
@media (min-width: 768px) {
  .anuncio {
    max-width: 25dvw;
  }
}
