/* reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  font-family: var(--font-primary);
  font-style: normal;
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
  background: var(--color-background);
  color: var(--color-text);
  overflow-x: hidden;
}
body::-webkit-scrollbar {
  width: 5px;
  background: var(--color-background);
}
body::-webkit-scrollbar-track {
  display: none;
}
body::-webkit-scrollbar-thumb {
  background: var(--color-text);
}
a {
  font: inherit;
  color: inherit;
  text-decoration: none;
}
button {
  outline: none;
  border: none;
  background-color: unset;
}
input {
  outline: none;
  border: none;
}
img {
  max-width: 100%;
}
span {
  font: inherit;
  color: inherit;
  text-transform: inherit;
}
main {
  overflow: hidden;
}
/* reset styles */

/* protect */
.protect {
  width: 100%;
  position: absolute;
  top: 2px;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.protect__item {
  color: rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 8px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* main styles */
.main__container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max-width);
  padding-inline: var(--spacing-container);
  margin-inline: auto;
}
section {
  padding-block: var(--spacing-section);
}
h1 {
  color: var(--color-text-dark);
  font-size: var(--font-size-h1);
  font-style: normal;
  font-weight: 700;
  line-height: var(--line-height-h1);
  letter-spacing: var(--letter-spacing-h1);
}
h2 {
  text-align: center;
  font-size: var(--font-size-h2);
  font-style: normal;
  font-weight: 500;
  line-height: var(--line-height-h2);
  letter-spacing: var(--letter-spacing-h2);
  margin-bottom: 32px;
}
h2 + p {
  text-align: center;
  line-height: 24px;
  margin-block: -16px 32px;
}
h2 span {
  color: var(--color-primary);
}
span.currency {
  font-family: var(--font-secondary);
}
.main__btn {
  padding: var(--spacing-button);
  border-radius: var(--border-radius);
  border: 2px solid var(--color-border);
  background: var(--color-text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  gap: 16px;
  font-size: var(--font-size-button);
  font-weight: 500;
  line-height: var(--line-height-button);
  letter-spacing: var(--letter-spacing-button);
  transition: var(--transition-base);
}
.main__btn::after {
  display: inline-block;
  content: "";
  background-image: url("../images/icon_3.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  transition: var(--transition-base);
}
.main__btn:hover::after {
  transform: translateX(4px);
}
.main__btn:active::after {
  transform: translateX(20px);
  opacity: 0;
}

@media (width < 1200px) {
}
@media (width < 1023px) {
}
@media (width < 767px) {
  section {
    padding-block: 32px;
  }
  h1 {
    font-size: var(--font-size-h3);
    font-style: normal;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: -1.92px;
  }
  h2 {
    text-align: left;
    font-size: var(--font-size-h3);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -1.28px;
    margin-bottom: 24px;
  }
  h2 + p {
    text-align: left;
    margin-block: -8px 24px;
  }
  .main__btn {
    width: 100%;
    max-width: 400px;
  }
}
