*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-variant-ligatures: none;
}

body {
  font-family: var(--font-body);
  margin: 0;
  min-width: 20rem;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

p {
  line-height: 1.7;
}

.container {
  margin: 0 auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
  width: 100%;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.5rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--color-primary);
  box-shadow: var(--shadow-button);
  color: #ffffff;
}

.button--primary:hover {
  background: var(--color-primary-strong);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 32, 58, 0.12);
  box-shadow: 0 12px 28px rgba(15, 34, 69, 0.08);
  color: var(--color-heading);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.96);
}

.button--small {
  min-height: 2.8rem;
  padding: 0 1.1rem;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
