body {
  font-family: "Lato", sans-serif;
  font-size: 17px;
}

.page h1 {
  color: var(--h1-color);
}
.page h2 {
  color: var(--h2-color);
  font-size: 140%;
}
a {
  color: var(--link-text-color);
}

.note {
  font-style: italic;
  border-left: 4px solid var(--note-color);
  color: var(--note-text-color);
}

.num_block {
  border-left: 4px solid #16a085;
}
.num_block[prefix="Teorema"] {
  border-left: 4px solid #2ecc71;
}
.num_block[prefix="Lema"] {
  border-left: 4px solid #f39c12;
}

.image_expand {
  box-shadow: 2px 1px 3px rgba(0, 0, 0, 0.5);
}

.interactive {
  box-sizing: border-box;
  position: relative;
  margin: 0 auto 1em auto;
  padding: var(--interactive-margin);
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
  transform: translate3d(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image_link {
  border: 2px solid var(--image-border-color);
}

li {
  padding: 0 0 0.1em 0;
}

code,
code_math {
  display: inline;
}

code,
code_math {
  font-family: "Lato", monospace;
  font-size: 104%;
  color: var(--h1-color);
  font-weight: bold;
  text-shadow: 1px 1px rgba(223, 218, 218, 0.15);
}

pre {
  font-family: "Lato", monospace;
  font-size: 107%;
}
xmp {
  font-family: "Lato", monospace;
  font-size: 107%;
  color: #e67e22;
  border: 1px solid #e67e22;
}

.katex {
  font-size: 110% !important;
}

body.dark .invertcolor {
  filter: invert(1) hue-rotate(180deg);
}

.titbig {
  color: var(--h1-color);
  font-size: 20px;
  font-weight: bold;
}

/* inicio saber */
.saber {
  display: none;
}
:checked ~ .saber {
  display: block;
}
input.noshow[type="checkbox"] {
  position: absolute;
  left: -999em;
}

/* fin del saber 

/* destacar una palabra. */

.citas {
  margin: 0 0 2em 0; /* Centra la línea vertical en el contenedor */
  padding-left: 1.5ch;

  font-weight: bold;
  font-style: italic;
  padding-right: 1.5ch;
  font-size: 95%;
  border-left: 2px solid #4fb8fe; /* Cambia el color y el grosor según tus preferencias */
  height: auto; /* Altura de la línea vertical */
  margin: 0 auto; /* Centra la línea vertical en el contenedor */
}

.ejemplo {
  margin: 0 0 2em 0; /* Centra la línea vertical en el contenedor */
  padding-left: 1.5ch;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: bold;
  font-style: italic;
  padding-right: 1.5ch;
  font-size: 95%; 
  border-left: 5px solid #146120;
  height: auto; /* Altura de la línea vertical */
  margin: 0 auto; /* Centra la línea vertical en el contenedor */

}

/* Estilos base  CSS for Floating Images*/
.contenido {
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* Estilos para el contenedor de sección */
.seccion {
  clear: both; /* Evita que el float afecte a las siguientes secciones */
  margin-bottom: 1.5em; /* Espacio entre secciones */
  overflow: hidden; /* Contiene los floats */
}

/* INICIO IMAGENES FLOTANES -  */

.flotade {
  float: right;
  margin: 0 0 8px 15px;
  width: 30%; /* Reducir más el ancho máximo */
  height: auto;
  object-fit: contain; /* Mantiene la proporción */
  vertical-align: top; /* Evita espacio extra por alineación */
}

.flotaiz {
  float: left;
  margin: 0 15px 8px 0;
  width: 3cm; /* Reducir más el ancho máximo */
  height: auto;
  object-fit: contain;
  vertical-align: top;
}

.flotadepeq {
  float: right;
  margin: 0 0 8px 15px;
  width: 20%; /* Reducir más el ancho máximo */
  height: auto;
  object-fit: contain; /* Mantiene la proporción */
  vertical-align: top; /* Evita espacio extra por alineación */
}

.flotaizpeq {
  float: left;
  margin: 0 15px 8px 0;
  width: 20%; /* Reducir más el ancho máximo */
  height: auto;
  object-fit: contain;
  vertical-align: top;
}

.flotadebig {
  float: right;
  margin: 0 0 8px 15px;
  width: 40%; /* Reducir más el ancho máximo */
  height: auto;
  object-fit: contain; /* Mantiene la proporción */
  vertical-align: top; /* Evita espacio extra por alineación */
}

@media screen and (max-width: 768px) {
  .flotade, .flotaiz {
    max-width: 50%; /* Aumenta el tamaño máximo en pantallas pequeñas */
  }
}

@media screen and (max-width: 480px) {
  .flotade, .flotaiz {
    float: none;
    max-width: 100%;
    margin: 10px 0;
    display: block;
  }
}

/* FIN IMAGENES FLOTANES -  */
/* para adornar algín parrafo a la derecha */

.adorno {
  float: right;
  margin-left: 10px;
}

.espaciado-derecho {
  padding-right: 30px; /* Espacio adicional a la derecha */
}

*/ #square {
  background: lightblue;
  width: 100px;
  height: 100px;
}

#circle {
  background: lightblue;
  border-radius: 50%;
  width: 100px;
  height: 100px;
}
#circleDos {
  float: left;
  width: 300px; /* radio*/
  height: 300px; /* posicion del centro*/
  margin: 20px;
  shape-outside: circle();
  clip-path: circle();
  background: lightblue;
}
#circleMitad {
  float: left;
  width: 150px;
  height: 150px;
  margin: 20px;
  shape-outside: circle(50% at 30%);
  clip-path: circle(50% at 0%);
  background: lightblue;
}
#ellipse {
  float: left;
  width: 150px;
  height: 150px;
  margin: 20px;
  shape-outside: ellipse(20% 50%);
  clip-path: ellipse(20% 50%);
  background: lightblue;
}

