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

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

.note {
  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 {
  -webkit-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

.interactive {
  text-align: center;
  border: 1px solid var(--interactive-border-color);
  border-radius: 2px;
  background: var(--interactive-color);
}
.image_link {
  border: 2px solid var(--image-border-color);
}

li {
  padding: 0 0 0.4em 0;
}

code,
code_math {
  display: inline;
}
code,
pre,
code_math {
  font-family: "UbuntuMono", monospace;
  font-size: 107%;
  color: #27ae60;
}
xmp {
  font-family: "UbuntuMono", monospace;
  font-size: 107%;
  color: #e67e22;
  border: 1px solid #e67e22;
}

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

/*   -2px -3px 0 rgb(107, 141, 92, .2), 
  2px -3px 0 rgba(107, 141, 92, .2), 
  -1px 6px 0 rgba(107, 141, 92, .2),
    2px 3px 0 rgb(107, 141, 92), 
    4px 4px 0 rgba(107, 141, 92, 0.5);*/

.cover_title {
  position: absolute;
  top: 500px;
  left: 40px;
  color: #C0FEA5;
  font-size: 400%;
  text-align: left;
  text-shadow: 3px 2px 0 rgba(78, 53, 8, 0.95);

}
.cover_subtitle {
  position: absolute;
  color: #C0FEA5;
  font-weight: bold;
  top: 580px;
  left: 44px;
  font-size: 320%;
  text-shadow: 3px 2px 0 rgba(78, 53, 8, 0.95);
}

/*var(--page-right-margin);*/
.chap_text {
  position: absolute;
  margin-right: 20px;
  top: 400px;
  color: #C0FEA5;
  font-size: 500%;
  text-shadow: 3px 2px 0 rgba(99, 68, 12, 0.95);
}
.chap_name {
  position: relative;
  margin-right: 20px;
  top: 470px;
  height: 170px;
  color: #ffd623;
  font-size: 200%;
  text-shadow: 3px 2px 0 rgba(99, 68, 12, 0.95);
}

table {
  border-collapse: collapse;
  border: 1px solid var(--text-color);
}
table td {
  border: 1px solid var(--text-color);
}

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

.page:nth-child(even) {
  background-size: contain;
  background-image: url(../images/ima_geo/page2.png);
}

.page:nth-child(odd) {
  background-size: contain;
  background-image: url(../images/ima_geo/page1.png);
}

.page:nth-child(1) {
  background-size: contain;
  background-image: none;
}

.page:nth-child(odd) {
  --page-left-margin: 90px;
}

.page:nth-child(even) {
  --page-right-margin: 90px;
}

#Arriba {
  position: fixed; /* Para que el popup se mantenga en su lugar */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centrar el popup */
  background-color: white;
  border: 1px solid black;
  padding: 20px;
}