* {
	box-sizing: border-box;
	margin: 0;
}

canvas {	
	touch-action: none;
}

#canvasWebGL {
	z-index: 0;
}
#canvas2d {
	z-index: 1;
}

body {
	margin:0;
	background: black;
}

#rootDiv {
    width: 100vw;
    height: 100vh;
    background-color: #040404;
    display: flex;
    justify-content: center;
    align-items: center;
}

#wrapperDiv {
	position: relative;
	height:100vmin;
    width:100vmin;
    box-sizing: border-box;
}

#wrapperDiv > * {
	left:0;
	top:0;
	width:100%;
	height:100%;
	position:absolute;
}

#debugBox {
	position: absolute;
	left: 40px;
	top: 20px;
	color: white;
	z-index: 1;
	background: rgba(0,0,0,80%);
	padding: 10px;
	line-height: 200%;
}

/* ending-message START */
#ending-message {
	padding: 5vmin;
	z-index: 1;
	background: #333;
	display: flex;
	flex-direction: column;
	line-height: 1.5;
	font-family: 'Quicksand', sans-serif;
	transition: opacity 500ms;
}
#ending-message:not(.active) {
	opacity: 0;
	pointer-events: none;
}
#ending-message > img {
	height: 40vmin;
}
#ending-message > h1 {
	color: #7DD4AF;
	font-weight: bold;
	font-size: 10vmin;
	margin-top: 5vmin;
	text-align: center;
}
#ending-message p {
	color: white;
	margin-top: auto;
	font-size: 3vmin;
}
#ending-message a {
	color: #00aeef;
	text-decoration: none;
	transition: border 200ms;
	border-bottom: 1px solid transparent;
}
#ending-message a:hover {
	border-bottom: 1px solid currentColor;
}
/* ending-message END */