@font-face {
	font-family: 'Electromagnetic Lungs';
	src: url('./fonts/Electromagnetic Lungs.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

/* Loading Screen */
#loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: opacity 0.5s ease-out;
}

#loading-screen.fade-out {
	opacity: 0;
	pointer-events: none;
}

#loading-content {
	text-align: center;
}

#loading-title {
	font-family: "Electromagnetic Lungs", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 6rem;
	margin: 0 0 40px 0;
	color: #ffffff;
	text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
	letter-spacing: 4px;
}

#loading-bar-container {
	width: 400px;
	height: 8px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	overflow: hidden;
	margin: 0 auto 20px auto;
}

#loading-bar {
	width: 0%;
	height: 100%;
	background: linear-gradient(90deg, #ffffff 0%, #cccccc 100%);
	border-radius: 4px;
	transition: width 0.3s ease-out;
}

#loading-text {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
	letter-spacing: 1px;
}

body {
	margin: 0;
	background-color: #000;
	color: #fff;
	font-family: Monospace;
	font-size: 13px;
	line-height: 24px;
	overscroll-behavior: none;
}

a {
	color: #ff0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button {
	cursor: pointer;
	text-transform: uppercase;
}

#info {
	position: absolute !important;
	top: 40px !important;
	left: 40px !important;
	width: auto !important;
	padding: 0 !important;
	box-sizing: border-box;
	text-align: left !important;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1; /* TODO Solve this in HTML */
}

#info h1 {
	font-family: "Electromagnetic Lungs", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	font-weight: bold !important;
	font-size: 4rem !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #ffffff !important;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
	letter-spacing: 2px !important;
}

a, button, input, select {
	pointer-events: auto;
}

.lil-gui {
	z-index: 2 !important; /* TODO Solve this in HTML */
}

@media all and ( max-width: 640px ) {
	.lil-gui.root { 
		right: auto;
		top: auto;
		max-height: 50%;
		max-width: 80%;
		bottom: 0;
		left: 0;
	}
}

#overlay {
	position: absolute;
	font-size: 16px;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0,0,0,0.7);
}

	#overlay button {
		background: transparent;
		border: 0;
		border: 1px solid rgb(255, 255, 255);
		border-radius: 4px;
		color: #ffffff;
		padding: 12px 18px;
		text-transform: uppercase;
		cursor: pointer;
	}

#notSupported {
	width: 50%;
	margin: auto;
	background-color: #f00;
	margin-top: 20px;
	padding: 10px;
}
