@font-face {
  font-family: f2;
  src: url("/media/games/tic-tac-toe/fonts/Hamburg-Bold.otf");
}
#game-area {
  width: 1280px;
  height: 720px;
  transform: translate(-50%, -50%) scale(1);
  left: 50%;
  top: 50%;
  position: absolute;
  background: url("/media/games/tic-tac-toe/images/background.jpg");
  background-size: cover;
}
#game-area #home-section {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 999999;
}
#game-area #home-section #home-logo {
  height: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: -10px;
}
#game-area #home-section #home-logo img {
  height: 100%;
  width: auto;
  animation: logoAnim 2s infinite;
  opacity: 0;
  transform: scale(0);
}
#game-area #mode-section, #game-area #difficulty-section {
  width: 100%;
  height: 100%;
  position: absolute;
  padding: 20px;
}
#game-area #mode-section h1, #game-area #difficulty-section h1 {
  color: white;
  font-family: puzzleGamesMainFont;
  text-transform: uppercase;
  font-size: 90px;
  width: 100%;
  text-align: center;
  letter-spacing: 3px;
  text-shadow: 3px 4px #093702;
  -webkit-text-stroke: 2px #093702;
  animation: scale 1.5s infinite;
  opacity: 0;
}
#game-area #mode-section #modes, #game-area #mode-section #diff-modes, #game-area #difficulty-section #modes, #game-area #difficulty-section #diff-modes {
  margin-top: 110px;
  transform: scale(0);
  opacity: 0;
}
#game-area #mode-section #modes .mode, #game-area #mode-section #diff-modes .mode, #game-area #difficulty-section #modes .mode, #game-area #difficulty-section #diff-modes .mode {
  width: 500px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 20px 0;
}
#game-area #mode-section #modes .mode img, #game-area #mode-section #diff-modes .mode img, #game-area #difficulty-section #modes .mode img, #game-area #difficulty-section #diff-modes .mode img {
  width: 100%;
  transition: 0.1s;
  cursor: pointer;
}
#game-area #mode-section #modes .mode img:active, #game-area #mode-section #diff-modes .mode img:active, #game-area #difficulty-section #modes .mode img:active, #game-area #difficulty-section #diff-modes .mode img:active {
  transform: scale(0.95);
  opacity: 0.9;
  filter: brightness(1.1);
}
#game-area #mode-section #diff-modes, #game-area #difficulty-section #diff-modes {
  margin-top: 70px;
}
#game-area #play-section {
  width: 100%;
  height: 100%;
  position: absolute;
}
#game-area #play-section #current-mode {
  position: absolute;
  left: -3%;
  top: 85%;
  transform: translateX(0) translateY(-100%);
  margin: 20px 80px;
  opacity: 0;
  z-index: 99;
  transition: 0.1s;
}
#game-area #play-section #current-mode p {
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-family: f2;
  font-weight: 500;
  font-size: 60px;
  letter-spacing: 2px;
  text-shadow: 3px 4px rgba(0, 0, 0, 0.212);
  font-family: puzzleGamesMainFont;
}
#game-area #play-section #current-mode h6 {
  color: #f9e404;
  text-align: center;
  text-transform: uppercase;
  font-family: f2;
  font-weight: 500;
  font-size: 50px;
  letter-spacing: 2px;
  text-shadow: 3px 4px rgba(0, 0, 0, 0.212);
  margin-top: -30px;
  font-family: puzzleGamesMainFont;
}
#game-area #play-section #current-mode:active {
  opacity: 0.9;
}
#game-area #play-section #players-info {
  display: flex;
  justify-content: center;
  opacity: 0;
}
#game-area #play-section #player1-info, #game-area #play-section #player2-info {
  background: url("/media/games/tic-tac-toe/images/player1-s.png");
  background-size: cover;
  width: 270.3px;
  height: 136px;
  transform: scale(1.1);
  margin: 0 30px;
  margin-top: 20px;
}
#game-area #play-section #player1-info p, #game-area #play-section #player2-info p {
  color: white;
  font-family: puzzleGamesMainFont;
  font-size: 40px;
  width: 74%;
  text-align: center;
  margin-top: -3px;
}
#game-area #play-section #player1-info #score p, #game-area #play-section #player2-info #score p {
  font-size: 50px;
  width: 30%;
  position: relative;
  left: 60px;
  margin-top: -10px;
}
#game-area #play-section #player2-info {
  background: url("/media/games/tic-tac-toe/images/player2-s.png");
  background-size: cover;
  margin-left: 640px;
}
#game-area #play-section #player2-info p {
  margin-left: 70px;
}
#game-area #play-section .turn {
  animation: scaleP 1.5s infinite;
}
#game-area #play-section #board {
  width: 500px;
  height: 500px;
  background: url("/media/games/tic-tac-toe/images/board.png");
  background-size: cover;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  display: flex;
  flex-wrap: wrap;
  padding: 28px 40px;
  padding-right: 0;
  margin-top: -40px;
}
#game-area #play-section #board .tile {
  width: 130px;
  height: 130px;
  margin-left: 17px;
  margin-top: 5px;
  cursor: pointer;
  transform: scale(0.9);
}
#game-area #play-section #board .tile p {
  color: white;
  position: absolute;
  z-index: 2;
  font-family: puzzleGamesMainFont;
  text-transform: uppercase;
  text-align: center;
  font-size: 60px;
  font-weight: 300;
  width: 100%;
  top: 0%;
  transform: scale(0);
  margin-left: -3px;
  letter-spacing: 1px;
  opacity: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: brightness(0.9);
}
#game-area #play-section #board .tile img {
  width: 100%;
  transform: scale(0);
  opacity: 0;
  position: relative;
  z-index: 2;
}
#game-area #play-section #board .tile:nth-child(1), #game-area #play-section #board .tile:nth-child(4), #game-area #play-section #board .tile:nth-child(7) {
  margin-left: 5px;
}
#game-area #end-section {
  width: 100%;
  height: 100%;
  position: absolute;
}
#game-area #end-section .content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#game-area #end-section #end-logo {
  display: flex;
  justify-content: center;
  animation: logoAnim_v2 1.5s infinite;
  height: 300px;
  margin-top: -100px;
}
#game-area #end-section #end-logo img {
  height: 100%;
  transform: scale(0);
  opacity: 0;
}
#game-area #end-section #end-btns {
  position: relative;
  width: 100%;
  margin-top: 0px;
}
#game-area #end-section #end-btns div {
  display: flex;
  justify-content: center;
  width: 400px;
  margin: 20px auto;
  cursor: pointer;
  animation: scale 1.5s infinite;
}
#game-area #end-section #end-btns div img {
  width: 100%;
  cursor: pointer;
  opacity: 0;
}
#game-area #end-section #end-btns div img:active {
  transform: scale(0.95);
  opacity: 0.9;
  filter: brightness(1.1);
  transition: 0.2s;
}

