/** RESET CSS **/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
  line-height: 1;
  overflow: hidden;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/** GAME STYLES **/
.hide {
  display: none;
}

#controls {
  width: 100vw;
  position: absolute;
  margin: auto;
  bottom: 20px;
}

#controls .fa{
  font-size:36px;
  color:#ffcb00;
  width: 24%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: auto;
  background-color: #555;
}

.car, .enemy {
  width: 50px;
  height: 100px;
  background: transparent url('./images/player.png') center / cover no-repeat;
  position: absolute;
  left: 125px;
  bottom: 30px;
}

#gameArea {
  width: 300px;
  height: 100vh;
  position: relative;
  margin: auto;
  background: #222;
  overflow: hidden;
}

.roadLine {
  position: absolute;
  width: 10px;
  height: 50px;
  background: white;
  left: 145px;
}

#start {
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: 999;
  border: 2px solid #222;
  font-size: 20px;
  color: #cc2b07;
  background: #fff;
  padding: 20px;
  cursor: pointer;
}

#topMenu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: black;
  padding: 1rem 0;
  z-index: 200;
  font-size: 1.5rem;
  color: rgb(174, 174, 194);
  text-align: center;
}