body {
  height: 100%;
  width: 100%;
  margin: 0;
  background-image:url(racingbg\ \(2\).png);
  background-size: cover;
  font-family: sans-serif;
}

#container{
  position: relative;
  height: 80vh;
  width: 30%;
  margin: auto;
  margin-top: 20px;;
  background-color: #486262;
  overflow: hidden;
}
.line{
  position: absolute;
  height: 150px;
  width: 4%;
  margin-left: 48%;
  background-color: rgba(255,255,255,0.5);
}
#line_1{
  top: -150px;
}
#line_2{
  top: 150px;
}
#line_3{
  top: 450px;
}
.car{
  position: absolute;
  height: 60px;
  width: 40px;
  border-radius: 5px;
  box-shadow: 0px 1px 8px 0px black;
}
#car{
  bottom: 8%;
  left: 60%;
  background-color: #ffdf5a;
}
.f_glass{
  position: absolute;
  height: 20%;
  width: 60%;
  margin-left: 20%;
  top: 15%;
  border-radius: 0px 0px 5px 5px;
  background-color: #484848;
}
.b_glass{
  position: absolute;
  height: 20%;
  width: 60%;
  margin-left: 20%;
  bottom: 15%;
  border-radius: 5px 5px 0px 0px;
  background-color: #484848;
}
.f_light_l{
  position: absolute;
  height: 10%;
  width: 20%;
  margin-left: 10%;
  top: -6%;
  border-radius: 5px 5px 0px 0px;
  background-color: #efefef;
}
.f_light_r{
  position: absolute;
  height: 10%;
  width: 20%;
  margin-left: 70%;
  top: -6%;
  border-radius: 5px 5px 0px 0px;
  background-color: #efefef;
}
.f_tyre_l{
  position: absolute;
  height: 20%;
  width: 10%;
  background-color: grey;
  top: 20%;
  left: -10%;
  border-radius: 5px 0px 0px 5px;
}
.f_tyre_r{
  position: absolute;
  height: 20%;
  width: 10%;
  background-color: grey;
  top: 20%;
  left: 100%;
  border-radius: 0px 5px 5px 0px;
}
.b_tyre_l{
  position: absolute;
  height: 20%;
  width: 10%;
  background-color: grey;
  top: 70%;
  left: -10%;
  border-radius: 5px 0px 0px 5px;
}
.b_tyre_r{
  position: absolute;
  height: 20%;
  width: 10%;
  background-color: grey;
  top: 70%;
  left: 100%;
  border-radius: 0px 5px 5px 0px;
}
#car_1{
  top: -100px;
  left: 60%;
  background-color: #26c5ff;
}
#car_2{
  top: -200px;
  left: 40%;
  background-color: #26c5ff;
}
#car_3{
  top: -350px;
  left: 50%;
  background-color: #26c5ff;
}
#restart_div {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(41, 41, 41, 0.6);
  color: white;
  font-family: sans-serif;
  font-size: 40px;
  text-align: center;
  display: none;
}

#restart {
  border: none;
  padding: 25px;
  color: white;
  background-color: #7760b9;
  font-size: 30px;
  margin-top: 30%;
}
.small_text{
  font-size: 15px;
}
#score_div{
  position: absolute;
  margin-top: 0%;
  margin-left: 68%;
  font-size: 35px;
  background-color: white;
  color: #454545;
  padding: 10px;
  box-shadow: 4px 4px 0px 1px #808080;
}
#help{
text-align: center;
display: inline-block;
background-color: rgb(222, 219, 219);
margin-left: 25%;
margin-top: 6px;
}
#donate{
  position: absolute;
  right: 10px;
  top: 25px;
  background: rgba(255,255,255,0.8);
  padding: 12px;
}
@media screen and (max-width:768px) {
  #container{

    height:75vh;
    margin-top: 10%;
    width: 40%;
  }
  #score_div{
    margin-top: 5px;
    margin-left: 40%;
    margin-bottom: 1px;
  }
  body{
    background-image: url(racingbg\ \(2\).png);
    background-size: cover;
  }
  #help{
    margin-left: 30%;
  }
}
@media screen and (max-width:540px) {
  #container{
    height:75vh;
    margin-top: 22%;
  }
}
@media screen and (min-width:768px) and (max-width:1000px) {
  #container{
    height:70vh;
    margin-top: 15%;
  }
}
  
    .hi {
      display: inline-block;
      padding: 10px 20px;
      font-size: 14px;
      border: #efefef 3px solid;
      color: white;
      text-decoration: none;
      border-radius: 10px;
      box-shadow: 0 0 10px #fafafa;
      transition: all 0.3s;
      margin-right: 0px;
    }

    .hi:hover {
      background: linear-gradient(135deg, #ff1a75, #ff4d4d);
      box-shadow: 0 0 15px #ff1a75;
    }

    .hi {
      margin-top: 10px;
      font-size: 18px;
    }
