* {
  box-sizing: border-box;
}

body {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
  margin: 0;
  background-image: url(https://win.heart.co.uk/starwars-galaxy/img/bg-fallback.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
}

.wrapper {
  display: flex;
  flex-direction: column;
}

.wrapper2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 0 30px;
}

.welcome {
  display: flex;
 align-items: center;
}

.welcome img {
  display: flex;
  flex-direction: column;
  justify-items: center;
  height: 40px;
  width: 40px;
  margin: 10px;
}

.timer {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dotted;
  width: 100px;
  height: 40px;
  text-align: center;
  color: blueviolet;
  margin: 20px;
}

.scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dotted;
  width: 100px;
  height: 40px;
  font-size: 15px;
  text-align: center;
  color: rgb(253, 249, 2);
  margin: 20px;
}

.instructions {
  color: rgb(231, 231, 231);
  font-size: 17px;
  font-family: "dotty", Times, serif;
}

.game {
  color: rgb(253, 1, 219);
  font-size: 20px;
  font-family: "dotty", Times, serif;
}

.intro img {
  height: auto;
  width: 100%;
}

.button {
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: center;
}

.button .start {
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: center;
  border: none;
  }

.reset {
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: center;
  border: none;
  }

.table {
  display: flex;
  flex-direction: column;
  padding: 5px;
  margin: 0 0 0 20px;
  }

.table img {
  height: 46px;
  width: 46px;
  border: dotted;
  border-color: rgb(253, 1, 219);
  }

.table div {
  height: 46px;
  width: 46px;
  border: dotted;
  border-color: rgb(253, 1, 219);
}

.tableTwo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
  margin: 0 30px 0 0;
  }

.tableTwo div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  width: 200px;
  border: dotted;
  border-color: rgb(253, 1, 219);
  color: rgb(231, 231, 231);
  font-size: 17px;
  font-family: "dotty", Times, serif;
  text-align: center;
  }

.grid {
  align-items: center;
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  height: 100%;
  justify-content: center;
  max-height: 600px;
  max-width: 600px;
  border: dotted;
  border-color: rgb(81, 253, 1);
}

.grid div {
  flex-grow: 1;
  height: 9%;
  width: 9%;
}

.grid div.grass {
  background-image: url(images/grass.gif);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 0px;
}

.grid div.iceberg {
  background-image: url(images/iceberg.gif);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 0px;
}

.grid div.antarctica {
  background-image: url(images/sea.gif);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 0px;
}

.grid div.fire {
  background-image: url(images/fire.gif);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 0px;
}

.grid div.llama {
  background-image: url(images/llama.gif);
  background-size: 60px;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 0;
}

.grid div.alien {
  background-image: url(https://media.giphy.com/media/Titt7WbFzurny/giphy.gif);
  background-size: 60px;
  background-repeat: no-repeat;
  background-position-x: -1px;
  background-position-y: 5px;
}

.grid div.harry {
  background-image: url(https://media.giphy.com/media/aotWWaGrXuNuo/giphy.gif);
  background-size: 55px;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 0;
}

.grid div.ghost {
  background-image: url(https://data.whicdn.com/images/172796533/original.gif);
  background-size: 60px;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 7px;
}

.grid div.unicorn {
  background-image: url(https://thumbs.gfycat.com/EarnestUnrealisticIrishsetter.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 0;
}

.grid div.player {
  background-image: url(https://media.giphy.com/media/11gZ1gy9uOz8CA/giphy.gif);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 2px;
}

.grid div.winning {
  background-image: url(https://media.giphy.com/media/11gZ1gy9uOz8CA/giphy.gif);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 2px;
}

.grid div.monster {
  background-image: url(https://media.giphy.com/media/YB9mintb78SiZz8zkA/giphy.gif);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 0;
}

.hide {
  display: none;
}




