* {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#spinner {
	display: flex;
	justify-content: center;
}

#game-main {
	display: none;
	width: 600px;
	height: 670px;
	position: relative;
	background-image: url("../img/grass-stone-pattern.jpg");
	background-repeat: repeat;
	margin: auto;
}

#control-panel {
	background-color: rgba(89, 154, 82, 0.51);
	height: 100px;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	border-bottom: 1px solid #197d10;
}

.control-panel-item {
	font-family: Roboto, sans-serif;
	display: inline-block;
	font-size: 24px;
}
.control-panel-item .control-panel-item-inner {
	display: inline-block;
}

#game-logo {
	font-family: cursive;
	font-size: 48px;
	color: #a0c432;
}

#dev-signature {
	background: transparent;
	position: absolute;
	bottom: 0;
	font-family: cursive;
	color: #a0c432;
	padding: 0 8px;
}

#board-wrapper {
	background-color: #479c2b;
	position: relative;
	width: 100%;
	margin-top: 24px;
}

#game-board {
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
}

#game-board-paused-layer:not(.active) {
	display: none;
}

#game-board-paused-layer {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	top: 50%;
	vertical-align: middle;
	align-items: center;
}

#game-board-paused-layer img {
	cursor: pointer;
	border-radius: 100%;
	height: 200px;
	top: 70px;
	padding: 0;
	position: absolute;
	margin: auto;
	transform: translate(50%, 50%);
	right: 50%;
	opacity: 0.7;
}

.board-row {
	display: flex;
	justify-content: center;
}

.board-square {
	display: inline-block;
	width: 35px;
	height: 35px;
	background-color: #22222261;
}

#game-board-with-entities {
	position: absolute;
	z-index: 2;
	width: 100%;
	height: 100%;
}

.board-entity-square {
	display: inline-block;
	width: 35px;
	height: 35px;
	border-radius: 100%;
}

.snake, .snake-head {
	position: relative;
}
.snake {
	/*background-color: #95b532;*/
	background: linear-gradient(41deg, rgb(119, 146, 39) 12%, rgb(160, 196, 50) 100%);
}
.snake-head {
	background-image: url("../img/snake-head-icon.svg");
	background-size: contain;
	background-position: center;
	z-index: 10;
}

.apple {
	position: relative;
	background-image: url("../img/apple-icon.svg");
	background-size: contain;
	background-position: center;
}

#game-over {
	display: none;
	background-color: seagreen;
	padding: 32px;
	border-radius: 16px;
	align-items: center;
	z-index: 101;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}

#game-over h1 {
	color: white;
	font-family: cursive;
	font-size: 50px;
}

#game-over button {
	background-color: transparent;
	border: 0 transparent;
	color: white;
	font-size: 18px;
	cursor: pointer;
}

#game-backdrop-layer {
	display: none;
	z-index: 100;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #222;
	opacity: 0.7;
	top: 0;
}
