@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@700&display=swap");

* {
  box-sizing: border-box;
}

body {
  background-image: url("https://images.unsplash.com/photo-1620121692029-d088224ddc74?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1632&q=80");
  background-repeat: no-repeat;
  background-size: cover;
}

/* Start Button */
.startBtn {
  font-family: "Chakra Petch", sans-serif;
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, 0);
  background: none;
  color: #ffa260;
  border: 2px solid;
  padding: 1em 2em;
  font-size: 1em;
  transition: 0.25s;
  z-index: 2001;
  outline: none;
}

.startBtn:hover {
  border-color: #f1ff5c;
  color: white;
  box-shadow: 0 0.5em 0.5em -0.4em #f1ff5c;
  cursor: pointer;
}

/* Start Again Button */

.reset {
  display: none;
  font-family: "Chakra Petch", sans-serif;
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, 0);
  background: none;
  color: #ffa260;
  border: 2px solid;
  padding: 1em 2em;
  font-size: 1em;
  transition: 0.25s;
  z-index: 2002;
  outline: none;
}

.reset:hover {
  border-color: #f1ff5c;
  color: white;
  box-shadow: 0 0.5em 0.5em -0.4em #f1ff5c;
  cursor: pointer;
}

/* Score */
.score {
  z-index: 100;
  font-family: "Chakra Petch", sans-serif;
  font-size: 50px;
  color: white;
  position: absolute;
  top: -70%;
  left: -100%;
}

/* Countdown */

.countdown {
  font-family: "Chakra Petch", sans-serif;
  font-size: 30px;
  color: white;
  position: fixed;
  top: 80%;
  left: 50%;
  transform: translate(-50%, 0);
}

/* Level Select */

.selectDiv {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.levelSelector {
  font-family: "Chakra Petch", sans-serif;
  font-size: 20px;
  text-align: center;
  color: white;
  appearance: none;
  background-color: transparent;
  border: 3px solid rgb(255, 255, 255);
  cursor: pointer;
  padding: 20px;
  outline: none;
}

option {
  font-family: inherit;
  color: black;
}

/* Game board */

.app {
  display: none;
  box-shadow: 5px 10px 10px 5px rgb(98, 89, 238);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 500px;
  overflow: hidden;
}

.msg {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 200px;
  z-index: 20;
}

p {
  color: white;
  font-family: "Chakra Petch", sans-serif;
  font-size: 100px;
  margin: 0;
  text-shadow: -0.06em 0 red, 0.06em 0 cyan;
  letter-spacing: 0.08em;
}
