@font-face {
  font-family: "Shadows into Light";
  src: url(../fonts/ShadowsIntoLight.ttf);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 1.2rem;
}

body {
  display: grid;
  overflow: hidden;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background-color: #f6f6f6;
}

main {
  padding: 3ch;
  margin: 1ch;
  width: 90vw;
  max-width: 50ch;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #aaaaaa;
  border-radius: 1ch;
  background-color: #f6f6f6;
  box-shadow: 32px 32px 70px #b9b9b9, -32px -32px 70px #fff;
}
main #logo {
  background-image: url(../img/logo.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 10ch;
  height: 10ch;
}
main h1 {
  margin: 0 0 2rem 0;
  font-family: "Shadows into Light", cursive;
  font-size: 2.5rem;
}
main #message {
  height: 4ch;
}
main #board {
  padding: 10px;
  width: 72vw;
  height: 72vw;
  max-width: 40ch;
  max-height: 40ch;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
}
main .square {
  margin: 5px;
  background-color: #ffffff;
  border: 2px solid #ddd;
  transition-duration: 200ms;
  font-size: min(3rem, 10vw);
  border-radius: 0.5ch;
}
main .square:active.clickable {
  background-color: #747474;
}
main .buttonpanel {
  display: flex;
  justify-content: space-around;
  width: 40ch;
  max-width: 80%;
}
main .buttonpanel button {
  border: none;
  background: transparent;
  transition-duration: 200ms;
}
main .hidden {
  display: none;
}

@media screen and (min-width: 768px) {
  html {
    font-size: 1.2rem;
  }

  main button.square:hover.clickable {
    background-color: #d3d3d3;
  }

  main button.square:active.clickable {
    background-color: #747474;
  }

  .buttonpanel button:hover {
    filter: brightness(0.9);
  }
}

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