*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

* {
  padding: 0;
  margin: 0px;
}

header {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  color: #3a053a;
}

#theme {
  background: #3a053a;
  padding: 0.8rem 1rem;
  color: #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

body {
  background-color: #ddd;
}

#game {
  height: 80%;
  position: relative;
  margin-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.board {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  z-index: 0;
  margin: auto;
  height: 80vh;
  width: 40vw;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.box {
  position: relative;
  margin: -0.5px;
  height: 10rem;
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  -webkit-box-flex: 30%;
      -ms-flex: 30%;
          flex: 30%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: beige;
  border: 5px solid #3a053a;
  z-index: 0;
  width: 8rem;
  height: 8rem;
}

.box:nth-child(3n + 1) {
  border-left: none;
}

.box:nth-child(3n + 3) {
  border-right: none;
}

.box:nth-child(n + 0) {
  border-top: none;
}

.box:nth-child(7),
.box:nth-child(8),
.box:nth-child(9) {
  border-bottom: none;
}

.box.circle::after {
  content: '';
  position: absolute;
  width: 6.4rem;
  height: 6.4rem;
  background-color: #ddd;
  border-radius: 50%;
  cursor: not-allowed;
}

.box.inactive {
  pointer-events: none;
  cursor: not-allowed;
}

.box.circle::before {
  content: '';
  position: absolute;
  background-color: #b046da;
  border-radius: 50%;
  width: 8rem;
  height: 8rem;
  cursor: not-allowed;
}

.result {
  display: none;
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  width: 100vh;
  height: 100vw;
  pointer-events: none;
}

.result.appear {
  display: block;
}

.restart-button:hover {
  background-color: white;
  color: #2178fa;
}

.restart-button {
  padding: 5px;
  color: white;
  display: none;
  pointer-events: none;
  background-color: #2178fa;
  font-size: 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border: 2px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
}

.restart-button.active {
  display: block;
  pointer-events: all;
}

.box.x::after {
  content: '';
  position: absolute;
  background-color: #b046da;
  width: 10px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  height: 8rem;
  cursor: not-allowed;
}

#msg {
  top: 25%;
  color: #7291fa;
  position: absolute;
}

.box.x::before {
  content: '';
  position: absolute;
  background-color: #b046da;
  width: 10px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  height: 8rem;
  cursor: not-allowed;
}

.app.dark body {
  background-color: #3a053a;
}

.app.dark header {
  color: #ddd;
}

.app.dark .box.circle::after {
  background-color: #3a053a;
}

.app.dark .box {
  border-color: #ddd;
}

@media (max-width: 600px) {
  html {
    font-size: 12px;
  }
  .board {
    width: 80vw;
  }
}
/*# sourceMappingURL=style.css.map */