/*----------Setup-----------*/

* {
	margin: 0px;
	padding: 0px;
}

html {
}

body {
	font-family: monospace;
	font-size: 1.3rem;
	line-height: 1.7rem;
	color: hsla(0, 0%, 90%, 1);
	background-color: hsla(0, 1%, 15%, 1);
}

.title {
	margin: 0 auto;
	max-width: 600px;
	padding: 1rem 0;
}

h2 {
	font-size: 2rem;
	text-transform: uppercase;
	text-align: center;
	line-height: 3rem;
	border: 2px dashed hsla(0, 0%, 90%, 1);
}


/*----------Comments Style-----------*/

.comments {
	color: hsla(0, 0%, 90%, 1);
	border-bottom: 1px solid #4C4C4C;
	max-width: 600px;
	margin: 1rem auto;
}

.comments p{
	margin-bottom: 1em;
}

.comments .nospace {
	margin-bottom: 0;
}

/*----------Game Box-----------*/
.gamebox {
	width: 100%;
	max-width: 600px;
	height: 500px;
	margin: 0 auto;
}

@media (min-width: 600px) {
	body {
		padding: 1em;
	}
}

@media (max-width: 600px) {
	.comments {
		padding: 0 1rem;
	}
}

.points-holder {
	background-color: hsla(0, 1%, 15%, 1);
	padding-left: 10px;
}

.points, .points-label {
	display: inline;
	color: hsla(0, 0%, 90%, 1);
}

.points-label {
	font-weight: lighter;
}

.points-holder > p{
	letter-spacing: .05rem;
}

.road {
	background: linear-gradient(to right, yellowgreen 10%, gray 10%, gray 90%, yellowgreen 20%);
	width: 100%;
	height: 470px;
	position: relative;
}

.positionDash {
	position: absolute;
	width: 100%;
	height: 100%;
}

.dashes {
	height: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}

.road p {
	position: absolute;
	top: 100px;
	width: 70%;
	text-align: center;
	color: #4c4c4c;
	background-color: rgba(255, 255, 255, .7);
	padding: 15px 15%;
	letter-spacing: .05em;
	line-height: 1.5rem;
}

.car {
	position: relative;
	left: 60%;
	top: 70%;
}

img.car {
	height: 110px;
}

.banana, .bam {
	position: absolute;
	width: 30px;
	height: 30px;
}

.spin {
	animation: spin .5s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	50% {
		transform: rotate(180deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.road > p {
	font-size: 1.2rem;
}

.controls {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 1rem 0;
}
.controls > div, .left, .right, .startpause{
	display: inline;
	line-height: 50px;
}

.controls > div > p {
	padding: .5rem;
	vertical-align: middle;
}

.left, .right, .startpause {
	border: 1px solid hsla(0, 0%, 90%, 1);
	min-width: 90px;
	min-height: 50px;
	margin: .5rem;
	text-align: center;
}

.startpause > p {
	line-height: 25px;
}

/*----------Objects-----------*/


