html {
	font-size: 17px;
  }
  
  body {
	padding: 0;
	margin: 0;
	font-family: 'Press Start 2P', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	background-image: radial-gradient(
	  circle at bottom left,
	  rgba(255, 0, 68, 0.7),
		rgba(255, 0, 238, 0.7)
	  /* rgba(255, 255, 0, 0.7),
	  rgba(255, 120, 0, 0.7) */
	), url('../assets/images/funky-lines.png');
	animation: 120s ease-out infinite pizzaz;
	--menu-text-color: white;
	--menu-inverse-text-color: black;
	--menu-padding: 50px;
	min-height: 100vh;
  }
  
  h1, h2 {
	color: steelblue;
  }
  
  @keyframes pizzaz {
	0% {background-position-x: 0%; background-position-y: 0%;}
	25% {background-position-x: 200%; background-position-y: 200%;}
	50% {background-position-x: 400%; background-position-y: -200%;}
	75% {background-position-x: 0%; background-position-y: 100%;}
	100% {background-position-x: 0%; background-position-y: 0%;}
  }
  
  #volume-toggle {
	z-index: 10000;
	color: var(--menu-text-color);
	opacity: 0.8;
	position: fixed;
	top: 0;
	right: 0;
	padding: 0.75em;
  }
  
  #volume-toggle > .volume-on, #volume-toggle.on:hover > .volume-on {
	display: none;
  }
  
  #volume-toggle.on > .volume-on, #volume-toggle:hover > .volume-on { 
	display: inline-block;
  }
  
  #volume-toggle > .volume-off {
	margin: 0 0.625em 0 0;
  }
  
  #volume-toggle > .volume-off, #volume-toggle.on:hover > .volume-off {
	display: inline-block;
  }
  
  #volume-toggle.on > .volume-off, #volume-toggle:hover > .volume-off {
	display: none;
  }
  
  a {
	color: #0af;
  }
  
  button {
	font-family: inherit;
	background-color: transparent;
	padding: 1em;
	min-width: 50px;
	font-size: 0.75rem;
	line-height: 1;
	color: var(--menu-text-color);
	border: 2px solid var(--menu-text-color);
	outline: none;
	margin: 1em;
	box-sizing: border-box;
  }
  
  input[type="text"], input[type="password"] {
	margin: 1em;
	font-size: 0.75rem;
	padding: 0.5em;
	border-radius: 3px;
	background-color: transparent;
	color: var(--menu-text-color);
	border: 2px solid var(--menu-text-color);
  }
  
  button.selected, button:hover, button:active {
	color: var(--menu-inverse-text-color);
	background-color: var(--menu-text-color);
	outline: none;
	}
	
	.score-entry {
		margin: 1em;
	}
  
  #game-menu, noscript, #credits-menu, #options-menu, #highscore-menu, #login-menu, #signup-menu, #splash-screen, #highscores-view, #game-over-view, #pause-view, .prompt-screen {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	padding: var(--menu-padding);
	box-sizing: border-box;
	flex-direction: column;
	color: var(--menu-text-color);
	}
  
  #lobby-chat-box {
	max-width: calc(var(--remaining-width)*2/3);
  }
  
  #lobby-players {
	max-width: calc(var(--remaining-width)/3);
  }
  
  #lobby-chat-input {
	display: flex;
	flex-direction: row;
	flex: 0 0 auto;
  }
  
  #chat-messages-box, #lobby-players-box {
	overflow: auto;
  }
  
  #chat-text, #chat-messages-box {
	flex: 1 1 auto;
  }
  
  #game-lobby > #lobby-players {
	grid-area: right;
  }
  
  .hidden {
	display: none !important;
  }
	
	#game-view {
		color: black;
		height: 100vh;
		display: flex;
		justify-content: center;
		align-items: center;
		background-color: #333;
	}
	
	#game-canvas {
		width: 100vmin;
		height: 100vmin;
		background-color: cornflowerblue;
	}

	#game-overlay {
		position: fixed;
		height: 100vh;
		width: 100vw;
		top: 0;
		left: 0;
		pointer-events: none;
	}


	
	#game-overlay > * {
		pointer-events: all;
	}

	#game-over-view, #pause-view {
		background-color: rgba(0,0,0,0.7);
	}
	
	.prompt-screen {
		box-sizing: border-box;
		position: fixed;
		left: 0;
		top: 0;
		width: 100vw;
		height: 100vh;
		padding: 3em;
		color: white;
		background-color: rgba(0,0,0,0.7);
	}