.index {
	width: 100%;
	height: 100dvh;
	padding: 0 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-image: url(/images/fondo.webp);
	background-repeat: no-repeat;
	background-size: cover;
}

/* 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-img {
	width: 100%;
	background-color: var(--color-secundario);
	max-width: 50rem;
	height: auto;
	max-height: 10rem;
	margin: 1.5rem 0;
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
	object-fit: contain;
}

/* 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(--negro);
	font-weight: 800;
}
.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(0, 0, 0, 0.8);
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(5px);
}
.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: 90%;
	height: auto;
	max-width: 20rem;
	object-fit: cover;
	display: block;
	margin: 10% auto;
}
a {
	display: inline-block;
}
a:hover,
i:hover {
	color: var(--color-secundario);
}
.modal-cerrar {
	position: absolute;
	top: 2rem;
	right: 1rem;
	font-size: 2rem;
	cursor: pointer;
	color: var(--blanco);
	z-index: 4;
}
@keyframes modal {
	100% {
		visibility: visible;
		opacity: 1;
	}
}

/* ********************************************** */
/* MOVIMIENTO */
.movimiento {
	animation: slide-in-elliptic-top-bck 1.7s cubic-bezier(0.25, 0.46, 0.45, 0.94)
		both;
	width: 60dvw;
	max-width: 30rem;
	position: fixed;
	bottom: 3rem;
	left: 40%;
	margin: auto;
	z-index: -1;
}

/* ------------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-elliptic-top-bck
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-elliptic-top-bck {
	0% {
		-webkit-transform: translateY(-600px) rotateX(30deg) scale(6.5);
		transform: translateY(-600px) rotateX(30deg) scale(6.5);
		-webkit-transform-origin: 50% 200%;
		transform-origin: 50% 200%;
		opacity: 0;
	}
	100% {
		-webkit-transform: translateY(0) rotateX(0) scale(1);
		transform: translateY(0) rotateX(0) scale(1);
		-webkit-transform-origin: 50% -500px;
		transform-origin: 50% -500px;
		opacity: 1;
	}
}
@keyframes slide-in-elliptic-top-bck {
	0% {
		-webkit-transform: translateY(-600px) rotateX(30deg) scale(6.5);
		transform: translateY(-600px) rotateX(30deg) scale(6.5);
		-webkit-transform-origin: 50% 200%;
		transform-origin: 50% 200%;
		opacity: 0;
	}
	100% {
		-webkit-transform: translateY(0) rotateX(0) scale(1);
		transform: translateY(0) rotateX(0) scale(1);
		-webkit-transform-origin: 50% -500px;
		transform-origin: 50% -500px;
		opacity: 1;
	}
}

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