/* ============================================================
   theme.css — tema simple para las slides (reveal-hugo)
   ------------------------------------------------------------
   Define únicamente tipografías y colores (nada de layout), para
   poder reutilizarlo en otras presentaciones: alcanza con cambiar
   los valores de las variables en :root.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Tipografías */
  --font-heading: "Arvo", Georgia, "Times New Roman", serif;
  --font-body: "Raleway", "Helvetica Neue", Arial, sans-serif;

  /* Colores */
  --color-bg: #ffffff;
  --color-bg-accent: #447bcd; /* fondo usado en slides de actividad */
  --color-text: #000000;
  --color-text-inverse: #ffffff;
  --color-link: #0097a7;
  --color-accent: #4285f4;
  --color-muted: #595959;
}

/* Fondo y tipografía base */
.reveal {
  background-color: var(--color-bg);
}

.reveal,
.reveal p,
.reveal li,
.reveal div,
.reveal .columns {
  font-family: var(--font-body);
  color: var(--color-text);
}

/* Encabezados */
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
  text-transform: none;
}

/* Slides con fondo de color: reveal.js agrega automáticamente la
   clase has-dark-background y ajusta el contraste del texto. Acá
   solo afinamos el color de los links dentro de esas slides. */
.reveal section.has-dark-background a {
  color: var(--color-text-inverse);
}

/* Enlaces */
.reveal a {
  color: var(--color-link);
  text-decoration: underline;
}
.reveal a:hover {
  opacity: 0.8;
}

.reveal strong {
  font-weight: 700;
}

/* Utilidades reutilizables */
.text-muted {
  color: var(--color-muted);
}
.small-text {
  font-size: 0.6em;
}
.lead-italic {
  font-style: italic;
}

/* Columnas (equivalente a .columns/.column de Quarto) */
.reveal .columns {
  display: flex;
  gap: 1em;
  align-items: flex-start;
}
.reveal .column img {
  max-width: 100%;
}

/* Imágenes: el render hook agrega width/height, así que la altura se ajusta */
.reveal img {
  height: auto;
}
.reveal .slide-logo img {
  height: 1.6em;
  width: auto;
  margin: 0;
}
.reveal .float-image {
  width: 13%;
  float: right;
  margin: 0 0 0.5em 0.8em;
}
