@font-face {
  font-family: f2;
  src: url("/media/games/join-four/fonts/Ariston Comic Font.otf");
}
#game-area {
  width: 1280px;
  height: 720px;
  transform: translate(-50%, -50%) scale(1);
  left: 50%;
  top: 50%;
  position: absolute;
  background: url("/media/games/join-four/images/background2.jpg");
  background-size: cover;
}
#game-area #skip-intro-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  padding: 0;
  background: linear-gradient(180deg, #FFAA00 0%, #FF6600 50%, #CC3300 100%);
  color: #F5F5DC;
  border: 3px solid #501400;
  border-radius: 50%;
  font-family: f2;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
  z-index: 99999999999999 !important;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
#game-area #skip-intro-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 3px rgba(255, 255, 255, 0.4), inset 0 -2px 5px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, #FFBB11 0%, #FF7711 50%, #DD4411 100%);
}
#game-area #skip-intro-btn:active {
  transform: scale(0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}
#game-area #home-section {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 999999;
}
#game-area #home-section #home-logo {
  height: 65%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: -10px;
  margin-top: -50px;
}
#game-area #home-section #home-logo img {
  height: 100%;
  width: auto;
  opacity: 0;
  transform: scale(0);
}
#game-area #mode-section, #game-area #difficulty-section {
  width: 100%;
  height: 100%;
  position: absolute;
  background-position: center center;
  padding: 40px 70px;
}
#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: 100px;
  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: 400px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 10px 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: 60px;
}
#game-area #play-section {
  width: 100%;
  height: 100%;
  position: absolute;
  margin-top: -20px;
}
#game-area #play-section #reset-btn {
  position: absolute;
  left: 100%;
  transform: translateX(-100%);
  margin: 40px -40px;
  width: 100px;
  opacity: 0;
}
#game-area #play-section #reset-btn img {
  width: 100%;
  cursor: pointer;
}
#game-area #play-section #reset-btn img:active {
  transform: scale(0.9);
  opacity: 0.9;
  filter: brightness(1.1);
  transition: 0.1s;
}
#game-area #play-section #turn, #game-area #play-section #current-mode {
  position: absolute;
  left: 100%;
  top: 100%;
  transform: translate(-100%, -100%);
  margin: -40px;
  margin-top: -80px;
  opacity: 0;
}
#game-area #play-section #turn p, #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);
}
#game-area #play-section #turn img, #game-area #play-section #current-mode img {
  width: 95%;
  justify-content: center;
  display: flex;
  margin: 0 auto;
  animation: scale 1.5s infinite;
  margin-top: -20px;
}
#game-area #play-section #current-mode {
  left: 0;
  top: 0;
  transform: translateX(0) translateY(0%);
  margin: 20px 80px;
}
#game-area #play-section #current-mode h6 {
  color: gold;
  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);
  margin-top: -30px;
}
#game-area #play-section #board-numbers {
  width: 700px;
  height: auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  top: 40px;
  display: flex;
  justify-content: space-around;
  z-index: 2;
  padding: 7px 20px;
  border: 3px solid #0a2d4b;
  border-radius: 100px;
  opacity: 0;
  margin-left: 20px;
  margin-top: -10px;
  z-index: 2;
}
#game-area #play-section #board-numbers .board-number {
  width: 11%;
  cursor: pointer;
  animation: scale 1.5s infinite;
}
#game-area #play-section #board-numbers .board-number img {
  width: 100%;
}
#game-area #play-section #board-numbers .board-number img:active {
  transform: scale(0.9);
  opacity: 0.9;
  filter: brightness(1.1);
}
#game-area #play-section #board {
  width: 500px;
  height: 427px;
  background: url("/media/games/join-four/images/grid.png");
  background-size: cover;
  left: 50%;
  top: 52%;
  position: absolute;
  transform: translate(-50%, -50%) scale(1.25);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.303);
  border-radius: 50px;
  opacity: 0;
  margin-left: 20px;
}
#game-area #play-section #board #board-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("/media/games/join-four/images/grid-v2.png");
  background-size: cover;
  z-index: 99;
}
#game-area #play-section #board #tiles {
  width: 100%;
  height: 100%;
}
#game-area #play-section #board #tiles .tile {
  position: absolute;
  width: 60px;
  height: 60px;
  transform: translateX(20px) translateY(-100%);
  opacity: 0;
}
#game-area #play-section #board #tiles .tile img {
  width: 100%;
}
#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: -80px;
}
#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: 50px;
}
#game-area #end-section #end-btns div {
  display: flex;
  justify-content: center;
  width: 330px;
  margin: 10px auto;
  cursor: pointer;
  animation: scale 1.5s infinite;
}
#game-area #end-section #end-btns div img {
  width: 100%;
  cursor: pointer;
  transform: scale(0);
  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;
}

