
canvas 
{
	border: 1px solid;		
}

body
{
	margin: 0px;
}

.speed-meter-container{
	display: none;
	position: absolute;
	width: 25px;
	height: 92%;
	top:5%;
	bottom: 4%;
	border-color: black;
	justify-content: center;
	align-items: center;
}

.speed-meter
{
	background-color: purple;
	height: 50%;
	position: relative;
	

}

.speed-meter-text
{
	display: inline-block;
	top : -34px;
	left: -6px;
	border: 1px solid;
	color : white;
	font-size: x-large;
	border-radius: 23px;
	position: absolute;
	padding: 3px 3px 3px 3px;
	background-color: black;
}


.startMenu{
	position: relative;
	top : -100px;
	width: 70%;
	height:40%;
	max-width: 350px;
	max-height: 800px;
	background-color: #c5e8f5;
	text-align: center;
	border-radius: 10px;
	margin: min(150px , 30%) auto;
	padding: 1px 5px 5px 5px;
	
}
.game-title{
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;

	width: 70%;
	vertical-align: middle;
	background-color: #92D34F;
	font-family: sans-serif;
	color: #eef8b6;
	border-radius: 15px;
	border: 5px solid #2F8986;
	padding-top: 3px;
	padding-bottom: 10px;

}

.error-text{

	margin: 10px auto;
	width: 80%;
	border: 3px black solid;
}
.game-title h2{
	text-align: center;
}



.left-button{
	width: 50px;
	height: 50px;
}



.gameplayScreen{
	display: none;
}



.car-image-container {
	display: block;
	height: 75%;
	width: 60%;
	max-width: 150px;
	max-height: 150px;
	margin-right:auto;
	margin-left: auto;
	margin-bottom: 17%;


}

.player-car-image
{
	width: 70%;
	height: 50%;
	
}

.action-button{
	margin-top: 15px;
	width: 100px;
	height: 70px;
	margin-right: 10px;
	margin-left: 10px;
}

#overlayUiContainer
{
	text-align: center;
	position: absolute;
	width: 100%;
	height: 5%;
	left: 0;
	right: 0;

}

#scoreElement
{
	vertical-align: middle;
	text-align: center;
	display: inline-block;
	background-color: rgba(220, 220, 220,0.5);
	border-radius: 25px;
	width: 50%;
	height: 100%;
	font-size: 5vh;
	margin-top: 5px;
	font-family: sans-serif;

}

#speedElement
{
	vertical-align: middle;
	text-align: center;
	display: inline-block;
	background-color: rgba(220, 220, 220,0.5);
	border-radius: 25px;
	width: 50%;
	height: 100%;
	font-size: 5vh;		
}

#gameOverScreen
{
	position: absolute;
	top:50%;
	right: 	50%;
	transform: 	translate(50%,-50%);
	max-width: 350px;
	display: none;
	background-color: #c5e8f5;
	border-radius: 10px;
	text-align: center	;
	vertical-align: middle;
}

.gameover-title{
	width: 75%;
	max-width: 400px;
	height: 50px;
	margin:  5px auto;
	color: #eef8b6;
	background-color: #92D34F;
	border: 5px solid #2F8986;
	border-radius: 20px;
	padding: 15px;

}

.restart-button{
	width: 80px;
	height: 80px;
}

.home-button{
	width: 80px;
	height: 80px;
}

@media (min-width : 1400px)
{
	#gameOverScreen{
		
		width: 450px;
		font-size: 32px;
		
	}
}
@media (max-width : 1400px)
{
	#gameOverScreen{
		
		width: 400px;
		font-size: 30px;	
	}
}

@media (max-width : 1000px)
{
	#gameOverScreen{
		width: 400px;
		font-size: 28px;	
	}
}

@media (max-width : 700px)
{
	#gameOverScreen{
		width: 350px;
		font-size: 25px;	
	}
}

@media (max-width : 400px)
{
	#gameOverScreen{
		width: 300px;
		font-size: 22px;	

	}
}


