* { 
	margin: 0; 
	padding: 0; 
	user-select: none;
} 

.no-select {
	/* Prevent the blue highlighting when tapped */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.no-select:focus {
    outline: none !important;
}

body {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background-color: #fff;
}

#stage {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;	
}

#view {
	position: absolute;
	top: 50%;
	left: 50%;
  	transform: translate(-50%, -50%);
	display: block;
    width: 100%;
    overflow: hidden;
	opacity: 0;
	transition: opacity 1s;
}

#view.ready {
	opacity: 1;
}

#view.landscape {
	height: 100%;
	width: auto;	
}

#view.portrait {
	width: 100%;
	height: auto;	
}

.wrapper {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.wrapper canvas {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

#original {
	position: absolute;
	left: 0px;
	top: 0px;
}

#overlay {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	z-index: 10;
}

@keyframes pulse {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

#hand-click {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10%;
	height: 10%;
	transform: translate(-50%, -50%);
	animation-name: pulse;
	animation-duration: 2.5s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}



#loading {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50px;
	height: 50px;
	transform:  translate(-50%, -50%);
	display: block;
	opacity: 1;
	transition: opacity 1s;
	pointer-events: none;
}

#loading.done {
	opacity: 0;
}

#progress-bar {
	position: absolute;
	top: 0;
	left: 0;
	width: 0%;
	height: 100vh;
	display: block;
	background-color: #eee;
	transition: width 0.5s;
	transition: opacity 1s;
}

#audio {
	display: block;
	height: 0;
}
