@font-face {
  font-family: f;
  src: url("/media/games/granny-quest/fonts/Mont-HeavyDEMO.otf");
}
#full-area {
  width: 100%;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  user-select: none;
}
#full-area #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#full-area #game-area #content {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: absolute;
  padding: 20px;
  z-index: 999999999;
  background: url("/media/games/granny-quest/images/background.png");
  background-size: cover;
  background-position: center center;
}
#full-area #game-area #content #bg-effect {
  width: 100%;
  height: 100%;
  background: #0000007a;
  position: absolute;
  left: 0;
  top: 0;
}
#full-area #game-area #content .btnn {
  width: 300px;
  background: #000000bd;
  cursor: pointer;
  color: white;
  font-size: 37px;
  font-family: f;
  border-radius: 20px;
  border: 2px solid white;
  padding: 12px 0;
  outline: none;
}
#full-area #game-area #content #home-section {
  position: absolute;
  width: 100%;
  height: 100%;
}
#full-area #game-area #content #home-section #logo {
  height: 480px;
  justify-content: center;
  display: flex;
  margin: 0 auto;
  margin-top: 70px;
  animation: logoAnim 1.3s infinite;
}
#full-area #game-area #content #home-section #home-btns {
  width: 70%;
  margin-left: 15%;
  justify-content: space-around;
  display: flex;
  margin-top: 70px;
}
#full-area #game-area #content #home-section #home-btns img {
  width: 350px;
  cursor: pointer;
}
#full-area #game-area #content #level-section {
  width: 100%;
  height: 100%;
  background: url("/media/games/granny-quest/images/choose-level-backer.png");
  background-size: cover;
  position: absolute;
}
#full-area #game-area #content #level-section #bg-effect {
  display: flex;
  justify-content: space-around;
}
#full-area #game-area #content #level-section #bg-effect #level-arrow {
  height: 20%;
  position: relative;
  top: 40%;
  cursor: pointer;
  border-radius: 50%;
  margin-top: -20px;
}
#full-area #game-area #content #level-section #bg-effect #level-arrow img {
  cursor: pointer;
}
#full-area #game-area #content #level-section #bg-effect #levels-area {
  width: 60%;
  height: 60.5%;
  position: relative;
  top: 50%;
  transform: translateY(-50%) scale(1.1);
  background: url("/media/games/granny-quest/images/game-board.png");
  background-size: cover;
  margin-top: -20px;
}
#full-area #game-area #content #level-section #bg-effect #levels-area #level-banner {
  width: 50%;
  transform: translateY(-30%) translateX(-50%);
  position: relative;
  left: 50%;
}
#full-area #game-area #content #level-section #bg-effect #levels-area #levels-overflow {
  width: 93%;
  height: 75%;
  position: relative;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}