#triangle {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 80px solid lightblue;
}
#triangleFlecha {
  width: 0;
  height: 0;
  border-top: 40px solid transparent;
  border-right: 80px solid lightblue;
  border-bottom: 40px solid transparent;
}

#polygon {
  float: left;
  width: 150px;
  height: 150px;
  margin: 0 20px;
  shape-outside: polygon(
    0 0,
    100% 0,
    100% 20%,
    60% 20%,
    60% 100%,
    40% 100%,
    40% 20%,
    0 20%
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% 20%,
    60% 20%,
    60% 100%,
    40% 100%,
    40% 20%,
    0 20%
  );
  background: lightblue;
}
/* el circulo lohace una figura redonda transparente <img src="src/moon.png" id="moon" /> */
#moon {
  float: left;
  width: 150px;
  height: 150px;
  shape-outside: url("./src/moon.png");
}

.sin_boton {
  background-color: rgba(1, 1, 1, 0);
}

.sin_boton .btn_expand {
  border: solid #2e827c;
  background-color: rgba(1, 1, 1, 0);
  background-image: url("img/vacio.png");
}

details {
  font-size: 16px;
  font-style: italic;
  padding-left: 5px;
}

summary {
  font-size: 105%;
  font-weight: bold;
}

/* Clase base con todo el formato */
.bullet li {
  padding-left: 25px;
  margin-left: -35px;
  list-style: none;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 20px;
  vertical-align: middle;
}

/* Clases solo para las diferentes imágenes */
.bullet-01 li {
  background-image: url("../images/general/bul_01.svg");
}

.bullet-02 li {
  background-image: url("../images/general/bul_02.svg");
}

.bullet-03 li {
  background-image: url("../images/general/bul_03.svg");
}
.bullet-04 li {
  background-image: url("../images/general/bul_04.svg");
}
.bullet-05 li {
  background-image: url("../images/general/bul_05.svg");
}
.bullet-06 li {
  background-image: url("../images/general/bul_06.svg");
}

.bullet-07 li {
  background-image: url("../images/general/bul_07.svg");
}
.bullet-08 li {
  background-image: url("../images/general/bul_08.svg");
}

/* destacar una palabra. */
.destacar {
  font-size: 103%;
  font-weight: bold;
  color: var(--h2-color);
  text-shadow: 1px 1px rgba(92, 90, 90, 0.15);
}

/* cuestionarios */
.cuestionario {
  width: 80%;
  margin: 40px auto;
  padding: 20px;
  border: 3px solid #5e0d0d;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  background-color: rgba(250, 250, 250, 0.1);
  text-shadow: 1px 1px rgba(0, 0, 0, 0.85);
}

