* {
  box-sizing: border-box;
}
body {
  background-color: #141114;
  background-image: url("./images/background.jpg");
  background-size: 100% 100%;
  background-attachment: fixed;
  font-weight: bold;
}

.center {
  display: grid;
  justify-content: center;
  align-content: center;
}
.root {
  color: white;
  background: transparent;
  width: 100%;
  height: 97vh;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto auto;
}
.details-container {
  grid-row-start: 1;
  grid-row-end: 2;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
}
.details-container > div {
  padding: 5px;
}
.grid-container {
  grid-row-start: 2;
  grid-row-end: 3;
}
h1 {
  font-weight: bold;
  font-size: 80px;
  margin: 0;
}
h3 {
  margin: 15px;
}
span {
  padding: 5px;
  margin: 5px;
}
.grid {
  color: black;
  margin: 0 auto;
  width: 280px;
  height: auto;
  background: transparent;

  display: flex;
  flex-wrap: wrap;
}
.grid > div {
  width: 60px;
  height: 60px;
  background: rgba(224, 255, 255, 0.3);
  margin: 5px;
  border: 1px solid black;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
}
button {
  background: lightgoldenrodyellow;
  border-radius: 30px;
  padding: 10px 20px;
  outline: none;
}
button:hover {
  background: darkgrey;
  cursor: pointer;
}
.instruction-container {
  color: white;
  padding-left: 15px;
  padding-bottom: 15px;
}

.left-arrow-key {
  background-image: url("./images/leftArrowKey.svg");
  grid-area: left;
}
.up-arrow-key {
  background-image: url("./images/upArrowKey.svg");
  grid-area: up;
}
.right-arrow-key {
  background-image: url("./images/rightArrowKey.svg");
  grid-area: right;
}
.down-arrow-key {
  background-image: url("./images/downArrowKey.svg");
  grid-area: down;
}
.controls-div {
  display: grid;
  grid-template-rows: 50px 50px;
  grid-template-columns: 50px 50px 50px;
  grid-template-areas:
    ". up ."
    "left down right";
  justify-content: center;
}
.controls-div > div {
  border: 1px solid white;
  background: transparent;
  margin: 1px;
}
.controls-div > div:hover {
  cursor: pointer;
}
.controls-div > div:active {
  transform: scale(0.95);
}
@media only screen and (min-width: 800px) {
  .controls-div {
    display: none;
  }
}