@keyframes scaleP {
  0% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1.1);
  }
}
@media (max-width: 600px) {
  #game-area #home-section #home-logo {
    height: 30%;
  }
  #game-area #home-section #home-logo img {
    height: 100%;
  }
  #game-area #mode-section, #game-area #difficulty-section {
    margin-top: 270px;
  }
  #game-area #mode-section #modes .mode, #game-area #mode-section #diff-modes .mode, #game-area #difficulty-section #modes .mode, #game-area #difficulty-section #diff-modes .mode {
    width: 500px;
  }
  #game-area #mode-section #modes .mode img, #game-area #mode-section #diff-modes .mode img, #game-area #difficulty-section #modes .mode img, #game-area #difficulty-section #diff-modes .mode img {
    width: 100%;
  }
  #game-area #difficulty-section {
    margin-top: 170px;
  }
  #game-area #play-section #current-mode {
    margin-top: 70px;
    margin-left: 70px;
  }
  #game-area #play-section #players-info #player1-info, #game-area #play-section #players-info #player2-info {
    margin-left: 20px;
  }
  #game-area #play-section #players-info #player2-info {
    margin-left: 170px;
  }
}
@media (width: 960px) and (height: 480px) {
  #game-area {
    width: 960px;
    height: 480px;
  }
  #game-area #home-section #home-logo {
    height: 60%;
  }
  #game-area #mode-section h1, #game-area #difficulty-section h1 {
    font-size: 55px;
  }
  #game-area #mode-section #modes, #game-area #mode-section #diff-modes, #game-area #difficulty-section #modes, #game-area #difficulty-section #diff-modes {
    margin-top: 50px;
  }
  #game-area #mode-section #modes .mode, #game-area #mode-section #diff-modes .mode, #game-area #difficulty-section #modes .mode, #game-area #difficulty-section #diff-modes .mode {
    width: 300px;
  }
  #game-area #mode-section #diff-modes, #game-area #difficulty-section #diff-modes {
    margin-top: 0px;
  }
  #game-area #play-section #current-mode p {
    font-size: 50px;
  }
  #game-area #play-section #current-mode h6 {
    font-size: 40px;
  }
  #game-area #play-section #players-info {
    display: block;
    justify-content: center;
    opacity: 0;
    height: 50px;
  }
  #game-area #play-section #player1-info, #game-area #play-section #player2-info {
    position: absolute;
    background: url("/media/games/tic-tac-toe/images/player1-s.png");
    background-size: cover;
    width: 270.3px;
    height: 136px;
    margin-left: 10px;
    transform: scale(0.7);
  }
  #game-area #play-section #player1-info p, #game-area #play-section #player2-info p {
    color: white;
    font-family: puzzleGamesMainFont;
    font-size: 40px;
    width: 74%;
    text-align: center;
    margin-top: -3px;
  }
  #game-area #play-section #player1-info #score p, #game-area #play-section #player2-info #score p {
    font-size: 50px;
    width: 30%;
    position: relative;
    left: 60px;
    margin-top: -10px;
  }
  #game-area #play-section #player2-info {
    background: url("/media/games/tic-tac-toe/images/player2-s.png");
    background-size: cover;
    margin-left: 680px;
    transform: scale(0.8);
  }
  #game-area #play-section #player2-info p {
    margin-left: 70px;
  }
  #game-area #play-section .turn {
    animation: scalePScaled 1.5s infinite;
  }
  #game-area #play-section #board {
    top: 60%;
    transform: translate(-50%, -50%) scale(0.7) !important;
  }
  #game-area #end-section .content {
    top: 58%;
    transform: translate(-50%, -50%) scale(0.7);
  }
}
@keyframes scalePScaled {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(0.75);
  }
  100% {
    transform: scale(0.8);
  }
}

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