#full-area #game-area #content #level-section #bg-effect #levels-area #levels {
  height: 100%;
  width: 200%;
  display: flex;
  flex-wrap: wrap;
  padding: 0 5px;
  position: relative;
  left: 0%;
  align-items: center;
}
#full-area #game-area #content #level-section #bg-effect #levels-area #levels .level {
  width: 125px;
  height: 135px;
  background: url("/media/games/granny-quest/images/choose-level-green-backer.png");
  background-size: cover;
  margin: 8px;
  cursor: pointer;
  opacity: 0.3;
  filter: grayscale(1);
}
#full-area #game-area #content #level-section #bg-effect #levels-area #levels .level p {
  font-size: 70px;
  font-family: f;
  color: white;
  text-align: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 0px 5px 0 #1d4111;
}
#full-area #game-area #content #level-section #bg-effect #levels-area #levels .level:active {
  transform: scale(1.02);
}
#full-area #game-area #content #level-section #bg-effect #levels-area #levels .unlocked {
  opacity: 1;
  filter: grayscale(0);
}
#full-area #game-area #content #end-section {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
#full-area #game-area #content #end-section .content {
  width: 73%;
  height: 73.7%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url("/media/games/granny-quest/images/game-board.png");
  background-size: cover;
}
#full-area #game-area #content #end-section .content #level-completed {
  width: 70%;
  transform: translateY(-30%) translateX(-50%);
  position: relative;
  left: 50%;
}
#full-area #game-area #content #end-section .content #logo2 {
  height: 60%;
  display: flex;
  margin: 0 auto;
  margin-top: -5%;
  z-index: 2;
  position: relative;
  animation: logoAnim 1.3s infinite;
}
#full-area #game-area #content #end-section .content #end-btns {
  display: flex;
  width: 90%;
  margin-left: 5%;
  justify-content: space-around;
  margin-top: 20px;
}
#full-area #game-area #content #end-section .content #end-btns img {
  height: 80px;
  cursor: pointer;
}
#full-area #game-area #content #play-section {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
#full-area #game-area #content #play-section h1 {
  font-family: f;
  color: #d69a75;
  font-size: 33px;
  text-transform: uppercase;
  position: relative;
  top: 10%;
  left: 32px;
  transform: translateY(-130%);
  text-shadow: 0px 4px 0 #5d330f;
  letter-spacing: 2px;
}
#full-area #game-area #content #play-section #arrows {
  position: absolute;
  left: 98.5%;
  top: 86%;
  transform: translate(-100%, -100%);
}
#full-area #game-area #content #play-section #arrows div {
  display: flex;
  justify-content: center;
}
#full-area #game-area #content #play-section #arrows div img {
  margin: 2.5px;
  width: 60px;
  cursor: pointer;
}
#full-area #game-area #content #play-section #arrows div img:active {
  transform: scale(1.02);
}
#full-area #game-area #content #play-section #game-info {
  width: 14%;
  height: 60%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: absolute;
  left: 98%;
  transform: translateX(-100%);
}
#full-area #game-area #content #play-section #game-info #level {
  background: url("/media/games/granny-quest/images/level-backer.png");
  background-size: cover;
  width: 150px;
  height: 109px;
}
#full-area #game-area #content #play-section #game-info #level p {
  color: #d39d6f;
  font-family: f;
  font-size: 60px;
  margin-top: -5px;
  text-align: center;
}
#full-area #game-area #content #play-section #game-info #choose-level-btn {
  background: url("/media/games/granny-quest/images/choose-level-button.png");
  background-size: cover;
  height: 100px;
  width: 113px;
  cursor: pointer;
}
#full-area #game-area #content #play-section #game-info #choose-level-btn:active {
  transform: scale(1.02);
}
#full-area #game-area #content #play-section #game-info #choose-level-btn p {
  text-align: center;
  font-family: f;
  color: white;
  font-size: 20px;
  line-height: 25px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 0px 4px 0 #5d330f;
}
#full-area #game-area #content #play-section #game-info #choose-level-btn p span {
  font-size: 30px;
}
#full-area #game-area #content #play-section #game-info img {
  height: 100px;
  position: relative;
  cursor: pointer;
  border-radius: 10px;
}
#full-area #game-area #content #play-section #game-info img:active {
  transform: scale(1.02);
}
#full-area #game-area #content #play-section #game-board {
  height: 532px;
  width: 937px;
  position: absolute;
  top: 49%;
  left: 43%;
  transform: translate(-50%, -50%);
  background: url("/media/games/granny-quest/images/game-board.png");
  background-size: cover;
}
#full-area #game-area #content #play-section #game-board #grid {
  width: 899.52px;
  height: 92%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 35px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}
