body {    
    font-family: Arial;
    background-color: rgb(0, 229, 255);
}

p {
  font-size: 1em;
}

#spark {
  height: 100px;
  _border: solid 1px black;
  position: absolute;
  bottom: 100px;
  left: 100px;
}

.stam {
  height: 40px;
  _border: solid 1px black;
  position: absolute;
  bottom: 100px;
  right: 10px;
}

.hp {
  position: absolute;
}

#gras {
  background-color: rgb(33, 169, 33);
  width: 100%;
  height: 4px;
  position: absolute;
  bottom: 99px;
  left: 0px;
}

#gameover {
  position: absolute;
  top: 30%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  color: red;
  font-weight: bold;
  font-size: 2em;
  visibility: hidden;
  z-index: 3;
}

#count {
  position: absolute;
  top:0px;
  right:10px;
}

#pausetxt {
  position: absolute;
  top: 5px;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  color: purple;
  font-weight: bold;
  visibility: hidden;  
  z-index: 1;
}


#menuknop {
  position: absolute;
  top: 10px;
  right: 55px;
  width: 50px;
  z-index: 3;
}

_#menuinhoud {
  position: absolute;
  top: 30%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  background-color: black;
  visibility: hidden;
}

#menuinhoud {
  position: absolute;
  bottom: 300px;
  left: 100px;
  background-color: black;
  visibility: hidden;
  z-index: 3;
}

#menuinhoud p {
  font-size: 1em;
  cursor: pointer;
  background-color: #9651E3;
  margin: 10px 15px;
  padding: 0px 20px;
  text-align: center;
  color: coral;
  z-index: 3;
}

#rick {
  position: absolute;
  top: 30%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
  width: 150px;
  z-index: 3;
}

#shopinhoud {
  background-color: honeydew;
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 60px;
  right: 60px;
  z-index: 3;
  visibility: hidden;
}

#shoptitel {
  font-size: 20px;
  font-weight: bold;
  color: darkblue;
  margin: 5px 0px;
  width: 100%;
  text-align: center;
}

#shopinhoud #close {
  position: absolute;
  right: 5px;
  top: 5px;
  font-size: 18px;
  color: maroon;
}

#shopinhoud .shopline {
  float: left;
}

#shopinhoud img {
  height: 100px;
}

#shopinhoud .price {
  font-size: 12px;
  margin: 0px;
}

#sparkskin {
  float: left;
  margin: 20px 20px 20px 40px;
  cursor: crosshair;
}

#hottdogskin, #raffskin, #skateskin, #steveskin, #Kingskin, #casskin, #ralphskin, #stickskin, #Floranceskin{
  float: left;
  margin: 20px;
  cursor: crosshair;
}

#wereld {
  z-index: 2;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background-image: url("https://spark-me.nl/img/sky.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: lightslategrey;
  visibility: hidden;
}

#vliegtuig {
  width: 100px;
  position: absolute;
  top: 45%;
  transform: rotate(0deg);
}

.vogel {
  width: 50px;
  position: absolute;
  left: 0px;
  top: 0px;
}

.energy1 {
  width: 50px;
  position: absolute;
  left: 0px;
  top: 0px;
}

.kogel {
  z-index: 2;
  position: absolute;
  top: -100px;
  left: -100px;
  min-width: 15px;
  min-height: 5px;
  transform: rotate(0deg);
  background-color: rgb(164, 255, 74);
}

#energybar {
  z-index: 2;
  position: absolute;
  top: 10px;
  left: 10px;
  border:rgb(255 249 148) solid 2px;
  width: 120px;
  height: 30px;
}

#energy {
  width: 100%;
  height: 100%;
  background-color: firebrick;
}

#credits {
  background: black;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 3;
  text-align: center;
  display: none;
}

#credits p {
  color: cornsilk;
  font-family: 'Brush Script MT', cursive;
  margin-bottom: 60px;
}

#star {
  position: absolute;
  display: none;
  top: 0px;
  right: 0px;
  left: 0px;
  z-index: 2;
  height: 100%;
}

#footer {
  position: absolute;
  bottom: 5px;
  left: 10px;
  font-size: 0.8em;
  font-style: italic;
}

#updated {
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 0.8em;
  font-style: italic;
}