html,
body {
  height: 100%;

  margin: 0;

  background-color: #f5f4f6;

  overflow-x: hidden;
  overflow-y: hidden;
}

#root {
  height: 100%;

  display: flex;

  flex-direction: column;
}

@font-face {
  font-family: Campton;
  src: url(../fonts/Campton-Medium.ttf) format('truetype');
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'Password';
  font-style: normal;
  font-weight: 200;
  src: url(../fonts/text-security-disc.woff);
}

input {
  border-radius: 0;
}

input[type='text'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/*only iphone devices*/
@media not all and (min-resolution: 0.001dpcm) and (max-width: 640px) {
  @supports (-webkit-appearance: none) {
    input[inputMode='numeric']:disabled {
      opacity: 1;
    }
  }
}

.icon-dark {
  filter: brightness(30%);
}

.scrollbar-track-x,
.scrollbar-thumb-x {
  height: 5px !important;
}

.scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2) !important;
}

.scrollbar-track-y,
.scrollbar-thumb-y {
  width: 5px !important;
}

.scroll-content:hover ~ .scrollbar-track {
  opacity: 1;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: rgba(222, 222, 222, 0.75);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2) !important;
  border-radius: 4px;
}
