*,
::after,
::before {
  box-sizing: border-box;
}

ul,
ol {
  padding: 0;
  list-style-position: inside;
}

ul[class],
ol[class] {
  list-style: none;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

input:focus-visible {
  outline: none;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  font-size: calc(16 * var(--width-multiplier));
  font-weight: 400;
  line-height: 120%;
  font-family: "Inter", sans-serif;
  /* color: #252323; */
  color: #382924;
}

body {
  position: relative;
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 120%;
  /* background: var(--color-light-gray); */
  background: var(--color-bg);
  /* color: var(--color-dark); */
  color: var(--color-txt);
}

body.menu-active {
  overflow: hidden;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
article > * + * {
  margin-top: 1em;
}
button,
input,
select,
textarea {
  font: inherit;
}

input,
select {
  width: 100%;
  padding: 0;
  border: 0;
  background-color: transparent;
  font: inherit;
}

input::-moz-placeholder,
select::-moz-placeholder {
  color: rgba(33, 32, 43, 0.4);
}

input::placeholder,
select::placeholder {
  color: rgba(33, 32, 43, 0.4);
}

input:focus,
select:focus {
  outline: none;
}

a {
  outline: none;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
}
::-webkit-scrollbar-track {
  background: var(--color-primary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    112.92deg,
    rgba(255, 255, 255, 0.36) 10.45%,
    rgba(255, 255, 255, 0.09) 88.73%
  );
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}
