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

body {
  cursor: default;
  color: #888;
  background-color: black;

  display: -webkit-flex;
  display: flex;

  -webkit-flex-direction: column;
  flex-direction: column;
  font-family: Roboto, PingFangSC, Arial, Helvetica, Verdana, sans-serif;
  height: 100%;
  /* for firefox */
  width: 100%;

  position: unset;
  display: unset;
  padding: 0px;
  border: 0px;
  margin: 0px;
}

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);
}

.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;
}

.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 {
  background-color: #161920;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 999;
}

#cover .img {
  width: 350px;
  height: 180px;
  margin-left: -10px;
}

#cover .group {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
}

.group .container{
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bar {
  height: 4px;
  width: 220px;
  border-radius: 4px;
  background-color: #2C3446;
  margin: 24px auto 8px;

}

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

.tip {
  font-size: 12px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #FFFFFFCC;
  width: 100%;
  text-align: center;
}

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

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

.text-container {
  width: 100%;
  text-align: center;
  color: #FFDB65;
  overflow: hidden;
  position: absolute;
  bottom: 5%;
}

.text-container p {
  font-size: 12px;
  line-height: 18px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64%;
  opacity: 0;
  transition: opacity 400ms ease-in-out;
  margin: 0 auto;
}

.text-container img {
  margin-top: 4px;
  width: 20px;
  height: 20px;
}

@media (orientation: portrait) {
  /* .bar {
    bottom: calc((100% - (100vw / 375 * 667)) / 2 + 110 * (100vw / 375 * 667) / 667);
    width: calc(100vw / 480 * 320);
  }
  .tip {
    bottom: calc((100% - (100vw / 375 * 667)) / 2 + 130 * (100vw / 375 * 667) / 667);
  } */
  .error {
    background: #13151a url(../img/error_portrait.jpg) no-repeat center;
    background-size: cover;
  }
  .error-container {
    top: 22%;
    bottom: 56%;
  }
  .logo {
    width: 48%;
  }
}

@media (orientation: landscape) {
  .error {
    background: #13151a url(../img/error_landscape.jpg) no-repeat center;
    background-size: contain;
  }
  .error-container {
    top: 21%;
    bottom: 39%;
  }
  .logo {
    height: calc(48 / 375 * 100vh);
  }

  .text-container p {
    font-size: 10px;
    line-height: 14px;
  }

  .text-container {
    bottom: 4%;
  }
}

.error {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.error-container {
  position: absolute;
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.error-container.active {
  display: flex;
}

.title {
  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;
}

.subtitle {
  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;
}

.subtitle.active, 
.title.active {
  display: block;
}

#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: 100vh;
  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: 0.1px solid rgba(0, 0, 0, 255); 有用ios全屏功能需打開 */
  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: fixed;
	bottom:0;
	left:0;
	width: 1334;
	height: 750;
	padding: 0;
	border: 0;
	margin: 0;
	z-index: -1;	
}

.video1w {
	position: fixed;
	bottom:0;
	left:0;
	width: 1334;
	height: 750;
	padding: 0;
	border: 0;
	margin: 0;
	z-index: -1;	
}

.sdp-video {
	position: fixed;
  bottom:0;
	left:0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	margin: 0;
	z-index:-1;	
  /* background: #e8010133; */
}

.js-video {
	position: fixed;
  bottom:-100%;
	left:0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	margin: 0;
	z-index:-2;
}

#hideChatbar {
  position: absolute;
  top: 0;
  left: -500px;
  z-index: -1;
  opacity: 1;
  color: transparent;
  caret-color: transparent;
  width: 50px;
  background: transparent;
  border: transparent;
}

img.product_logo {
  width: 100%;
  margin-bottom: 20px;
  animation: logoFadeIn 2.4s linear 1 forwards;
}

@keyframes logoFadeIn {
  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 progreddFadeIn {
  0%,
  8.32% {
    opacity: 0;
  }
  8.33% {
    opacity: 0.06;
  }
  100% {
    opacity: 1;
  }
}


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