.pregunta {
  margin-bottom: 20px;
  width: 80%;
  margin: 40px auto;
  padding: 20px;
  background-color: rgba(236, 239, 243, 0.4);
  border: 2px solid #0e0d5e;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  color: rgb(0, 0, 5);
  text-shadow: 1.5px 0.5px rgba(0, 0, 0, 0.85);
  font-size: 20px;
}

.opcion {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  background-color: #fbf8f8;
  color: rgb(255, 204, 0);
  text-shadow: 1px 1px rgba(0, 0, 0, 0.85);
  font-size: 18px;
}

.opcion:hover {
  background-color: #f2f2f2;
}

.opcion.correcta {
  background-color: #c6efce;
}

.opcion.incorrecta {
  background-color: #ffc6c6;
}

.opcion .letra {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ff0000;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  margin-right: 10px;
  padding: 4px;
  padding-left: 8px;
  padding-right: 8px;
}

.opcion .respuesta {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.siguiente {
  background-color: #4caf50;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.siguiente:hover {
  background-color: #3e8e41;
}

.resultado {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}

/* REFERENCIAS DE IMAGENES */
.imgref {
  /* Estilo base similar a bibref */
  display: inline;
  position: relative;
  color: var(--bibliography-color);
  border-bottom: 1px dashed var(--bibliography-color);
  cursor: pointer;
}

.imgref .popup[active] {
  /* Popup para la imagen */
  display: block;
  /* Ajusta el contenido y el posicionamiento del popup según tus necesidades */
}

.imgref_caption {
  /* Leyenda de la imagen */
  display: block;
  font-style: italic;
  margin-top: 5px;
}

.imgref_source {
  /* Fuente de la imagen */
  font-size: smaller;
  color: gray;
}

#imgref1 {
  /* Estilos específicos para esta referencia */
  background-color: lightblue;
  padding: 10px;
}

/* inicio cajas var(--popup-bib-info-background); */

.caja5 {
  color: white;
  text-shadow: 2px 2px 3px black;
  padding: 15px;
  border-radius: 15px;
}

.caja6 {
  background: rgba(1, 1, 1, 0);
}

.caja6 h5 {
  padding: 0.3rem 0.5rem;
  margin: 0;
  color: white;
  text-align: center;
  font-size: 28px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
}

.caja6 .content {
  text-align: center;
  padding: 5px;
  padding-left: 7px;
  background-color: rgb(255, 255, 255);
  border-radius: 15px;
}

body.dark .caja6 .content {
  color: white;
}

.caja6 figcaption {
  margin-top: -15px;
  margin-bottom: -10px;
}

.caja6 .modo1 {
  background: rgb(31, 120, 31);
  text-shadow: 2px 2px 3px black;
}

.caja6 .modo2 {
  background: rgba(120, 50, 250, 0.9);
  text-shadow: 2px 2px 3px black;
  background-repeat: no-repeat;
}

.caja6 .modo3 {
  background: #8dae63;
  text-shadow: 2px 2px 3px black;
  background-repeat: no-repeat;
}

.caja6 .modo4 {
  background: #e65100;
  text-shadow: 2px 2px 3px black;
  background-repeat: no-repeat;
}

.caja6 .modo5 {
  background: #d81b60;
  text-shadow: 2px 2px 3px black;
}

.caja6 .modo6 {
  background: #5e35b1;
  text-shadow: 2px 2px 3px black;
  background-repeat: no-repeat;
}

.caja6 .modo7 {
  background: #301400;
  text-shadow: 2px 2px 3px black;
  background-repeat: no-repeat;
}
/* color oror #f7a81b;*/
.boxblue {
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #000099;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  color: white;
  background-color: #17458f;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
  padding: 20px;
  border-radius: 12px;
  width: 90%;
}

.boxgreen1 {
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #009739;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  color: white;
  background-color: rgba(178, 229, 223, 0.5);
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
  padding: 20px;
  border-radius: 12px;
  width: 90%;
}

