body, html {
	max-width: 100%;
	min-height: 100vh;
	min-height: -webkit-fill-available;
	background-color: #020b2f;
	color: white;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	user-select: none;
	touch-action: none;
	padding: 0;
	margin: 0;
}

canvas {
	width: 100%;
	height: 100vh;
	position: absolute;
	display: block;
	overflow: hidden;
}

.ui {
	font-size: 30px;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 90%;
	margin: 10px auto;
	padding: 2px;
}

#score {
	display: none;
	position: absolute;
	z-index: 1;
}

button:disabled {
	pointer-events: none;
	opacity: 0.1;
}

button#play-button:enabled {
	animation: play-button-animation 0.4s ease-in alternate infinite;
}

@keyframes play-button-animation {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.02);
	}
}

button {
	background-color: #005e00;
	color: #ffffff;
	padding: 6px 12px;
	margin: 22px auto;
	border-radius: 8px;
	border: none;
	display: block;
	cursor: pointer;
	font-size: 48px;
	box-shadow: 0px 10px #013501;
	font-weight: bold;
}

button:hover {
	background-color: #01f100;
}

button:active {
	background-color: #9af100;
}

@media (max-width: 700px) {
	.ui {
		font-size: 18px;
	}

	button {
		font-size: 30px;
	}
}

#loading {
	text-align: center;
	font-size: 8px;
}

h2 {
	text-align: center;
	padding: 18px;
	font-family: Helvetica, Verdana, sans-serif;
}

#score-text {
	padding: 10px;
	box-shadow: 4px 4px #40453e;
	text-align: center;
	border: 4px #ffffff solid;
	border-radius: 6px;
	font-weight: bold;
	max-width: 34vw;
	margin: auto;
}

.artistic {
	background: linear-gradient(to right top, #2a096c, #110560, #1d1060);
	position: relative;
	height: 100vh;
	width: 100%;
	overflow: hidden;
	animation: Gradient 20s ease infinite;
	background-size: 400% 400%;
}

@keyframes Gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.square {
	position: absolute;
	top: 80vh;
	left: 45vw;
	width: 3px;
	height: 3px;
	border: solid 1px #c8ffcf;
	background-color: #5f5344;
	transform-origin: center;
	transform: scale(0) rotate(12deg) translate(-50%, 50%);
	animation: square 13s linear forwards infinite;
}

.square:nth-child(2n) {
	border-color: #fff;
}

.square:nth-child(2) {
	animation-delay: 2s;
	left: 25vw;
	top: 40vh;
}

.square:nth-child(2) {
	animation-delay: 1s;
	left: 10vw;
	top: 54vh;
}

.square:nth-child(3) {
	animation-delay: 5s;
	left: 13vw;
	top: 26vh;
}

@keyframes square {
	from {
		transform: scale(0) translateX(0%);
		opacity: 0;
	}
	to {
		transform: scale(10) translateX(100vw);
		opacity: 1;
	}
}

#joystickzone {
	position: fixed;
	bottom: 0%;
	left: 0%;
	width: 50%;
	height: 50%;
}
