html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  background: radial-gradient(circle, #1a1a1a 0%, #0a0a0a 100%);
}

body {
  font-family: var(--font-family-base);
  line-height: var(--line-height-base);
  color: var(--text-light);
  max-width: 1920px;
  margin: 0 auto;
}

h1 {
  font-size: var(--h1-size);
  font-family: var(--font-family-h1);
  line-height: 110%;
}

h2 {
  font-size: var(--h2-size);
  font-family: var(--font-family-h2);
  font-weight: 700;
}

h3 {
  font-size: var(--h3-size);
  font-family: var(--font-family-h3);
  font-weight: 600;
  line-height: 110%;
  letter-spacing: 0.03em;
}

h4 {
  font-size: var(--h4-size);
  font-family: var(--font-family-h4);
  font-weight: 800;
  line-height: 110%;
}

a {
  text-decoration: none;
  letter-spacing: 0.02em;
}

p {
  font-family: var(--font-family-body);
  font-size: var(--body-size);
  line-height: 110%;
  letter-spacing: 0.02em;
}

span {
  font-family: var(--font-family-span);
}

li {
  font-family: var(--font-family-li);
}

@media (min-width: 1920px) {
  p {
    line-height: 120%;
  }
}

button {
  font-family: var(--font-family-button);
  cursor: pointer;
  font-size: var(--body-size);
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  scroll-margin-top: 100px;
}

#app {
  min-height: 100vh;
  overflow-x: hidden;
}

.application__form input.error {
  background-color: var(--color-error);
}
