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

#sequence {
	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;	
	transition: opacity 1s 0.5s;
	opacity: 0;
}

#sequence.ready {
	opacity: 1;
}

.frame {
	position: absolute;
	top: 50%;
	left: 50%;
  	transform: translate(-50%, -50%);
	display: block;
	opacity: 0;
	pointer-events: none;
}

.frame.active {
	opacity: 1;
}

#master-image {
	pointer-events: auto;
}

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

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

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

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

#swipe.active {
	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: #000000;
	transition: width 0.5s;
}


