body {
  overflow: hidden;
  margin: 0;
  background-color: rgb(0, 0, 0);
}

.container {
  display: grid;
  grid-template-areas:
    "lb pisteet ohjaimet"
    "peli peli peli"
    ". mobile .";
  justify-items: stretch;
}

.lb {
  place-self: center;
  grid-area: lb;
  color: rgb(0, 255, 0);
  border: 1px solid rgb(0, 255, 0);
}

.mobileControls {
  visibility: hidden;
  grid-area: mobile;
  place-self: center;
  display: grid;
  justify-items: center;
  grid-template-areas:
    "q w e"
    "a s d";
}

button {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2em;
  background-color: black;
  color: rgb(0, 255, 0);
  border-color: rgb(0, 255, 0);
}

#a {
  height: 50px;
  width: 50px;
  grid-area: a;
  margin: 8px;
}

#s {
  height: 50px;
  width: 50px;
  grid-area: s;
  margin: 8px;
}

#d {
  height: 50px;
  width: 50px;
  grid-area: d;
  margin: 8px;
}

#w {
  height: 50px;
  width: 50px;
  grid-area: w;
  margin: 8px;
  margin-top: 0;
}

#q {
  height: 50px;
  width: 50px;
  grid-area: q;
  margin: 8px;
  margin-top: 0;
}

#e {
  height: 50px;
  width: 50px;
  grid-area: e;
  margin: 8px;
  margin-top: 0;
}

#btn {
  grid-area: ohjaimet;
  place-self: center;
}

#points {
  place-self: center;
  grid-area: pisteet;
  font-size: 2em;
  color: rgb(0, 255, 0);
}

#game-frame {
  place-self: center;
  grid-area: peli;
}



@media all and (max-width: 999px) {

  #info {
    font-size: 1em;
  }

  #ohjeet {
    font-size: 1em;
  }

  #btn {
    font-size: 1em;
    ;
  }

  .mobileControls {
    visibility: visible;
  }

}