#full-area #game-area #content #play-section #game-board #grid #character {
  position: absolute;
  width: 11%;
  left: 0;
  top: 0;
  margin-top: -1.5%;
  margin-left: -0.5%;
  z-index: 2;
  opacity: 0;
  transform: translateX(0px) translateY(0px);
}
#full-area #game-area #content #play-section #game-board #grid #character img {
  width: 100%;
  height: 100%;
  transform: rotateY(0deg);
  margin-left: 0px;
}
#full-area #game-area #content #play-section #game-board #grid #character .left {
  transform: rotateY(180deg);
  margin-left: -17px;
}
#full-area #game-area #content #play-section #game-board #grid .grid {
  width: 6.6%;
  height: 12.5%;
  border: 1px solid rgba(0, 0, 0, 0.123);
}
#full-area #game-area #content #play-section #game-board #grid .grid img {
  max-width: 80%;
  max-height: 80%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0.2;
}
#full-area #game-area #content #play-section #game-board #grid .grid:nth-child(2) {
  background: #427638;
}
#full-area #game-area #content #play-section #game-board #grid .win {
  background: #ffad00;
}
#full-area #game-area #content #play-section #game-board #grid .win img {
  max-width: 90%;
  max-height: 90%;
}

.end {
  animation: end 1s ease-out;
  animation-fill-mode: forwards;
}

