html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #000;
}

html {
  -ms-touch-action: none;
}

body,
div {
  display: block;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  top: 0;
  left: 0;
}

#swipe {
  width: 100%;
  height: 200%;
  position: relative;
  z-index: -1;
  display: none;
  /* pointer-events: none; */
}

.swipe {
  height: 100%;
  z-index: 12;
  background-color: #000;
  opacity: 0.5;
  color: #fff;
  position: relative;
  pointer-events: none;
}

.fullscreen-icon {
  position: fixed;
  z-index: 11;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 90px;
  height: 179px;
  background-image: url(./public/swipe-up.png);
  animation: fullscreen-spin 1.6s linear infinite;
  pointer-events: none;
}

@keyframes fullscreen-spin {
  from {
    opacity: 0.4;
    margin-top: 0px;
  }
  50% {
    opacity: 0.9;
    margin-top: 20px;
  }
  to {
    opacity: 0.4;
    margin-top: 0px;
  }
}

#GameDiv {
  position: relative;
  z-index: 10;
}

#GameWrapper.mobile {
  position: fixed;
  z-index: 10;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#orientation-tip {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  /* pointer-events: none; */
}
#orientation-tip.show {
  display: flex;
}
#orientation-tip img {
  max-width: 70vw;
  max-height: 50vh;
  width: auto;
  height: auto;
  object-fit: contain;
}