.boxgreen2 {
  width: 500px; /* Ajusta el ancho de la caja según tus necesidades */
  border: 1px solid #009739; /* Agrega un borde para visualizar la caja (opcional) */
  padding: 10px; /* Agrega un espacio interno a la caja (opcional) */
  overflow: auto; /* Limpia el flotado para que la caja se expanda correctamente */
  border-radius: 12px;
}

.imagen-flotante {
  float: right; /* Hace que la imagen flote a la derecha */
  margin-left: 10px; /* Agrega un margen izquierdo para separar la imagen del texto (opcional) */
  max-width: 30%; /* Ajusta el ancho máximo de la imagen según tus necesidades */
  height: auto; /* Permite que la altura de la imagen se ajuste automáticamente */
}

.boxcardinal {
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgb(255, 0, 21);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  color: aliceblue;
  background-color: #e02927;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
  padding: 20px;
  border-radius: 12px;
  width: 90%;
}

.boxwhite {
  color: var(--text-color);
  margin-left: 10px;
  border: 2px solid #07078b;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  background-color: rgba(254, 254, 254, 0.474);
  text-shadow: 2px 2px rgba(27, 25, 25, 0.15);
  padding: 15px 25px 20px;
  border-radius: 12px;
  width: 18%;
}

.boxwhite2 {
  color: var(--text-color);
  border: 2px solid #07078b;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  background-color: rgba(254, 254, 254, 0.474);
  text-shadow: 2px 2px rgba(27, 25, 25, 0.15);
  padding: 15px;
  border-radius: 12px;
  width: 100%;
  text-align: center;
}

.boxwhite3 {
  color: var(--text-color);
  border: 2px solid #009739;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  background-color: rgba(254, 254, 254, 0.474);
  text-shadow: 2px 2px rgba(27, 25, 25, 0.15);
  padding: 15px;
  border-radius: 12px;
  width: 100%;
  text-align: center;
}

.boxClara {
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 25px 20px;
  border-radius: 12px;
  width: 100%;
  color: black;
  font-weight: bold;
}
.boxclear {
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #009739;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
  background-color: rgba(250, 250, 250, 0.45);
  text-shadow: .5px 0.5px rgba(0, 0, 0, 0.85);
  padding: 10px 15px 10px;
  border-radius: 12px;
  width: 85%;
  text-align: center;
  color: var(--h1-color);
}

.boxcoral {
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  background-color: rgb(236, 135, 141);
  border: 5px solid rgb(255, 0, 21);
  border-radius: 6px;
  box-shadow: 4px 3px 6px black;
  text-shadow: 1px 1px rgba(92, 90, 90, 0.15);
  padding-bottom: 15px;
}

.boxtit {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--popup-bib-info-background);
  padding: 8px;
  padding-left: 15px;
  padding-right: 15px;
  border: 1px solid #000099;
  border-radius: 6px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.boxtit h4 {
  color: var(--h1-color);
  font-weight: bold;
  padding: 6px;
  font-size: 28px;
  text-align: center;
  margin: -8px -15px -15px;
  border-radius: 6px 6px;
}

/* fin cajas  */

/* tooltip personalizado para zhema   color: var(--h1-color); /* Color normal 222 
 "Lato" sans-serif*/

.tooltip {
  position: relative;
  display: inline; /* Cambiado de inline-block a inline para evitar el salto */
  cursor: pointer; /* Cursor normal pero clickeable */
  transition: color 0.3s ease; /* Transición suave del color */
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  overflow: hidden;
  color: var(--h1-color); /*color de la palaba */
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
}

.tooltip hr {
  border: 0;
  height: 1px;
  background-color: #ccc;
  margin: 10px 0;
}

/* Cambio de color al pasar el cursor */
.tooltip:hover {
  color: var(--h1-color); /* Color azul estilo Wikipedia */
}

/* Estilos base comunes TEXTO*/
.tooltip_top_left,
.tooltip_top_right,
.tooltip_bottom_left,
.tooltip_bottom_right {
  position: absolute;
  visibility: hidden;
  width: 280px;
  background-color: #abc1b2;
  padding: 12px;
  border: 1px solid #a2a9b1;
  border-radius: 5px;
  box-shadow: 1 1px 3px rgba(0, 0, 0, 0.2);
  font-size: 90%; 
  z-index: 1000;
}

