body {
	margin: 0;
	font-family: 'Amatic SC', sans-serif;
	font-weight: bold;
	background-color: #000;
}
canvas {
	z-index: 2;
	user-select: none;
}
.inventory {
	position: absolute;
	top: 0;
	left: 0;
	padding: 5px 10px;
	user-select: none;
	counter-reset: inventory;
}

.inventory .item.active {border: 2px solid rgba(255, 255, 255, 0.5);}

.inventory .item {
	width: 48px;
	height: 48px;
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	display: inline-block;
	margin: 3px;
	background-color: rgba(0, 0, 0, 0.4);
	vertical-align: top;
	color: #fff;
	text-align: center;
	padding-top: 10px;
	box-sizing: border-box;
	cursor: pointer;
	position: relative;
	font-size: 17px;
}

.inventory .item:before {
	content: attr(data-cost);
	position: absolute;
	bottom: 0px;
	right: 4px;
	font-size: 14px;
}

.inventory .item:after {
	counter-increment: inventory;
	content: counter(inventory);
	position: absolute;
	top: 0px;
	left: 4px;
	font-size: 11px;
}

.inventory .item.selected {
	border-color: #fff;
}

.inventory .item:hover {
	background-color: rgba(255, 255, 255, 0.4);
}

.energy-gauge {
	width: 17px;
	height: 370px;
	position: absolute;
	top: 203px;
	left: 13px;
	background-color: rgba(0, 0, 0, 0.4);
	border: 2px solid #fff;
	border-radius: 5px;
	overflow: hidden;
}

.energy-gauge .fill {
	width: 100%;
	height: 100%;	/* border-radius: 10px 10px 0 0; */
	bottom: 0;
	position: absolute;
	transition: height 0.2s;
}

#game-over-overlay {
	z-index: -1;
	opacity: 0;
	transition: opacity 1s ease-in;
	position: absolute;
	top: 0;
	left: 0;
	height: 600px;
	width: 1000px;
	background: rgba(0, 0, 0, 0.8);
}

.gameOverMessage {
	color: darkred;
	font-size: 5rem;
	text-align: center;
	position: relative;
	cursor: default;
	top: calc(50% - 5rem);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.gameOverMessage:after {
	content: 'Thanks for playing!!';
	display: block;
    font-size: 0.5em;
}

.wave-data {
	position: absolute;
	top: 10px;
	left: 770px;
	color: white;
	font-size: 25px;
	text-align: center;
}

.wave-data .wave-count {margin-bottom: -9px;}

.wave-data .wave-count:before {
	content: 'Current Wave: ';
}

.wave-data .wave-progress {
	width: 200px;
	height: 13px;
	border: 1px solid #fff;
	display: inline-block;
}

.wave-data .wave-progress .fill {
	width: 0%;
	height: 100%;
	background-color: green;
	transition: width 0.1s;
}

.wave-data .wave-delay:before {
	content: 'Next wave in ';
}
.wave-data .wave-delay {font-size: 17px;}
.wave-data .wave-delay:after {
	content: ' seconds.';
}

.paused-screen, .menu-screen {
	position: absolute;
	top: 0;
	left: 0;
	width: 1000px;
	height: 600px;
	background-color: rgba(0, 0, 0, 0.7);
	color: #a50000;
	text-shadow: black 2px 2px;
}

.paused-screen {
	background-image: url(../images/pause.png);
}

.paused-screen:before {
	/*content: 'Paused';*/
	position: absolute;
	transform: translate(-50%, -50%);
	left: 50%;
	top: 50%;
	font-size: 66px;
}

.menu-screen {
	background-image: url(../images/main-menu.png);
	color: #57f035;
	background-color: #000;
}
/*.menu-screen:before {
	content: 'Press Space To Start';
	animation: pulse 2s infinite;
	font-size: 30px;
	width: 100vw;
	top: 60%;
}
.menu-screen:after {
	content: 'Assault and Battery';
	position: relative;
	top: 50px;
}*/

#start-button {
	position: absolute;
	right: 30px;
	top: 330px;
	font-size: 40px;
	animation: pulse 1s infinite;
	cursor: pointer;
	padding: 20px 0 20px 20px;
	user-select: none;
}

#start-button:hover {
	/* font-size: 44px; */
	/* top: 357px; */
	transform: scale(1.1);
}

@keyframes pulse {
	0% {
		color: #fff;
	}
	50% {
		color: #ff0000;
	}

	100% {
		color: #fff;
	}
}

.hidden {
	display: none;
}

.container {
	margin: auto;
	width: 1000px;
	position: relative;
}

.inventory:after {
	content: 'Press (P) to see instructions';
	color: #fff;
	position: absolute;
	top: 560px;
	left: 60px;
	width: 130px;
}
