/*----------- SETTINGS ----------*/
:root {
  --font-default: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --color-background: #f9f8f9;
  --color-white: #ffffff;
  --color-clean: #e8e8e8;
  --color-gray: #999999;
  --color-dark: #a9a9a9;
  --color-dark-gray: #333333;
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  list-style: none;
  border: none;
  text-decoration: none;
}

*,
::after,
::before {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  -webkit-box-sizing: border-box; /* Safari and Chrome */
  -moz-box-sizing: border-box; /* Firefox */
  -ms-box-sizing: border-box; /* IE 9 */
  -o-box-sizing: border-box; /* Opera */
  box-sizing: border-box;
}

::after,
::before {
  white-space: pre-wrap;
}

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 0;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

body,
input,
button,
textarea {
  font: 300 1.4rem var(--font-default);
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
input[type='radio'],
input[type='checkbox'] {
  display: none;
}

button {
  cursor: pointer;
  background: transparent;
}

body {
  background-image: url("/assets/images/background-desktop.png");
  background-size: cover;
  background-position: center;
}

html,
body,
#root {
  height: 100%;
}

html,
body {
  overflow: hidden;
}

[data-simplebar] {
  height: 100%;

  .simplebar-content {
    height: 100%;
  }

  .simplebar-content:after,
  .simplebar-content:before {
    content: '';
  }

  & .simplebar-scrollbar:before {
    background: rgba(0, 0, 0, 0.25);
  }
}

.spinner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner__content {
  width: 40px;
  height: 40px;
  border: 6px solid #0161cd;
  border-radius: 50%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: spin 1s infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg);
  }
}

input[type="range"]::-webkit-slider-runnable-track {
  pointer-events: none;
}
input[type="range"]::-moz-range-track {
  pointer-events: none;
}
input[type="range"]::-ms-track {
  pointer-events: none;
}
