* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  line-height: 1;

  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;

  &::-webkit-scrollbar {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
  }
}

html,
body {
  max-width: 100vw;
  height: auto;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  color: var(--text-regular);
  background: var(--background-secondary);
  font-family:
    Roboto,
    -apple-system,
    'BlinkMacSystemFont',
    'Segoe UI',
    'Oxygen',
    'Ubuntu',
    'Cantarell',
    'Open Sans',
    'Helvetica Neue',
    'Arial',
    sans-serif;
  color-scheme: dark light;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media only screen and (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }
}

a {
  text-decoration: none;
}

button {
  border: none;
  cursor: pointer;
}

input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type='number'] {
  -moz-appearance: textfield;
}
