* {
	border-style: border-box;
	margin: 0;
	padding: 0;
	--background-color: #FDFFDA;
}

body {
	background-color: var(--background-color);
}


header {
	width: 100%;
	text-align: center;
	margin: 2rem 0;
	font-family: Helvetica, sans-serif;
}


/* Game styling starts here */
#game {
	border: 1px solid black;
	max-width: 640px;
	max-height: 480px;
	width: 100vw;
	height: 480px;
	margin: auto;
	border-radius: 5px 5px 0 0;
}

#cover-image {
	position: absolute;
	width: 100%;
	height: 100%;
	max-width: 640px;
	max-height: 480px;
	z-index: 5;
}

#overlay {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: 100%;
	height: 480px;
	max-width: 640px;
	max-height: 480px;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 10;
}

#overlay-text {
	font-size: 2rem;
	font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
	color: white;
	width: 100%;
	text-align: center;
	height: 5rem;
}

#start-game {
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
}

.play-icon {
	display: inline-block;
	margin-left: 20px;
	border: 15px solid transparent;
	border-left: 25px solid gray;
}

.game-elements {
	position: relative;
	overflow: hidden;

	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	height: 100%;
	margin: 0 auto;
}

.cats-static {
	position: absolute;
	width: 100%;
	z-index: 2;
}

.environment-static {
	position: absolute;
	width: 100%;
	height: 100%;
}

.river {
	display: flex;
	border-left: 5px solid black;
	border-right: 5px solid black;
	height: 100%;
	width: 30%;
	margin: 0 auto;
}

.river-items {
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 50%;
	height: 100%;
	justify-content: space-around;
}

.item {
	width: 75px;
	height: 75px;
	min-width: 75px;
	min-height: 75px;
	max-width: 75px;
	max-height: 75px;
}

.paw {
	position: absolute;
	top: 68%;
	z-index: 1;
}

#paw-left {
	left: 28%;
	transform: rotate(15deg);
}

#paw-right {
	right: 28%;
	transform: rotate(-15deg) scaleX(-1);
}


/* Heads up display */
#heads-up-display {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
	height: 50px;
	background-color: lightblue;
	border-radius: 0 0 10px 10px;
	border: 1px solid black;
	border-top: none;
	max-width: 640px;
	margin: auto;
}

.hud-text {
	font-size: 1.5rem;
	font-family: Helvetica, sans-serif;
}

#pause-game {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

#pause-icon-inactive {
	display: block;
	width: 5px;
	margin: 10px;
	height: 1rem;
	border: 5px solid gray;
	border-top: 0px solid transparent;
	border-bottom: 0px solid transparent;
}

#pause-icon-active {
	display: none;
	margin-left: 12px;
	border: 10px solid transparent;
	border-left: 15px solid gray;
}