/* Variantes de posición vertical margin seapra la linea*/
.tooltip_top_left,
.tooltip_top_right {
  bottom: 100%;
  margin-bottom: 10px;
}

.tooltip_bottom_left,
.tooltip_bottom_right {
  top: 100%;
  margin-top: 10px;
}

/* Posición horizontal */
.tooltip_top_left,
.tooltip_bottom_left {
  right: 0;
}

.tooltip_top_right,
.tooltip_bottom_right {
  left: 0;
}

/* Flechas base */
.tooltip_top_left::before,
.tooltip_top_right::before,
.tooltip_bottom_left::before,
.tooltip_bottom_right::before {
  content: "";
  position: absolute;
  border: 6px solid transparent;
}

/* Flechas para tooltips superiores */
.tooltip_top_left::before,
.tooltip_top_right::before {
  bottom: -12px;
  border-top-color: #a2a9b1;
}

/* Flechas para tooltips inferiores */
.tooltip_bottom_left::before,
.tooltip_bottom_right::before {
  top: -12px;
  border-bottom-color: #a2a9b1;
}

/* Posición horizontal de las flechas */
.tooltip_top_left::before,
.tooltip_bottom_left::before {
  right: 15px;
}

.tooltip_top_right::before,
.tooltip_bottom_right::before {
  left: 15px;
}

/* Mostrar el tooltip */
.tooltip:hover .tooltip_top,
.tooltip:hover .tooltip_top_left,
.tooltip:hover .tooltip_top_right,
.tooltip:hover .tooltip_bottom_left,
.tooltip:hover .tooltip_bottom_right {
  visibility: visible;
}
/* Estilos base con soporte para imagen */
.tooltip_top_left,
.tooltip_top_right,
.tooltip_bottom_left,
.tooltip_bottom_right {
  position: absolute;
  visibility: hidden;
  width: 280px;
  background-color: #fbfefc;
  border: 2px solid #009933;
  padding: 8px 12px;

  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-size: 90%px;
  line-height: 1.4;  
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow: hidden;
  word-wrap: break-word;
  color: black; /*color del texto */
}

/* Contenedor para la imagen */

/* Estilos para el contenido con imagen */
.tooltip-content {
  overflow: hidden; /* Limpia el float */
}

/* Clearfix para el contenedor */
.tooltip-content::after {
  content: "";
  display: table;
  clear: both;
}

/* FUNCIONA CORRECTAMENTE Tooltip específico para imágenes */
.tooltip_image {
  position: absolute;
  visibility: hidden;
  background-color: #fbfefc;
  border: 2px solid #009933;
  padding: 8px; /* Aumentado un poco el padding para dar espacio */

  border-radius: 3px;
  z-index: 1000;
  font-size: 14px;
  flex-shrink: 0;
  color: black; /*color del texto */

}

/* Estilos de la imagen   */

.tooltip_image img {
  width: 280px;
  object-fit: fill; /* o contain, fill, etc. */
  display: block;
  margin: auto; /* Centra la imagen */
  border-radius: 2px;

}

/* Posicionamiento vertical */
.tooltip_image.top_left,
.tooltip_image.top_right {
  bottom: 100%;
  margin-bottom: 5px;
}

.tooltip_image.bottom_left,
.tooltip_image.bottom_right {
  top: 100%;
  margin-top: 5px;
}

/* Posicionamiento horizontal */
.tooltip_image.top_left,
.tooltip_image.bottom_left {
  right: 0;
}

.tooltip_image.top_right,
.tooltip_image.bottom_right {
  left: 0;
}

/* Flechas */
.tooltip_image::before {
  content: "";
  position: absolute;
  border: 6px solid transparent;
}

/* Posiciones de flechas */
.tooltip_image.top_left::before,
.tooltip_image.top_right::before {
  bottom: -12px;
  border-top-color: #a2a9b1;
}

.tooltip_image.bottom_left::before,
.tooltip_image.bottom_right::before {
  top: -12px;
  border-bottom-color: #a2a9b1;
}

.tooltip_image.top_left::before,
.tooltip_image.bottom_left::before {
  right: 15px;
}

.tooltip_image.top_right::before,
.tooltip_image.bottom_right::before {
  left: 15px;
}

