* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Bitcount Prop Single", sans-serif;
}

nav {
  background-color: palevioletred;
  color: #fdf6ff;
  height: 65px;
  font-size: 30px;
  display: flex;
  align-items: center;
  padding: 5px 25px;
}

nav ul {
  list-style: none;
}

nav li {
  font-weight: bold;
}

.gameContainer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 50px;
  flex-wrap: wrap;
  position: relative;
}

.container {
  display: grid;
  grid-template-rows: repeat(3, 10vw);
  grid-template-columns: repeat(3, 10vw);
  position: relative;
}

.box {
  border: 2px solid black;
  font-size: 9vw;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.box:hover {
  background-color: rgb(216, 199, 232);
}

.br-0 {
  border-right: 0;
}
.bl-0 {
  border-left: 0;
}
.bt-0 {
  border-top: 0;
}
.bb-0 {
  border-bottom: 0;
}

.gameInfo {
  padding: 0 35px;
  margin-top: 20px;
}

.gameInfo h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.info {
  font-size: 25px;
  display: block;
  margin-bottom: 10px;
}

#reset {
  font-size: 18px;
  background-color: rgb(196, 169, 221);
  border-radius: 4px;
  padding: 5px 15px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.imgbox img {
  width: 0;
  transition: width 1s ease-in-out;
  margin-top: 10px;
}

.line {
  position: absolute;
  height: 3px;
  width: 0;
  background-color: #911d91;
  transition: width 0.5s ease, transform 0.5s ease;
  transform-origin: left center;
  z-index: 2;
  left: 0;
  top: 0;
}

@media screen and (max-width: 950px) {
  .gameInfo h1 {
    font-size: 1.5rem;
  }

  .container {
    grid-template-rows: repeat(3, 20vw);
    grid-template-columns: repeat(3, 20vw);
  }
}
