html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  background: #000000;
  color: #cccccc;
  margin: 0px;
  padding: 0px;
  border: 0px;
  font-family: sans-serif;

  /* disable touch select */
  -webkit-touch-callout: none; /* iOS Safari */
  & * {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    user-select: none; /* Standard syntax */
  }
}

div.gm4html5_div_class {
  margin: 0px;
  padding: 0px;
  border: 0px;
}

div.gm4html5_login {
  padding: 20px;
  position: absolute;
  border: solid 2px #000000;
  background-color: #404040;
  color: #00ff00;
  border-radius: 15px;
  box-shadow: #101010 20px 20px 40px;
}

div.gm4html5_cancel_button {
  float: right;
}

div.gm4html5_login_button {
  float: left;
}

div.gm4html5_login_header {
  text-align: center;
}

:-webkit-full-screen #canvas {
  width: 100%;
  height: 100%;
}

:-webkit-full-screen {
  width: 100%;
  height: 100%;
}

#loadimage {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  z-index: 1;
  background-image: url("background.jpg");
  background-size: cover;
  background-position: center;
  /* image-rendering: pixelated; */
  filter: brightness(0) grayscale(1);
}

#loadspinner_div {
  width: 25vh;
  height: 25vh;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(20deg) skew(-22.5deg, -22.5deg);
  animation: fade_in 1s;
  animation-timing-function: linear;
}

@keyframes fade_in {
  0% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}

#loadspinner {
  z-index: 2;
  left: 50%;
  top: 50%;
  animation: rotate_logo 1s infinite;
  animation-timing-function: linear;
}

@keyframes rotate_logo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#canvas {
  image-rendering: pixelated;
  -ms-touch-action: none;
  touch-action: none;
  margin: 0px;
  padding: 0px;
  border: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  bottom: -50%;
  right: -50%;
  transform: translate(-50%, -50%);
}

.videoInsert {
  object-fit: contain;
  width: 100vw;
  height: 100vh;
  position: absolute;
}

#videoContainer {
  background-color: black;
  position: relative;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4
}

#videoSkip {
  overflow: hidden;
  border-radius: 10px;
  z-index: 5;
  position: absolute;
  width: 150px;
  height: 50px;
  background-color: #000000;
  text-align: center;
  vertical-align: middle;
  line-height: 50px;
  right: 5%;
  bottom: 5%;
  display: none;
}

#videoSkipProgress {
  position: absolute;
  height: 100%;
  width: 50%;
  background-color: #b434eb;
}

#videoSkipButton {
  width: 100%;
  position: absolute;
  z-index: 6;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}