/* Mostrar tooltip */
.tooltip:hover .tooltip_image {
  visibility: visible;
}

/* Tablas zebra */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
th,
td {
  border: 1px solid green;
  padding: 10px;
  text-align: left;
  color: #222;
}
th {
  background-color: #4CAF50;  
  text-align: center;
  vertical-align: middle;
  color: #e7ffeb;
  
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
}
tr:nth-child(even) {
  background-color: #e7ffeb; /* Verde claro para filas pares */
}
tr:nth-child(odd) {
  background-color: #ffffff; /* Blanco para filas impares */
}
tr:hover {
  background-color: #b3ffbc; /* Verdel suave al pasar el cursor */
}
@media (max-width: 600px) {
  table,
  th,
  td {
    display: block;
    width: 100%;
  }
  th,
  td {
    box-sizing: border-box;
    border: none;
    padding: 8px;
  }
  th {
    background-color: transparent;
    position: relative;
  }
  th::after {
    content: ":";
    position: absolute;
    right: 10px;
  }
}

.page_number {
  position: absolute;
  bottom: 15px;
  font-weight: bold;
  font-size: 90%;
  line-height: 1.2em;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: white;
  text-shadow: rgba(84, 84, 10, 0.35);

  /* Estilos para el círculo */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #196d23;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Posicionamiento basado en el número de página */
.page:nth-of-type(even) .page_number {
  right: 60px;
  left: auto;
}

.page:nth-of-type(odd) .page_number {
  left: 60px;
  right: auto;
}

/* Carrousel */
.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: var(--pages_container_width);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  margin-top: 2em;
  height: 400px;
}

.carousel-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  perspective: 1000px;
}

.project-card {
  position: absolute;
  width: calc(var(--page_width) * 0.4);
  top: 0;
  left: 50%;
  transform-origin: center center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  will-change: transform, opacity;
}

.project-card img {
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
}

.project-info {
  background: #17458f;
  color: white;
  padding: 1em;
  border-radius: 0 0 8px 8px;
}

.project-number {
  font-size: 14px;
  margin-bottom: 0.5em;
  font-weight: bold;
}

.project-text {
  font-size: 14px;
  line-height: 1.4;
}

.navigation {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 1000;
  background-color: #ffffff;
  padding: 8px 15px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #17458f;
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #17458f;
}

.nav-dot:hover {
  transform: scale(1.2);
}

.nav-dot.active {
  opacity: 1;
  transform: scale(1.1);
}

/* CSS COMPLETO DEL TOOLTIP CON SONIDO */

/* Estilos base */
.tooltip {
  position: relative;
  display: inline;
  cursor: pointer;
}

.tooltip_sonido {
  display: block;
  padding: 15px;
  background: #fff;
  border: 1px solid #a2a9b1;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  visibility: hidden;
  position: absolute;
  z-index: 1000;
  opacity: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
}

.tooltip_sonido.top {
  /* Posición superior */
  bottom: 100%;
  margin-bottom: 10px;
}

.tooltip_sonido.top::before {
  content: "";
  position: absolute;
  border: 6px solid transparent;
  border-top-color: #a2a9b1;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
}

.tooltip_sonido.bottom {
  /* Posición inferior */
  top: 100%;
  margin-top: 10px;
}

.tooltip_sonido.bottom::before {
  content: "";
  position: absolute;
  border: 6px solid transparent;
  border-bottom-color: #a2a9b1;
  left: 50%;
  transform: translateX(-50%);
  top: -12px;
}

.tooltip:hover .tooltip_sonido {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* FIN DEL TOOLTIP */

/*REFERENCIAS DEL NRS */
.contenido p {
  text-align: justify;
}

.nrs-ref {
  display: inline-block;
  color: #6b8d5c;
  cursor: pointer;
  font-weight: bold;
}

.citaNRS {
  display: none;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1180px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 999; /* Menor que el índice */
}

.citaNRS-content {
  margin-right: 20px;
}

.citaNRS-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
}

.citaNRS-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #6b8d5c;
}

#anexo-nrs {
  margin-top: 50px;
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 5px;
}

#anexo-nrs h2 {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.nrs-item {
  margin-bottom: 15px;
}

