@import "../global";
@import url(https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css);

body, html {
  max-width: 100%;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-size: var(--text-m);
  font-family: var(--font-text);
  line-height: var(--line-height-body);
  color: var(--color-black-text);
  background: var(--color-document);
}

* {
  box-sizing: border-box;
}

input,
textarea,
select,
button {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

input,
textarea,
button {
  border: 1px solid var(--color-grey-border);
}

img {
  max-width: 100%;
  vertical-align: middle;
}

hr {
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: var(--color-grey-border);
}
[tabindex="-1"] {
  outline: none;
}

::-webkit-scrollbar {
  width: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
  background-color: var(--color-neutral-fade);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  border-radius: var(--grid-unit);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb-color);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01) 90%);
  border-radius: var(--grid-unit);
}
