body {
    box-sizing: border-box;
    height: 100vh;
    width: 100vw;
    margin: 0;
    font-family: sans-serif;
    overflow-x: hidden;
}

#main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

#game-info {
    text-align: center;
}

#game-container {
    display: grid;
    border: 5px solid black;
    width: 650px;
    height: 750px;
}

#game-board {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    height: 650px;
}

#new-best-label {
    margin-bottom: 25px;
    text-align: center;
}

.game-menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	grid-row: 2;
	grid-column: 2;
	padding: 25px;
	border: 5px solid black;
	border-radius: 15px;
	font-family: sans-serif;
	font-weight: bold;
	font-size: 1.75em;
}

.menu-item {
	width: 50%;
	text-align: center;
	margin-bottom: 20px;
}

.item-value, .item-label {
	font-size: 0.75em;
}

#game-stats {
    display: grid;
    border: 5px solid black;
    width: 650px;
    height: 100px;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(7, 1fr);
}

#gameover-label {
    display: flex;
    justify-content: center;
    grid-column: 1 / span 7;
    font-size: 2.5em;
    font-weight: bold;
    color: red;
}

#active-pup {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 4;
    border-left: 3px solid black;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 3px solid black;
    background-size: contain;
    background-repeat: no-repeat;
}

.stat h3 {
    margin-bottom: 0;
}

.stat p {
    margin: 0;
    font-weight: bold;
    font-size: 2em;
}

.snake-head {
    background-image: url('snake-face.png');
    background-size: contain;

}

.snake-clear {
    background-color: greenyellow;
    opacity: 25%;
}

.snake-body {
    background-color: seagreen;
}

.apple {
    background-image: url('classic-apple.png');
    background-size: contain;
}

.pup {
    background-size: contain;
}