.nrs-numero {
  font-weight: bold;
  margin-right: 10px;
}
/* FIN REFERENCIAS NRS */

/* CAJAS FLOTANDO */
/*  Flotando a la derecha */
.box-right {
  float: right;
  width: 45%; /* Tamaño más pequeño */
  margin: 0 0 15px 15px; /* Margen para separar del texto */
  padding: 10px;
  border: 1px solid #6b8d5c;
  color: var(--h1-color);
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
  font-weight: bold;
  border-radius: 5px;
  background-color: var(--note-color);
}

/*  Flotando a la izquierda */
.box-left {
  float: left;
  width: 45%; /* Tamaño más pequeño */
  margin: 0 15px 15px 0; /* Margen para separar del texto */
  padding: 10px;
  border: 1px solid #6b8d5c;
  color: var(--h1-color);
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
  font-weight: bold;
  border-radius: 5px;
  background-color: var(--note-color);
}

/* Para asegurar que el texto fluya correctamente alrededor de la caja */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
/* FIN CAJAS FLOTANDO */

/* VIDEO SIN CONTROLES */
.video-container {
  margin: 20px 0;
  text-align: center;
  border: 1px solid #ddd;
  padding: 10px;
}
.video-controls {
  margin: 10px 0;
}
/* Estilos para los botones del reproductor de video */
.video-controls button {
  background-color: #4CAF50; /* Un verde agradable */
  color: white;             /* Texto en color blanco */
  border: none;             /* Sin borde */
  border-radius: 4px;       /* Esquinas redondeadas */
  padding: 8px 0;           /* Padding vertical */
  margin: 0 4px;            /* Margen horizontal entre botones */
  cursor: pointer;          /* Cursor de tipo pointer al pasar por encima */
  min-width: 100px;         /* Ancho mínimo fijo para todos los botones */
  font-family: Arial, sans-serif; /* Fuente */
  font-size: 14px;          /* Tamaño de la fuente */
  transition: background-color 0.3s, transform 0.1s; /* Transición suave */
}

/* Efecto hover */
.video-controls button:hover {
  background-color: #45a049; /* Verde un poco más oscuro al pasar el ratón */
  transform: scale(1.05);    /* Ligero efecto de aumento */
}

/* Efecto cuando se presiona */
.video-controls button:active {
  background-color: #3e8e41; /* Verde aún más oscuro al presionar */
  transform: scale(0.98);    /* Ligero efecto de hundimiento */
}

/* Contenedor de botones centrado */
.video-controls {
  margin: 12px 0;
  text-align: center;
}
.boxVideo {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 350px;
  border: 2px solid #009739;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
  background-color: rgba(250, 250, 250, 0.1);
  text-shadow: 1px 0.5px rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  color: var(--h1-color);
}
/* FIN VIDEO SIN CONTROLES  */

.checkMark {
  background-color: #68c151;
  color: white;
  border: none;
  width: 40px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-size: 18px;
}
 /* big buttom agrandar unicode */
.big-button {
  font-size: 22px; /* Tamaño base grande */
  color: black;    /* Color del triángulo */
  cursor: pointer; /* Cambia el cursor a una mano al pasar sobre él */
}

/* Opcional: añadir efectos al pasar el cursor */
.big-button:hover {
  color: #444;     /* Color ligeramente más claro al pasar el cursor */
  transform: scale(1.1); /* Hace que crezca ligeramente */
  transition: all 0.2s ease; /* Hace la transición suave */
}
/* <!-- Uso del bigbuttom con la clase -->
<span class="big-button">&#9654;</span> */

.glossary-container {
  max-width: 800px;
  margin: 0 auto;
}
dt { /* Estilo para el término */
  font-weight: bold;
  margin-top: .8em; /* Espacio antes de cada término */
  font-size: 16px;
}
dd { /* Estilo para la definición */
  margin-left: 20px; /* Indentación de la definición */
  margin-bottom: 1em; /* Espacio después de cada definición */
  text-align: justify; /* Justificar texto para mejor lectura */
  font-size: 14px;
}
/* Opcional: añadir una línea sutil entre entradas */

dd::after {
  content: "";
  display: block;
  width: 80%;
  border-bottom: 1px solid #ccc;
  margin-top: .5em;
}