/********************************/
/*****        BASE          *****/
/********************************/

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-secondary);
  background-color: var(--color-background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  color: var(--color-primary);
  font-weight: 700;
  transition: 0.2s cubic-bezier(0.55, 0, 0.1, 1);
}

h1 {
  font-size: 6rem;
  line-height: 5.8rem;
}

h2 {
  font-size: 4.5rem;
  line-height: 4.7rem;
}

h3 {
  font-size: 2.5rem;
  line-height: 1.2;
}

strong {
  font-weight: 700;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

select {
  border: 1px solid #ddd;
}

button {
  background: transparent;
  cursor: pointer;
}

button[disabled] {
  cursor: not-allowed;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