@media (max-width: 600px) {
  #game-area #skip-intro-btn {
    top: 15px;
    right: 15px;
    width: 100px;
    height: 100px;
    font-size: 40px;
  }
  #game-area #home-section #home-logo {
    height: 40%;
    margin-top: -50px;
  }
  #game-area #home-section #home-logo img {
    height: 100%;
  }
  #game-area #mode-section, #game-area #difficulty-section {
    padding: 20px;
    margin-top: 200px;
  }
  #game-area #mode-section h1, #game-area #difficulty-section h1 {
    font-size: 100px;
  }
  #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: 70%;
  }
  #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: 130px;
  }
  #game-area #play-section #turn, #game-area #play-section #current-mode {
    margin: -30px;
    margin-top: -80px;
  }
  #game-area #play-section #turn p, #game-area #play-section #current-mode p {
    font-size: 40px;
  }
  #game-area #play-section #turn img, #game-area #play-section #current-mode img {
    width: 100%;
    margin-top: -10px;
  }
  #game-area #play-section #current-mode {
    margin: 40px;
  }
  #game-area #play-section #board-numbers {
    margin: 0;
    transform: translateX(-50%) scale(1);
    margin-top: 160px;
  }
  #game-area #play-section #board-numbers .board-number {
    width: 15%;
  }
  #game-area #play-section #board-numbers .board-number img {
    width: 100%;
  }
  #game-area #play-section #board {
    margin: 0;
    transform: translate(-50%, -50%) scale(1.4);
  }
  #game-area #end-section .content {
    width: 100%;
    text-align: center;
    margin-top: -10px;
  }
  #game-area #end-section #end-logo {
    height: 400px;
  }
  #game-area #end-section #end-btns div {
    width: 70%;
  }
  #game-area #end-section #end-btns div img {
    width: 100%;
  }
}
@media (width: 960px) and (height: 480px) {
  #game-area {
    width: 960px;
    height: 480px;
  }
  #game-area #home-section #home-logo {
    margin-top: -10px;
  }
  #game-area #mode-section h1, #game-area #difficulty-section h1 {
    font-size: 60px;
  }
  #game-area #mode-section #modes, #game-area #mode-section #diff-modes, #game-area #difficulty-section #modes, #game-area #difficulty-section #diff-modes {
    margin-top: 30px;
  }
  #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: 350px;
  }
  #game-area #mode-section #diff-modes, #game-area #difficulty-section #diff-modes {
    margin-top: 30px;
  }
  #game-area #mode-section #diff-modes .mode, #game-area #difficulty-section #diff-modes .mode {
    width: 250px;
  }
  #game-area #play-section {
    width: 100%;
    height: 100%;
    position: absolute;
    margin-top: -20px;
  }
  #game-area #play-section #reset-btn {
    position: absolute;
    left: 100%;
    transform: translateX(-100%);
    margin: 40px -40px;
    width: 100px;
    opacity: 0;
  }
  #game-area #play-section #reset-btn img {
    width: 100%;
    cursor: pointer;
  }
  #game-area #play-section #reset-btn img:active {
    transform: scale(0.9);
    opacity: 0.9;
    filter: brightness(1.1);
    transition: 0.1s;
  }
  #game-area #play-section #turn, #game-area #play-section #current-mode {
    margin-top: -120px;
    margin-left: -90px;
  }
  #game-area #play-section #turn p, #game-area #play-section #current-mode p {
    font-size: 50px;
  }
  #game-area #play-section #turn img, #game-area #play-section #current-mode img {
    width: 65%;
  }
  #game-area #play-section #current-mode {
    left: 0;
    top: 0;
    transform: translateX(0) translateY(0%);
    margin: 20px 80px;
  }
  #game-area #play-section #current-mode h6 {
    color: gold;
    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);
    margin-top: -30px;
  }
  #game-area #play-section #board-numbers {
    transform: translateX(-50%) scale(0.5);
    margin-top: -17px;
  }
  #game-area #play-section #board {
    top: 63%;
    transform: translate(-50%, -50%) scale(0.7);
  }
  #game-area #end-section #end-logo {
    height: 180px;
    margin-top: 20px;
  }
  #game-area #end-section #end-btns {
    margin-top: 20px;
  }
  #game-area #end-section #end-btns div {
    width: 280px;
  }
}

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