@font-face {
  font-family: 'Early GameBoy';
  src: url("./assets/fonts/Early-GameBoy.eot");
  src: url("./assets/fonts/Early-GameBoy.eot?#iefix") format("embedded-opentype"), url("./assets/fonts/Early-GameBoy.woff2") format("woff2"), url("./assets/fonts/Early-GameBoy.woff") format("woff"), url("./assets/fonts/Early-GameBoy.ttf") format("truetype"), url("./assets/fonts/Early-GameBoy.svg#Early-GameBoy") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nu Hanafudaya';
  src: url("./assets/fonts/NuHanafudaya-Regular.eot");
  src: url("./assets/fonts/NuHanafudaya-Regular.eot?#iefix") format("embedded-opentype"), url("./assets/fonts/NuHanafudaya-Regular.woff2") format("woff2"), url("./assets/fonts/NuHanafudaya-Regular.woff") format("woff"), url("./assets/fonts/NuHanafudaya-Regular.ttf") format("truetype"), url("./assets/fonts/NuHanafudaya-Regular.svg#NuHanafudaya-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@-webkit-keyframes float {
  0% {
    -webkit-transform: translate(0rem);
            transform: translate(0rem);
  }
  50% {
    -webkit-transform: translatey(-1.5rem);
            transform: translatey(-1.5rem);
  }
  100% {
    -webkit-transform: translate(0rem);
            transform: translate(0rem);
  }
}

@keyframes float {
  0% {
    -webkit-transform: translate(0rem);
            transform: translate(0rem);
  }
  50% {
    -webkit-transform: translatey(-1.5rem);
            transform: translatey(-1.5rem);
  }
  100% {
    -webkit-transform: translate(0rem);
            transform: translate(0rem);
  }
}

@-webkit-keyframes shrink {
  from {
    font-size: 9.5rem;
  }
  to {
    font-size: 6rem;
  }
}

@keyframes shrink {
  from {
    font-size: 9.5rem;
  }
  to {
    font-size: 6rem;
  }
}

@-webkit-keyframes shrinkUp {
  from {
    height: 100%;
  }
  to {
    height: 25%;
  }
}

@keyframes shrinkUp {
  from {
    height: 100%;
  }
  to {
    height: 25%;
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@-webkit-keyframes openGame-left {
  from {
    width: 50%;
    left: 0%;
  }
  to {
    width: 33.333%;
  }
}

@keyframes openGame-left {
  from {
    width: 50%;
    left: 0%;
  }
  to {
    width: 33.333%;
  }
}

@-webkit-keyframes openGame-right {
  from {
    width: 50%;
    left: 0%;
  }
  to {
    width: 33.333%;
    left: 33.333%;
  }
}

@keyframes openGame-right {
  from {
    width: 50%;
    left: 0%;
  }
  to {
    width: 33.333%;
    left: 33.333%;
  }
}

@-webkit-keyframes openGame-up {
  from {
    height: 50%;
  }
  to {
    height: 30%;
  }
}

@keyframes openGame-up {
  from {
    height: 50%;
  }
  to {
    height: 30%;
  }
}

@-webkit-keyframes openGame-down {
  from {
    height: 50%;
    top: 0%;
  }
  to {
    height: 30%;
    top: 40%;
  }
}

@keyframes openGame-down {
  from {
    height: 50%;
    top: 0%;
  }
  to {
    height: 30%;
    top: 40%;
  }
}

.fadeIn {
  -webkit-animation: fadeIn 0.3s ease-in-out;
          animation: fadeIn 0.3s ease-in-out;
}

.fadeOut {
  -webkit-animation: fadeOut 0.3s ease-in-out;
          animation: fadeOut 0.3s ease-in-out;
}

.shrinkUp {
  -webkit-animation: shrinkUp 1s ease-in-out;
          animation: shrinkUp 1s ease-in-out;
}

.shrink {
  -webkit-animation: shrink 1s ease-in-out;
          animation: shrink 1s ease-in-out;
}

@media only screen and (orientation: landscape) {
  .openGame.leftBlock {
    -webkit-animation: openGame-left 0.8s ease-in-out;
            animation: openGame-left 0.8s ease-in-out;
    width: 33.333%;
  }
  .openGame.rightBlock {
    -webkit-animation: openGame-right 0.8s ease-in-out;
            animation: openGame-right 0.8s ease-in-out;
    width: 33.333%;
  }
}

@media only screen and (orientation: portrait) {
  .openGame.leftBlock {
    -webkit-animation: openGame-up 0.8s ease-in-out;
            animation: openGame-up 0.8s ease-in-out;
    width: 100%;
    height: 30%;
  }
  .openGame.rightBlock {
    -webkit-animation: openGame-down 0.8s ease-in-out;
            animation: openGame-down 0.8s ease-in-out;
    width: 100%;
    height: 30%;
  }
}

.authorLink {
  color: inherit;
  text-decoration: none;
  font-size: 2rem;
  font-family: Nu Hanafudaya;
}

html, body {
  font-size: 10px;
  font-family: Early Gameboy;
  min-height: 100vh;
  min-width: 100vw;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

html, body, button, select, input, .letter {
  padding: 0;
  margin: 0;
}

html, body, .container, .titleScreen, .letter,
.gameContainer, .top-row, .playerFields,
.boardContainer, .boardContainer > div,
button, input, select {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html, body, .titleScreen, .gameContainer,
.top-row, .playerFields, .boardContainer > div,
.gameButtons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

html, body, .titleScreen, .boardContainer > div {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

html, body, .titleScreen, .boardContainer > div, .playerFields, .gameButtons {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.titleScreen, .gameContainer, .playerFields {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.titleScreen, .playerFields, .boardContainer, .bottom-row {
  border: 2rem solid transparent;
  border-image-source: url("./assets/images/border.png");
  border-image-slice: 15%;
}

input, select, button {
  font-family: 'Early Gameboy';
  font-size: 1.7rem;
  height: 7rem;
  width: 25rem;
  background-color: #7D810E;
  border: 0.5rem solid #3C3C0E;
}

input:focus, select:focus, button:focus {
  outline: none;
  -webkit-box-shadow: 0 0 1rem #486032;
          box-shadow: 0 0 1rem #486032;
}

img {
  height: 14rem;
  padding-bottom: 2rem;
}

.difficulty {
  margin-bottom: 0.5rem;
}

button, input, select, .displayInfo {
  text-align: center;
}

button:active {
  background-color: #606A1E;
}

button:disabled {
  background-color: #949425;
  color: #24321C;
}

button.reset-btn, button.back-btn {
  display: none;
}

.container {
  height: 950px;
  width: 1700px;
  border: 8rem solid #24321C;
  border-radius: 10%;
  background-color: #949425;
}

.container > div {
  background-color: #949425;
}

.titleScreen {
  height: 100%;
  width: 100%;
  color: #24321C;
  cursor: pointer;
}

.head {
  font-size: 9.5rem;
}

.subhead {
  font-size: 3rem;
}

.head > * {
  display: inline-block;
}

.head > *.letter {
  text-shadow: 0.5rem 0.5rem 2rem #3C3C0E;
}

.head > *:nth-of-type(odd) {
  -webkit-animation: float 4s ease-in-out infinite;
          animation: float 4s ease-in-out infinite;
}

.head > *:nth-of-type(even) {
  -webkit-animation: float 2.5s ease-in-out infinite;
          animation: float 2.5s ease-in-out infinite;
}

.gameContainer {
  height: 75%;
}

.top-row {
  height: 85%;
}

.playerFields {
  width: 50%;
}

.leftBlock, .rightBlock {
  position: relative;
}

.boardContainer {
  width: 33.333%;
  -ms-grid-columns: (33.33%)[3];
      grid-template-columns: repeat(3, 33.33%);
  -ms-grid-rows: (33.33%)[3];
      grid-template-rows: repeat(3, 33.33%);
}

.boardContainer > div {
  height: 100%;
  font-size: 30px;
  width: 100%;
  opacity: 0;
  border-collapse: collapse;
  cursor: pointer;
}

.boardContainer > div:nth-child(-n+3) {
  border-bottom: 0.5rem solid black;
}

.boardContainer > div:nth-child(3n+1) {
  border-right: 0.5rem solid black;
}

.boardContainer > div:nth-child(3n) {
  border-left: 0.5rem solid black;
}

.boardContainer > div:nth-child(n+7) {
  border-top: 0.5rem solid black;
}

.tile h2 {
  font-size: 4rem;
}

.bottom-row {
  height: 15%;
}

.gameButtons {
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  height: 100%;
}

.displayInfo {
  padding-bottom: 2rem;
}

.displayInfo h1 {
  font-size: 3rem;
  padding-bottom: 0.5rem;
}

.displayInfo h2 {
  font-size: 2rem;
  padding-bottom: 0.5rem;
}

.playerFields {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

@media only screen and (orientation: portrait) {
  .top-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .playerFields {
    height: 100%;
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .boardContainer {
    height: 40%;
    width: 50%;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    -ms-grid-column-align: center;
        justify-self: center;
  }
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width: 481px) and (max-width: 767px) and (orientation: landscape) {
  body, html {
    font-size: 4px;
  }
  body .container, html .container {
    height: 360px;
    width: 760px;
  }
}

/* Smartphones (portrait) ----------- */
@media only screen and (min-width: 320px) and (max-width: 480px) and (orientation: portrait) {
  body, html {
    font-size: 2.5px;
  }
  body .container, html .container {
    height: 650px;
    width: 360px;
  }
}

/* iPads (landscape) ----------- */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  body, html {
    font-size: 6px;
  }
  body .container, html .container {
    height: 760px;
    width: 1050px;
  }
  body .playerFields, html .playerFields {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

/* iPads (portrait) ----------- */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  body, html {
    font-size: 4.5px;
  }
  body .container, html .container {
    height: 1020px;
    width: 760px;
  }
  body .playerFields, html .playerFields {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  body .boardContainer, html .boardContainer {
    height: 40%;
    width: 40%;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    -ms-grid-column-align: center;
        justify-self: center;
  }
}

/* Device = Laptops, Desktops ----------- */
@media (min-width: 1025px) and (max-width: 1280px) {
  html, body {
    font-size: 6px;
  }
  .container {
    height: 580px;
    width: 1020px;
  }
}
/*# sourceMappingURL=styles.css.map */