body {
	margin: 0;
	background-color: #000;
	color: #fff;
	font-family: Monospace;
	font-size: 16px;
	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;
	top: 0px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-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 */
}

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;
}


.fs-loader {
  display: block;

  /* position: absolute;
  top: 50%;
  left: 50%; */

  width: 64px;
  height: 64px;

  background-color: #ffffff;
  border-radius: 32px;

  /* animation: loader 2s infinite; */

  z-index: 100;
}

@keyframes loader {
  from {
    transform: translateY(32px);
  }

  to {
    transform: translateY(0);
  }
}


button {
	border: none;
	box-shadow: none;
	background-color: transparent;
	padding: .5rem 2rem;
	color: white;

	font-weight: 800;
	font-size: 1rem;
	line-height: 1.5rem;

	font-family: monospace;
}

button.primary {
	background-color: #ff0;
	
	color: black;
}

button.secondary {
	background-color: #000;
	
	color: white;
}

.hidden {
	display: none;
}


header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	position: absolute;
	top: 0;
	left: 0;
	width: 100%;

}


nav {
	display: none;
}

@media screen and (min-width: 768px) {
	nav ul {
		display: flex;
		flex-direction: row;
		align-items: space-between;

		list-style-type: none;
	}

	nav ul li a {
		padding: 1rem 2rem;
	}
}

.page-logo {
	display: block;

	width: auto;
	height: 5rem;
	padding: 1rem;
	
	max-width: 100vw;

	object-fit: contain;
}