html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  background: var(--color-bg);
  color: var(--color-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: var(--font-main);
  margin: 0;
}

h1 {
  font-size: clamp(40px, 7vw, 128px);
  font-weight: 700;
}
h2 {
  font-size: clamp(34px, 6vw, 96px);
  font-weight: 800;
}
h3 {
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 800;
}
h4 {
  font-size: clamp(22px, 4vw, 45px);
  font-weight: 700;
}
h5 {
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 500;
}
h6 {
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 700;
}
p {
  font-size: clamp(14px, 2.1vw, 18px);
  font-weight: 400;
}

.heading {
  line-height: 0.9;
  word-break: break-word;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (max-width: 1023px) {
  .container {
    max-width: 900px;
    padding-inline: 16px;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 650px;
    padding-inline: 12px;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
}
