html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}
body {
	margin: 0;
	
	background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 102, 255));
}
#gameContainer {
	width: 100vw;
	height: 100vh;
}
canvas {
	width: 100%;
	height: 100%;
	display: block;
}
canvas + * {
	z-index: 2;
}

.notiRotateMobile{
	display: none;
	position: absolute;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    background: white;
}
.btnRotateMobile{
	border:0px;
	width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	 flex-direction: column;
	
}
.imageRotateMobile{
	width: 160px;
}

.container{
	/* max-width: 1600px; */
	/* position:  relative; */
}
.posImg{
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}
.logo {
  padding: 0px 50px;
  display: block;
  max-width: 100vw;
  max-height: 70vh;
  /* position: absolute; */
  /* top:300px; */
}   
.pos_progress{
	position: absolute;
	bottom : 15%;
	width: 100%;
}
.progress {
	margin: 1.5em auto;
	max-width: 436px;
	height:  auto;
	display: none;
	position: relative;
}
.full {
	 width: 97%;
	transform-origin: top left;
}
.box_process{
	width: 100%;
}
.process{
	width: 98%;
}
.progress .posfull,.progress .posbox{ 
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
}
.progress .posfull{
	top: 8px;
	z-index: 1;
}
.progress .posbox{
	top: 0;
	z-index: 2;
}
#loader {
	position: absolute;
	left: 0;
	top: 0;
	right:0;
	bottom:0;
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 102, 255));
}
@font-face {
  font-family: myFirstFont;
  src: url(editundo.woff);
}

.txtClickFullScreen{
	margin-top: 40px;
	font-family: myFirstFont;
	font-size: 22px;
	color:black;
}
.percentLoading{
	margin-top: 20px;
	font-family: myFirstFont;
	font-size: 28px;
	color:white;
}

.pos_spinner{
	position: absolute;
	top: 70%;
	left: 50%;
	transform: translate(-30%, -50%);
}

.spinner,
.spinner:after {
	display: none;
	border-radius: 50%;
	width: 5em;
	height: 5em;
}
.spinner {
	margin: 10px;
	font-size: 10px;
	position: relative;
	text-indent: -9999em;
	border-top: 1.1em solid rgba(255, 255, 255, 0.2);
	border-right: 1.1em solid rgba(255, 255, 255, 0.2);
	border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
	border-left: 1.1em solid #ffffff;
	transform: translateZ(0);
	animation: spinner-spin 1.1s infinite linear;
}
@keyframes spinner-spin {
	0% {
	transform: rotate(0deg);
	}
	100% {
	transform: rotate(360deg);
	}
}

@charset "UTF-8";
:root {
  --duration: 1.5s;
  --container-size: 700px;
  --box-size: 80px;
  --box-border-radius: 10%;
}

.container {
  margin-top: 150px;
  width: var(--container-size);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.box {
  width: var(--box-size);
  height: var(--box-size);
  position: relative;
  display: block;
  transform-origin: -50% center;
  border-radius: var(--box-border-radius);
}
.box:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background-image: url("./image/icon_1.png");
  background-size: var(--box-size);
  border-radius: var(--box-border-radius);
  box-shadow: 0px 0px 10px 0px rgba(28, 159, 255, 0.4);
}
.box:nth-child(1) {
  animation: slide var(--duration) ease-in-out infinite alternate;
}
.box:nth-child(1):after {
  animation: color-change var(--duration) ease-in-out infinite alternate;
}
.box:nth-child(2) {
  animation: flip-1 var(--duration) ease-in-out infinite alternate;
}
.box:nth-child(2):after {
  animation: squidge-1 var(--duration) ease-in-out infinite alternate;
}
.box:nth-child(3) {
  animation: flip-2 var(--duration) ease-in-out infinite alternate;
}
.box:nth-child(3):after {
  animation: squidge-2 var(--duration) ease-in-out infinite alternate;
}
.box:nth-child(4) {
  animation: flip-3 var(--duration) ease-in-out infinite alternate;
}
.box:nth-child(4):after {
  animation: squidge-3 var(--duration) ease-in-out infinite alternate;
}
.box:nth-child(5) {
  animation: flip-4 var(--duration) ease-in-out infinite alternate;
}
.box:nth-child(5):after {
  animation: squidge-4 var(--duration) ease-in-out infinite alternate;
}
.box:nth-child(2):after {
  background-image: url("./image/icon_2.png");
  background-size: var(--box-size);
}
.box:nth-child(3):after {
  background-image: url("./image/icon_3.png");
  background-size: var(--box-size);
}
.box:nth-child(4):after {
  background-image: url("./image/icon_4.png");
  background-size: var(--box-size);
}
.box:nth-child(5):after {
  background-image: url("./image/icon_5.png");
  background-size: var(--box-size);
}

