:root {
  --bs-primary: #076d4d;
  --bs-light: #cde1db;
  --bs-body-font-family: 'Ubuntu', sans-serif;
  --bs-body-font-size: 1.5rem;
  --bs-body-line-height: 1.75rem;
}

body {
  margin: 4rem 5%;
  font-family: 'Ubuntu', sans-serif;
}

h1, h2 {
  text-align: center;
}

h1, h2, h3 {
  color: var(--bs-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h4, h4, h6 {
  color: var(--bs-blue);
  margin-bottom: 0.75rem;
}

h1 {
  line-height: 3rem;
}

h2 {
  line-height: 2.5rem;
}

h3 .accordion-button {
  color: var(--bs-primary);
  font-size: 1.75rem;
}

img {
  max-width: 100%;
  height: auto;
}

li {
  margin-bottom: 0.5rem;
}

li ol {
  margin-top: 0.5rem;
}

#solutions > .accordion-item > div > .accordion-body > ol {
  counter-reset: item;
  list-style-type: none;
}

#solutions > .accordion-item > div > .accordion-body > ol > li:before {
  content: "Ejercicio " counter(item) ": ";
  margin-left: -1.5rem;
  font-weight: bold;
  counter-increment: item;
}

a[href^="#"]::before {
  content: "Respuesta";
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solution {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--bs-light);
  font-size: 1rem;
}

.note {
  font-size: small;
}

.note p,
.note li {
  line-height: 1.25rem;
  margin-bottom: 0.5rem;
}
