body {
  font-family: 'Lexend', serif;
  font-size: 17.5px;
}

.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;
}

.cover_title {
  position: absolute;
  top: 270px;
  left: 30px;
  right: 30px;
  color: #2c3e50;
  font-size: 65px;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}
.cover_subtitle {
  position: absolute;
  left: 131px;
  right: 50px;
  bottom: 100px;
  text-align: right;
  color: #2c3e50;
  font-size: 150%;
  font-weight: bold;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}
.chap_text {
  position: absolute;
  left: 50px;
  top: 45px;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 46px;
  color: #2c3e50;
  font-size: 180%;
  font-weight: bold;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
  border: 1px solid var(--interactive-border-color);
}
.chap_name {
  position: absolute;
  right: 50px;
  top: 40px;
  text-align: right;
  color: #2c3e50;
  font-size: 160%;
  font-weight: bold;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}
body.dark .chap_text,
body.dark .chap_name {
  color: #10ac84;
  text-shadow: 1px 2px rgba(255,255,255,0.15);
}

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);
}