@keyframes slide {
  0% {
    background-color: #1795ff;
    transform: translatex(0vw);
  }
  100% {
    background-color: #23d3fb;
    transform: translatex(
      calc(var(--container-size) - (var(--box-size) * 1.25))
    );
  }
}

@keyframes color-change {
  0% {
    background-color: #1795ff;
  }
  100% {
    background-color: #23d3fb;
  }
}

@keyframes flip-1 {
  0%,
  15% {
    transform: rotate(0);
  }
  35%,
  100% {
    transform: rotate(-180deg);
  }
}

@keyframes squidge-1 {
  5% {
    transform-origin: center bottom;
    transform: scalex(1) scaley(1);
  }
  15% {
    transform-origin: center bottom;
    transform: scalex(1.3) scaley(0.7);
  }
  25%,
  20% {
    transform-origin: center bottom;
    transform: scalex(0.8) scaley(1.4);
  }
  55%,
  100% {
    transform-origin: center top;
    transform: scalex(1) scaley(1);
  }
  40% {
    transform-origin: center top;
    transform: scalex(1.3) scaley(0.7);
  }
}

@keyframes flip-2 {
  0%,
  30% {
    transform: rotate(0);
  }
  50%,
  100% {
    transform: rotate(-180deg);
  }
}

@keyframes squidge-2 {
  20% {
    transform-origin: center bottom;
    transform: scalex(1) scaley(1);
  }
  30% {
    transform-origin: center bottom;
    transform: scalex(1.3) scaley(0.7);
  }
  40%,
  35% {
    transform-origin: center bottom;
    transform: scalex(0.8) scaley(1.4);
  }
  70%,
  100% {
    transform-origin: center top;
    transform: scalex(1) scaley(1);
  }
  55% {
    transform-origin: center top;
    transform: scalex(1.3) scaley(0.7);
  }
}

@keyframes flip-3 {
  0%,
  45% {
    transform: rotate(0);
  }
  65%,
  100% {
    transform: rotate(-180deg);
  }
}

@keyframes squidge-3 {
  35% {
    transform-origin: center bottom;
    transform: scalex(1) scaley(1);
  }
  45% {
    transform-origin: center bottom;
    transform: scalex(1.3) scaley(0.7);
  }
  55%,
  50% {
    transform-origin: center bottom;
    transform: scalex(0.8) scaley(1.4);
  }
  85%,
  100% {
    transform-origin: center top;
    transform: scalex(1) scaley(1);
  }
  70% {
    transform-origin: center top;
    transform: scalex(1.3) scaley(0.7);
  }
}

@keyframes flip-4 {
  0%,
  60% {
    transform: rotate(0);
  }
  80%,
  100% {
    transform: rotate(-180deg);
  }
}

@keyframes squidge-4 {
  50% {
    transform-origin: center bottom;
    transform: scalex(1) scaley(1);
  }
  60% {
    transform-origin: center bottom;
    transform: scalex(1.3) scaley(0.7);
  }
  70%,
  65% {
    transform-origin: center bottom;
    transform: scalex(0.8) scaley(1.4);
  }
  100%,
  100% {
    transform-origin: center top;
    transform: scalex(1) scaley(1);
  }
  85% {
    transform-origin: center top;
    transform: scalex(1.3) scaley(0.7);
  }
}


@media only screen and (orientation:portrait){
	.notiRotateMobile{
		display: block;
	}
	
	.hideNotiRotateMobile{
		display: none;
	}
}

@media only screen and (orientation:landscape) {
	.notiRotateMobile{
		display: none;
	}
}

@media (max-width: 1200px) {
  .container {
    margin-top: 70px;
   }
   :root {
	--container-size: 450px;
    --box-size: 59.4px;
   }
	.percentLoading{
		font-size : 18px;		
	}
}

@media (max-width: 1024px) {
  .container {
    margin-top: 55px;
   }
   :root {
    --container-size: 350px;
    --box-size: 46.2px;
   }
   .percentLoading{
		font-size : 16px;		
	}
}

@media (max-width: 768px) {
  .container {
    margin-top: 40px;
   }
   :root {
    --container-size: 250px;
    --box-size: 33px;
   }
   .percentLoading{
		font-size : 14px;		
	}
}

@media (max-width: 480px) {
  .container {
    margin-top: 30px;
   }
   :root {
    --container-size: 150px;
    --box-size: 19.8px;
   }
   .percentLoading{
		font-size : 12px;		
	}
}




