/* ==========================================
            FLORA CSS Library
      Autor: Santiago Elías Formichelli
    Framework Frontend para proyectos web
=========================================== */

:root {
  /* Colores de estado */
  --color-exito: #27AE60;
  --color-error: #EB5757;
  --color-advertencia: #F2C94C;
  --color-informacion: #2D9CDB;
}

/* IBM Plex Sans Variable Font local */
@font-face {
  font-family: 'IBMPlexSansVariable';
  src: url('../fonts/IBMPlexSans-VariableFont_wdth,wght.woff2') format('woff2');
  font-weight: 100 700; /* rango de pesos */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBMPlexSansVariable';
  src: url('../fonts/IBMPlexSans-Italic-VariableFont_wdth,wght.woff2') format('woff2');
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
}

body {
  font-family: 'IBMPlexSansVariable', sans-serif;
  font-weight: 400; /* normal */
  font-style: normal;
  background-color: var(--color-fondo);
  color: var(--color-texto);
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  padding-block: 0.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-secundario);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin: 1rem 0;
}

a {
  color: var(--color-contraste);
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  transition: color 0.15s ease;
}

a:hover,
a:focus {
  text-decoration: underline;
}

::selection {
  background: var(--color-contraste);
  color: var(--color-fondo);
}

hr {
  border: none;
  height: 2px;
  background-color: var(--color-extra); 
  margin: 2rem 0;
}

blockquote {
  border-left: 4px solid var(--color-primario);
  background-color: var(--color-secundario);
  color: var(--color-fondo);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  font-style: italic;
}

/* Emphasis */
strong {
  font-weight: 700;
  color: var(--color-contraste);
}

/*------ Estilos para las paletas de colores ------ */

.selector-paletas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.opcion-paleta {
  display: flex;
  border: 1px solid #707070;
  border-radius: 5px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.muestra-color {
  width: 26px;
  height: 26px;
}