/* ==========================================================================
   TIPOGRAFÍA
   ========================================================================== */

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--color-text);
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-lg);
}

h4 {
  font-size: var(--font-size-md);
}

p {
  color: var(--color-text-muted);
}

small,
.text-sm {
  font-size: var(--font-size-sm);
}

.text-xs {
  font-size: var(--font-size-xs);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-accent {
  color: var(--color-accent);
}

.text-danger {
  color: var(--color-danger);
}

.text-center {
  text-align: center;
}

a.link {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a.link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

strong {
  font-weight: 700;
  color: var(--color-text);
}

@media (max-width: 640px) {
  h1 {
    font-size: var(--font-size-2xl);
  }

  h2 {
    font-size: var(--font-size-xl);
  }
}
