@import url('https://fonts.googleapis.com/css2?family=Marko+One&family=Russo+One');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;600;700&display=swap');
html {
	font-smooth: always;
	-webkit-font-smoothing: antialiased;
	-webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
	-ms-user-select: none;
	user-select: none;
	-webkit-text-size-adjust: none; 
	text-size-adjust: none; 
}
body {
	padding: 0;
	margin: 0;
	font-family: 'Russo One', cursive;
	overflow: hidden;
	background: rgb(2,0,36);
	color: #3aa6bd;
	font-smooth: always;
	-webkit-font-smoothing: antialiased;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-callout: none;
  tap-highlight-color: transparent;
  -webkit-text-size-adjust: none; 
  text-size-adjust: none; 
}
body * {
	-webkit-font-smoothing: antialiased;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-callout: none;
  tap-highlight-color: transparent;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;  
}

button {
	position: absolute;
	top: 10px;
	right: 10px;
}

.text {
	position: absolute;
	top: 0;
	left: 0;
	width:  100%;
	height: auto;
	display: none;
	color: #fff;
	padding: 20px;
	box-sizing: border-box;
}

.text.show {
	display: flex;
	align-items: center;
}

#intro {
	flex-direction: column;
}

#status {
	flex-direction: row;
}

#status ul {
	list-style-type: none;
	display: flex;
	flex-direction: row;
	text-align: center;	
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	padding: 0 0 20px 0;
	color: #6dc4d6;
}

#status ul li {
	flex: 1 0;
}

#status ul li .title {
	font-size: 14px;
	margin-top: 5px;
}

#status ul li .value {
	font-size: 20px;
} 

#status ul li .value span#change_since_start {
	font-size: 12px;
}

#intro h1 {
	font-size: 80px;
	text-align: center;
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
}

#intro h1 span:nth-child(odd) {
	color: #6dc4d6;
	display: inline-block;
	transform: scale(1.1);
}

#intro h1 span:nth-child(even) {
	color: #3aa6bd;
	display: inline-block;
	transform: scale(0.9);
}

#intro h2 {
	font-size: 22px;
	margin: 0;
	margin-bottom: 30px;
	color: #6dc4d6;
}

#intro h2 span {
	color: #00ff00;
	display: inline-block;
	animation-name: breath;
	animation-iteration-count: infinite;
	animation-duration: 1s;
	animation-direction: alternate;
	animation-timing-function: ease;
	transform: scale(0.85);
}

@keyframes breath {
  from {
    transform: scale(0.9);
  }

  to {
    transform: scale(1);
  }
}

#intro ul {
	list-style: none;
	display: flex;
	flex-direction: row;
	font-size: 14px;
	text-align: center;	
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	padding: 0 0 20px 0;
	/*border-bottom: 1px dashed #3aa6bd;*/
	color: #6dc4d6;
}

#intro > img {
	width: 70px;
	margin-top: 30px;
}

#intro ul li {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 15px;
	text-transform: uppercase;
	flex: 1 0;
}

#intro ul li.mobile {
	display: none;
}

#intro ul li img {
	width: 50px;
	margin-bottom: 10px;
}

#intro > div {
	margin-top: 20px;
	text-align: center;
	color: #3aa6bd;
}

#intro > div.mobile {
	display: none;
}

#game_board.hide {
	display: none;
}

#game_board {
	opacity: 0.6;
	user-select: none;
}

#game_board.play-mode {
	opacity: 1;
}

#login {
	position: absolute;
	left: 50%;
	margin-left: -100px;
	
}

#logout {
	position: absolute;
	left: 50%;
	margin-left: -100px;
}

#login.hide {
	display: none;
}

#logout.hide {
	display: none;
}

#bitcoin_logo, #ethereum_logo, #cardano_logo, #dogecoin_logo, #moon, #rocket, #rocket_with_fire, #google_login  {
	display: none;
}

#tilt_screen {
	display: none;
}

#tilt_screen img {
	width: 100px;
}

#tilt_screen.show {
	display: flex;
	flex-direction: column;
	flex: 1 0;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 999;
	background: #fff;
}

#buttons {
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 100%;
	height: auto;
	flex-direction: row;
	justify-content: center;
	display: none;
}
#buttons.show {
	display: flex;
}
#buttons > div {
	background: #000e28;
	box-shadow: 0 0 3px #3aa6bd;
	border-radius: 2px;
	margin: 0 5px;
	padding: 10px 25px;
	cursor: pointer;
	width: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media only screen and (max-width: 768px) {
	#intro h1 {
		font-size: 46px;
	}
	#intro h2 {
		font-size: 15px;
		text-align: center;
		margin-bottom: 20px;
	}
	#intro ul {
		font-size: 10px;
		padding-bottom: 10px;
	}
	#intro ul li {
		margin: 0;
	}
	#intro ul li.mobile {
		display: flex;
	}
	#intro ul li.desktop {
		display: none;
	}
	#PAUSE .desktop {
		display: none;
	}
	#intro ul li img {
		width: 40px;
	}
	#intro > img {
		width: 60px;
		margin-top: 20px;
	}
	#intro > div {
		margin-top: 20px;
		text-align: center;
		color: #3aa6bd;
		font-size: 14px;
	}
	#intro > div.mobile {
		display: block;
	}
	#intro > div.desktop {
		display: none;
	}

	#status {
		padding: 0;
		padding-top: 20px;
	}
	#status ul {
		flex-wrap: wrap;
	}
	#status ul li {
		flex-basis: 50%;
		margin-bottom: 15px;
	}
	#status ul li .title {
		font-size: 12px;
		margin: 2px 0 0 0;
	}

	#status ul li .value {
		font-size: 24px;
	} 
}