/* from preview-templates */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), url('../font/Roboto-Regular.woff') format('woff');
}

body, canvas, div {
  outline: none;

  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 {
  cursor: default;
  padding: 0;
  border: 0;
  margin: 0;
  text-align: center;
  background-color: black;
  font-family: Roboto, PingFangSC, Arial, Helvetica, Verdana, sans-serif;
  position: unset;
  display: unset;
}

.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
  content: ' ';
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}

.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 999;
  background-color: #161920;
  background-size: contain;
}

#cover .group {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1920px;
  height: 1080px;
}

#cover .img {
  margin: 8% auto 0; 
  display: block;
} 

#cover .img2 {
  margin: 20% auto 5%;
  height: 188px;
  display: none;
} 

.logoFadeIn {
  animation: fadeIn33 2.4s linear 1 forwards;
}

@keyframes fadeIn33 {
  0%,
  15.26% {
    opacity: 0;
    transform: scale(2.4);
    filter: brightness(0) invert(1);
  }
  15.27% {
    opacity: 0.09;
    transform: scale(2.4);
    filter: brightness(0) invert(1);
  }
  22.22% {
    opacity: 1;
    transform: scale(1.14);
    filter: none;
  }
  100% {
    transform: scale(1);
  }
}


@keyframes progressFadeIn33 {
  0%,
  8.32% {
    opacity: 0;
  }
  8.33% {
    opacity: 0.06;
  }
  100% {
    opacity: 1;
  }
}

@keyframes progressFadeOut33 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.barFadeIn {
  animation: progressFadeIn33 0.366s linear 1 forwards;
}

.barFadeOut {
  animation: progressFadeOut33 0.433s linear 1 forwards;
}


.bar {
  height: 8px;
  border-radius: 5px;
  background-color: #2C3446;
  width: 350px;
  margin: 0 auto;
}

.bar span {
  display: block;
  height: 8px;
  border-radius: 5px;
  background-image: linear-gradient(to right, #FFA000, #FFE664);
}

.tip {
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  width: 100%;
  text-align: center;
  padding-top: 16px ;
}

.tip-text-content {
  width: 100%; 
  text-align: center; 
  position: absolute; 
  color: rgb(255, 219, 101); 
  font-size: 24px;
  bottom: 3%;
}

.tip-text {
  opacity: 0;
  transition: opacity 400ms ease-in-out;
  margin: 0 auto;
  width: 26%;
  font-size: 16px;
  padding-bottom: 15px;
}

.tip-botton {
  width: 1%;
  padding-top: 5px;
}

.error {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #13151a url(../img/error_landscape.jpg) no-repeat center;
  background-size: cover;
}

#errorContainer {
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  top: 21%;
  bottom: 39%;
}

.logo { 
  height: calc(44 / 375 * 100vh);
}  

.errorTitle {
  font-size: 22px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  display: none;
}

.errorMsg {
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  display: none;
}

#spinner {
  position: absolute;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: none;
  z-index: 9999;
}

#spinner.show {
  display: flex;
}

.lds-spinner {
  transform: scale(0.75);
}

#GameDiv {
  width: 100%;
  height: 100%;
  visibility: hidden;
  overflow: hidden;
}

#GameDiv{
  visibility: visible;
}

.contentWrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.wrapper {
  position: relative;
  border: 1px solid rgba(68, 68, 68, 0);
  background: transparent;
}

/* #id_test_video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	margin: 0;
} */

.id-test-video {
	position: absolute;
	padding: 0;
	border: 0;
	margin: 0;
	width: 1334;
	height: 750;
}

.sdp-video {
	position: absolute;
	padding: 0;
	border: 0;
	margin: 0;
	width: 1334;
	height: 750;
}

.content {
  height: 100%;
  left: 50%;
  position: fixed;
  top: 0;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
  width: 100%;
  z-index: 200;
}

.content canvas {
  display: block;
  margin: 0 auto;
}