@keyframes winAnim {
  0% {
    transform: rotate(0deg) scale(1);
    margin-left: -10px;
    opacity: 1;
  }
  100% {
    transform: rotate(-360deg) scale(0);
    margin-left: -10px;
    opacity: 0;
  }
}
@keyframes winAnim2 {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
}
@keyframes btnAnim {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes logoAnim {
  0% {
    transform: scale(1) rotate(-5deg);
  }
  50% {
    transform: scale(0.96) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(-5deg);
  }
}
@media (max-width: 600px) {
  #full-area #game-area #content #home-section #logo {
    height: 450px;
    margin-top: 300px;
  }
  #full-area #game-area #content #level-section #bg-effect #levels-area {
    margin-top: -150px;
    margin-left: -160px;
    min-width: 687px;
    height: 390px;
  }
  #full-area #game-area #content #level-section #bg-effect #levels-area #levels {
    width: 1280px;
    height: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  #full-area #game-area #content #level-section #bg-effect #levels-area #levels .level {
    width: 111px;
    height: 120px;
  }
  #full-area #game-area #content #level-section #bg-effect #level-arrow {
    margin-top: 250px;
    background: #000;
  }
  #full-area #game-area #content #level-section #bg-effect #level-arrow:nth-child(1) {
    left: 90px;
  }
  #full-area #game-area #content #level-section #bg-effect #level-arrow:nth-child(3) {
    left: -250px;
  }
  #full-area #game-area #content #play-section #game-board {
    transform: translate(-50%, -50%) scale(0.8);
    left: 50%;
  }
  #full-area #game-area #content #play-section #arrows {
    transform: translate(-50%, -100%) scale(1.7);
    left: 50%;
    margin-left: 0;
  }
  #full-area #game-area #content #play-section h1 {
    font-size: 45px;
    width: 100%;
    text-align: center;
    left: 0;
    margin-left: 0;
    text-wrap: nowrap;
  }
  #full-area #game-area #content #play-section #game-info {
    height: 100px;
    width: 75%;
    display: flex;
    justify-content: space-between;
    margin-top: 110px;
    left: 50%;
    transform: translateX(-50%) scale(1.2);
  }
  #full-area #game-area #content #play-section #game-info #level {
    margin-top: -10px;
  }
  #full-area #game-area #content #play-section #game-info #reload-btn {
    margin-left: 60px;
  }
  #full-area #game-area #content #end-section .content {
    width: 90%;
    height: 34.5%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #full-area #game-area #content #end-section .content #level-completed {
    width: 80%;
    transform: translateY(-30%) translateX(-50%);
    position: relative;
    left: 50%;
  }
  #full-area #game-area #content #end-section .content #end-btns {
    margin-top: 50px;
  }
}
@media (width: 960px) and (height: 480px) {
  #full-area #game-area {
    width: 960px;
    height: 480px;
  }
  #full-area #game-area #content .btnn {
    width: 300px;
    background: #000000bd;
    cursor: pointer;
    color: white;
    font-size: 37px;
    font-family: f;
    border-radius: 20px;
    border: 2px solid white;
    padding: 12px 0;
    outline: none;
  }
  #full-area #game-area #content #home-section #logo {
    height: 300px;
    margin-top: 40px;
  }
  #full-area #game-area #content #home-section #home-btns {
    width: 70%;
    margin-left: 15%;
    justify-content: space-around;
    display: flex;
    margin-top: 70px;
  }
  #full-area #game-area #content #home-section #home-btns img {
    width: 350px;
    cursor: pointer;
  }
  #full-area #game-area #content #level-section #bg-effect #level-arrow {
    height: 20%;
    position: relative;
    top: 40%;
    cursor: pointer;
    border-radius: 50%;
    margin-top: -20px;
  }
  #full-area #game-area #content #level-section #bg-effect #level-arrow img {
    cursor: pointer;
  }
  #full-area #game-area #content #level-section #bg-effect #levels-area {
    width: 565px;
    height: 320px;
    top: 58%;
  }
  #full-area #game-area #content #level-section #bg-effect #levels-area #levels .level {
    width: 88px;
    height: 95px;
  }
  #full-area #game-area #content #end-section .content {
    height: 345px;
    width: 607px;
    top: 53%;
  }
  #full-area #game-area #content #end-section .content #logo2 {
    height: 55%;
    display: flex;
    margin: 0 auto;
    margin-top: -5%;
    z-index: 2;
    position: relative;
    animation: logoAnim 1.3s infinite;
  }
  #full-area #game-area #content #end-section .content #end-btns {
    display: flex;
    width: 70%;
    margin-left: 10.2%;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
  }
  #full-area #game-area #content #end-section .content #end-btns img {
    height: 60px;
    cursor: pointer;
  }
  #full-area #game-area #content #play-section h1 {
    font-size: 20px;
  }
  #full-area #game-area #content #play-section #arrows {
    left: 98.5%;
    top: 98.7%;
  }
  #full-area #game-area #content #play-section #arrows div img {
    width: 45px;
  }
  #full-area #game-area #content #play-section #game-info {
    width: 14%;
    height: 60%;
    left: 98%;
  }
  #full-area #game-area #content #play-section #game-info #level {
    width: 120px;
    height: 89px;
    margin-top: -25px;
  }
  #full-area #game-area #content #play-section #game-info #level p {
    font-size: 50px;
  }
  #full-area #game-area #content #play-section #game-info #choose-level-btn {
    height: 85px;
    width: 95px;
    margin-top: 5px;
  }
  #full-area #game-area #content #play-section #game-info #choose-level-btn p {
    margin-top: -3px;
    font-size: 15px;
  }
  #full-area #game-area #content #play-section #game-info #choose-level-btn p span {
    font-size: 25px;
  }
  #full-area #game-area #content #play-section #game-info img {
    margin-top: 15px;
    height: 55px;
  }
  #full-area #game-area #content #play-section #game-board {
    top: -15%;
    left: 0;
    transform: scale(0.62);
  }
  #full-area #game-area #content #play-section #game-board #grid {
    border-radius: 25px;
  }
  #full-area #game-area #content #play-section #game-board #grid .grid {
    width: 6.6%;
    height: 12.5%;
    border: 1px solid rgba(0, 0, 0, 0.123);
  }
  #full-area #game-area #content #play-section #game-board #grid .grid img {
    max-width: 80%;
    max-height: 80%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.2;
  }
  #full-area #game-area #content #play-section #game-board #grid .grid:nth-child(2) {
    background: #427638;
  }
  #full-area #game-area #content #play-section #game-board #grid .win {
    background: #ffad00;
  }
  #full-area #game-area #content #play-section #game-board #grid .win img {
    max-width: 90%;
    max-height: 90%;
  }
}

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