*:active, *:focus {
  outline: none;
}

html, body {
  margin: 0;
  padding: 0;
  user-select: none;
  background-color: #000;
  overscroll-behavior-y: none;
}

html {
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  width: 100%;
  height: 100%;
}

button::-moz-focus-inner {
  border: 0;
}

img {
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
}

* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

/*============= GAME =============*/
#brim-main {
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: auto !important;
}

#brim-mask {
  pointer-events: none;
  display: none;
}

/*============= GAME =============*/
#game-holder {
  position: absolute;
  width: 100%;
  height: 100%;
}
#game-holder.doubleBg {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#hud, #canvas-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
}

#hud {
  z-index: 1;
}

canvas {
  image-rendering: auto;
  transform: translateZ(0);
  width: 100%;
  height: 100%;
  touch-action: manipulation !important;
}

/*============= SCROLL BAR =============*/
::-webkit-scrollbar-track {
  background-color: #333333;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  max-height: 100px;
  background-color: #7c7d7d;
}
