/*
  Fuentes autoalojadas (no se llama a Google Fonts desde el navegador del
  visitante: evita el aviso de privacidad/RGPD y hace la web más rápida).
  Licencia: SIL Open Font License 1.1 (todas las familias listadas).
*/

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair-display-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/caveat-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/merriweather-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/courier-prime-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/nunito-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/oswald-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pacifico-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dancing-script-500.woff2') format('woff2');
}

/*
  Clases utilitarias, usadas de dos formas:
  - atributo data-font="clave" en el bloque de texto (estilo de todo el texto)
  - clase ql-font-clave, que pone el editor de texto dentro de una palabra o
    frase concreta cuando el admin cambia la fuente solo a una parte del texto
*/
[data-font="poppins"], .ql-font-poppins { font-family: 'Poppins', system-ui, sans-serif; }
[data-font="playfair"], .ql-font-playfair { font-family: 'Playfair Display', Georgia, serif; }
[data-font="caveat"], .ql-font-caveat { font-family: 'Caveat', cursive; }
[data-font="merriweather"], .ql-font-merriweather { font-family: 'Merriweather', Georgia, serif; }
[data-font="mono"], .ql-font-mono { font-family: 'Courier Prime', 'Courier New', monospace; }
[data-font="lora"], .ql-font-lora { font-family: 'Lora', Georgia, serif; }
[data-font="nunito"], .ql-font-nunito { font-family: 'Nunito', system-ui, sans-serif; }
[data-font="oswald"], .ql-font-oswald { font-family: 'Oswald', 'Arial Narrow', sans-serif; }
[data-font="pacifico"], .ql-font-pacifico { font-family: 'Pacifico', cursive; }
[data-font="dancing"], .ql-font-dancing { font-family: 'Dancing Script', cursive; }
