/* SCSS HEX */
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #dc851fff;
  height: 100vh;
  letter-spacing: 1px;
  line-height: 120%;
  overflow: hidden;
}

.main-nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 0.4rem;
  background-color: #ffa737;
  border-radius: 0 !important;
  border-radius: 1rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.39), inset 0 0 5px rgba(255, 255, 255, 0.16);
}
.main-nav > *:not(:first-child) {
  margin-top: 0.5rem;
}
.main-nav .wrap {
  max-width: 70vh;
  width: 80%;
  margin: 0 auto;
  position: relative;
}
.main-nav .reload {
  opacity: 0;
  position: absolute;
  font-size: 2rem;
  right: 5%;
  top: calc(50% - 1rem);
  color: #7e5920ff;
  transition: 0.2s color ease-out;
}
.main-nav .reload:hover {
  color: #343330ff;
}

.player {
  display: flex;
  justify-content: space-between;
  width: 50%;
  margin: 0 auto;
  letter-spacing: 2px;
  font-weight: 550;
}

.player__dot,
.player__invisible__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  place-self: center;
}

.player__dot {
  background-color: #000000;
}

.player__invisible__dot {
  background: rgba(0, 0, 0, 0);
}

input,
input:active {
  border: none;
  outline: none;
}
input:not(:last-child),
input:active:not(:last-child) {
  margin-bottom: 1rem;
}

input {
  background: #ffa737;
  padding: 0.4rem;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

button:active, button:focus, button:visited {
  outline: none;
}

.main-board {
  border-radius: 1rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.39), inset 0 0 5px rgba(255, 255, 255, 0.16);
  max-width: 70vh;
  width: 80%;
  position: relative;
}
.main-board:after {
  content: "";
  display: block;
  padding-top: calc(100%);
}

.main-board__content {
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.title {
  text-align: center;
  top: 0;
}

#game-board {
  display: grid;
  grid-template-rows: 3fr 1fr;
  row-gap: 1rem;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.main-board__header {
  position: relative;
}

#drawHash {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.line {
  height: 4px;
  max-width: 200px;
  width: 100%;
  background: #343330ff;
  animation: 1s ease-out 0s 1 lineMove;
}
.line1 {
  transform: translateY(30px);
}
.line1:before, .line1:after {
  animation: 1.2s linear 1.4s 1 forwards appear;
}
.line2 {
  transform: translateY(-30px);
}
.line3 {
  transform: rotate(90deg) translateY(30px);
}
.line3:before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  border: 2px solid rgba(255, 255, 255, 0.47);
  top: 0;
  bottom: 0;
  opacity: 0;
  transform-origin: right center;
  transform: translate(80px, -47px);
  animation: 0.8s linear 1.2s 1 forwards appear;
}
.line4 {
  transform: rotate(90deg) translateY(-30px);
}
.line4:before, .line4:after {
  animation: 0.8s linear 1s 1 forwards appear;
}
.line1:before, .line1:after, .line4:before, .line4:after {
  content: "";
  display: block;
  width: calc(200px / 3 - 16px);
  height: 2px;
  background-color: rgba(255, 255, 255, 0.47);
  top: 0;
  bottom: 0;
  opacity: 0;
}
.line1:after, .line4:after {
  transform-origin: left center;
  transform: translate(10px, 10px) rotate(45deg);
}
.line1:before, .line4:before {
  transform-origin: right center;
  transform: translate(-10px, 10px) rotate(-45deg);
}
@keyframes lineMove {
  0% {
    opacity: 0;
  }
  50% {
    transform: translateY(0);
    opacity: 0;
  }
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.main-board__footer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button {
  border-radius: 1rem;
  box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.39), inset 0 0 5px rgba(255, 255, 255, 0.16);
  background: #ffa737;
  padding: calc(1.2rem - .5rem) 1.2rem;
  border-radius: 1rem;
  letter-spacing: inherit;
  border: none;
  transition: 0.4s ease-out background, 0.2s color;
}
.button:not(:last-of-type) {
  margin-right: 1.4rem;
}
.button:hover {
  background: rgba(0, 0, 0, 0);
  box-shadow: none;
  color: #fff;
  border: 2px solid #ffa737;
  padding: calc(calc(1.2rem - .5rem) - 2px) calc(1.2rem - 2px);
}
.button:active {
  color: #000;
}

.button-appear,
.title-appear {
  opacity: 0;
  animation: 1s linear 2s 1 forwards appear;
}

.start {
  display: none;
  align-self: center;
}

@keyframes appear {
  100% {
    opacity: 1;
  }
}
.players {
  position: absolute;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.players label {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  align-items: center;
}
.players label:not(:last-child) {
  margin-bottom: 0.8rem;
}
.players input {
  margin-top: 0.2rem;
}
.players input:focus {
  box-shadow: 1px 2px 4px #75391d;
}

.square {
  width: 80%;
  height: 80%;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  display: none;
}

.miniSquare {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.miniSquare1, .miniSquare2, .miniSquare4, .miniSquare5 {
  border-right: 2px solid #343330ff;
  border-bottom: 2px solid #343330ff;
}
.miniSquare3, .miniSquare6 {
  border-bottom: 2px solid #343330ff;
}
.miniSquare7, .miniSquare8 {
  border-right: 2px solid #343330ff;
}

.o,
.x {
  width: 100px;
  height: 100px;
}

.o {
  position: relative;
}
.o:before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  top: 50%;
  margin-top: -40px;
  left: 50%;
  margin-left: -40px;
  border-radius: 50%;
  animation: 0.6s ease 1 forwards border;
}

.x {
  position: absolute;
  animation: 0.4s cubic-bezier(0.46, -0.72, 0.33, 1.59) 1 forwards appear;
  opacity: 0;
}
.x:before, .x:after {
  background-color: #454;
  content: "";
  width: calc(100% - 4px);
  height: 3px;
  position: absolute;
  top: 50%;
  left: 0;
  transform-origin: center center;
  border-radius: 50%;
}
.x:before {
  transform: rotate(45deg);
}
.x:after {
  transform: rotate(-45deg);
}

.change {
  animation: 0.4s cubic-bezier(0.78, -0.5, 0, 1.28) change forwards;
}

.income {
  transform: translateX(100%);
  opacity: 0;
  height: 270px;
  margin-top: -108px;
  animation: 0.6s cubic-bezier(0.78, -1.71, 0, 1.28) income forwards;
}

@keyframes border {
  100% {
    box-shadow: 0 0 0 3px #454;
  }
}
@keyframes appear {
  100% {
    opacity: 1;
  }
}
@keyframes change {
  100% {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 0;
  }
}
@keyframes income {
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/*# sourceMappingURL=style.css.map */
