@charset "UTF-8";
/* CSS Document */

@font-face {
	font-family: "Bungee";
	src: url("../fonts/Bungee-Regular.ttf") format("truetype");
}

body {
	margin: 0;
	padding: 0;
	background-color: #000;
	font-family: 'Bungee', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.help-animation {
	background-repeat: no-repeat;
	background-position: center center;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

@media (orientation: portrait) {
	body {
		background-size: 70% auto;
	}
}

@media (orientation: landscape) {
	body {
		background-size: auto 70%;
	}
}

#screen {
	width: 100%;
	height: 100%;
	margin: auto;
	display: flex;
	position: absolute;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	overflow: hidden;
}

#gyro_value,
#gyro_deg {
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	color: rgba(255, 255, 255, 0);
	font-size: 3em;
	/* text-shadow: 0px 0px 4px black; */
}

#go {
	position: absolute;
	bottom: 15%;
	right: 0;
	width: 100%;
	opacity: 1;
	text-align: center;
	color: #fff;
	font-size: .8em;
	letter-spacing: .1em;
}

#go>img {
	width: 80px;
}

.go_off {
	display: none;
}

.go_animation {
	animation: go-logo-animation 1s ease-in-out infinite alternate;
}

@keyframes go-logo-animation {
	from {
		transform: rotateZ(-45deg);
	}

	to {
		transform: rotateZ(0deg);
	}
}

#back {
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	margin: 2%;
	opacity: 0.5;
	text-align: center;
	color: #fff;
	font-size: .8em;
	transition: all .5s;
	z-index: 100;
}

.back_hidden {
	opacity: 0 !important;
}

#media_content {
	position: absolute;
	display: flex;
	width: 100vw;
	height: 100vh;
	justify-content: center;
	overflow: hidden;
	background-size: cover;
	background-image: url();
	background-position: center center;
	transition: .1s all linear;
	image-rendering: pixelated;
}

#media {
	height: 100vh;
}

#cache {
	display: none;
}

#audio {
	display: none;
}

#loading {
	position: fixed;
	width: 100vw;
	height: 100vh;
}

#loading_bar {
	width: 100%;
	height: 55vh;
	background-color: #fff;
	color: #000;
	text-align: left;
	padding-top: 45vh;
	font-size: 3em;
	padding-left: 2vw;
	position: fixed;
	right: 0;
	transition: all .1s ease-in-out;
}

.loading_off {
	display: none;
}

#debug {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	color: red;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	text-transform: uppercase;
	font-size: .9em;
}



/* ANIMATION LIST */

#animation_list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.animation-container {
	width: 200px;
	height: 200px;
	margin: 10px;
}

.animation-vinyl {
	width: 200px;
	height: 200px;
	animation: vinyl-animation 2s cubic-bezier(.5, 0, 0, 1) infinite alternate;
	z-index: 10;
	background-image: url(../vinyl.svg);
	background-size: 100%;
}

@keyframes vinyl-animation {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(50px) rotate(180deg);
	}
}

.animation-access {
	width: 200px;
	height: 200px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
	margin-top: -200px;
	z-index: 20;
	transform: translateX(0);
	/* animation: animation-access-animation 2s ease-in-out infinite alternate; */
}

@keyframes animation-access-animation {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-20px);
	}
}

#title {
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .1em;
	padding: .5em;
}


/* INDEX */

iframe {
	height: 100%;
	width: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	border: none;
}




/* INTRO */

#logo {
	width: 20%;
	max-width: 150px;
	margin: 10px auto;
}

#logo>img {
	animation: logo-animation 2s linear infinite;
}

@keyframes logo-animation {
	from {
		transform: rotateZ(0);
	}

	to {
		transform: rotateZ(360deg);
	}

}

#content {
	color: #fff;
	font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	margin: 10px 20px;
	font-size: 1.1em;
	text-align: justify;
}

#edbangers-logo {
	margin: auto;
	width: 60vw;
	margin-top: 20px;
	margin-bottom: 20px;
}

#edbangers-logo>img {
	width: 100%;
}

.power-saving {
	font-size: .8em;
	text-align: center;
	color: rgb(255, 255, 255, .5);
	font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	margin: 0px 10px 10px 10px;
	font-style: italic;
}

@media (orientation: landscape) {
	#go {
		bottom: 5px;
	}

	#go>img {
		width: 60px;
	}
}