@import '../fonts/stylesheet.css';

.lenis.lenis-smooth {
	scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}
.lenis.lenis-scrolling iframe {
	pointer-events: none;
}
.lenis.lenis-stopped {
	overflow: hidden;
}

.no-scroll {
	overflow: hidden !important;
}

:root {
	--primary: #161616;
	--secondary: #f7f7f7;
	--alternate: #f0edba
}
/* Pagina page-id-10614 */
.page-id-10614 header {
	display: none;
}

.page-id-10614 h1.has-text-align-center.wp-block-post-title {
	display: none;
}

.page-id-10614 .wp-block-spacer {
	height: 0 !important;
}

body {
	overflow: hidden;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}
body p {
	font-family: 'avarabold' !important;    
}
.seccion {
	position: sticky !important;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-size: cover;
	background-position: center;
	z-index: 1;
	transition: z-index 0.3s;
}

.seccion_horizontal {
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-size: cover;
	background-position: center;
	z-index: 1;
	transition: z-index 0.3s;
}

/* El Territorio */
.et-seccion-1 {
	width: 100vw;
	height: 350vh;
	position: relative;
}
.et-1 {
	width: 100vw;
	height: 100vh;
	background-repeat: no-repeat;
	overflow: hidden;
	z-index: 1;
	position: relative; /* Asegura que los hijos estén bien posicionados */
	cursor: grab;
}
.et-1::before {
	content: ""; /* Esto genera un pseudo-elemento */
	position: absolute;
	top: 0;
	left: 0;
	width: var(--image-width, 100%);  /* Si no hay valor, se usará 100% */
	height: var(--image-height, 100%); /* Si no hay valor, se usará 100% */
	background-color: var(--background-color, rgba(0, 0, 0, 0.38)); /* Color de fondo semitransparente */
	pointer-events: none; /* Asegura que el fondo no interfiera con la interacción con otros elementos */
	z-index: 1; /* Coloca la capa encima de las imágenes */
}
.et-1 > #et-1-img_background-1 img {
	width: auto; /* Ajusta el ancho al contenedor */
	height: auto; /* Mantiene la proporción */
	aspect-ratio: auto !important;
	min-width: 115%;
}
.et-1 #et-1-img_background-2 {
	position: absolute;
	top: 0;
	left: 0;
}
.et-1 > #et-1-img_background-2 img {
	width: auto !important;
	height: auto !important;
	aspect-ratio: auto !important;
	min-width: 115%;
}
.et-1 #et-1-img_background-3 {
	position: absolute;
	top: 0;
	left: 0;
}
.et-1 > #et-1-img_background-3 img {
	width: auto !important;
	height: auto !important;
	aspect-ratio: auto !important;
	min-width: 115%;
}
.et-1 #et-1-img_background-4 {
	position: absolute;
	top: 0;
	left: 0;
}
.et-1 > #et-1-img_background-4 img {
	width: auto !important;
	height: auto !important;
	aspect-ratio: auto !important;
	min-width: 115%;
}
.et-1 #et-1-img_background-5 {
	position: absolute;
	bottom: 0;
	left: 50vw;
}
.et-1 > #et-1-img_background-5 img {
	width: auto !important;
	height: auto !important;
	aspect-ratio: auto !important;
}
.contenedor-textos-et-1 {
	position: absolute;
	top: 0%;
	font-family: 'avarabold';
	color: white;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: flex-start;
	width: 32vw;
	height: 100vh;
	margin: 0 auto;
	z-index: 2;	
	pointer-events: none;
}
.primera-seccion-et-1 {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	justify-content: center;
	align-items: center;
	align-content: center;
	width: 32vw;
	height: 100vh;
	position: relative;
	pointer-events: none;
}
.et-seccion-1 .title-et-1 {
	width: 32vw;
	padding: 7% 7% 0 7%;
}
.et-seccion-1 .title-et-1 p {
	font-family: 'avarabold_italic' !important;
	font-size: 60px;
	color: #fff;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 0;
}
.et-seccion-1 .text-et-1 {
	width: 32vw;
	padding: 7%;
}
.et-seccion-1 .text-et-1 p {
	font-family: 'interregular' !important;
	font-size: 17px;
	line-height: 1.5;
	color: #fff;
}
/* Primera letra grande */
.et-seccion-1 .dropcap::first-letter {
	font-size: 3.1em;
	float: left;
	margin-right: 1px;
	line-height: 0.1;
	font-family: 'avarabold';
}

/* Estilo de los puntos en el mapa*/
.puntos-mapa {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: none;
	user-select: none;
}
.btn-map {
	width: 30px;
	height: 30px;
	background-color: rgb(0, 0, 0);
	border: none;
	color: #ffffff;
	font-size: 30px;
	font-weight: 300;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	position: absolute;
}
.btn-map:hover {
	background-color: #515151;
}

/* Estilo de la ventana PopUp */
.info-popup {
	position: absolute;
	display: none; /* Oculto por defecto */
	background-color: #2C2C2C;
	padding: 12px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	width: 160px;
	z-index: 1000;
}
.info-popup::after {
    content: ''; /* Necesario para pseudo-elementos */
    position: absolute;
    bottom: -20px; /* Ajusta la posición del triángulo */
    left: 50%; /* Centra el triángulo horizontalmente */
    transform: translateX(-50%); /* Ajuste fino */
    border-width: 10px; /* Tamaño del triángulo */
    border-style: solid;
    border-color: #2C2C2C transparent transparent transparent;
}
.info-popup.popup-bajo::after {
    bottom: auto; /* Desactiva bottom */
    top: -20px; /* Triángulo aparece arriba */
    border-color: transparent transparent #2C2C2C transparent;
}
.info-popup img#popup-image {
	max-width: 100%;
	height: auto;
	margin-bottom: 8px;
	border-radius: 5px;
}
.info-popup p#popup-title {
	font-size: 17px;
	margin: 0;
	color: #fff;
}
.info-popup p#popup-subtitle {
	font-size: 10px;
	margin: 4px 0 0;
	color: #fff;
	font-family: 'interregular' !important;
	display: flex;
	gap: 6px; /* Espaciado entre el ícono y el texto */
}
.info-popup p#popup-subtitle img {
	width: 10px; /* Tamaño del ícono */
	height: 10px;
}

/* Venta Modal Grande */
.popup-grande {
    position: fixed;
    top: 13%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    width: 80%;
    max-width: 800px;
    height: 21%;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 1100;
	
}
.popup-contenido {
    padding: 20px;
    position: relative;
	z-index: 1;
	cursor: auto;
    user-select: none;
}
.cerrar-popup {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: white;
    cursor: pointer;
	z-index: 2;
}
.popup-grande.hidden {
    display: none;
}
.title-popup-grande p {
	color: #fff;
	font-size: 23px;
}
.subtitle-popup-grande p {
	color: #fff;
	font-size: 19px;
}
.bibliography-popup-grande {
	border-bottom: 2px solid white;
}
.bibliography-popup-grande p {
	color: #fff;
	font-size: 19px;
}
.texto-popup-grande p {
	color: #fff;
	font-family: 'interregular' !important;
	font-size: 16px;
	font-weight: 500;
}
.elementor-widget-video .elementor-wrapper iframe, .elementor-widget-video .elementor-wrapper video {
	height: 44vh !important;
}
