@font-face {
  font-family: duckjump8;
  src: url("/media/games/duck-and-jump/fonts/8-bit-wonder.otf");
}
#full-area {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #51c7fe;
  font-family: duckjump8, sans-serif;
}
#full-area #game-area {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  background: #51c7fe;
  touch-action: none;
  cursor: default;
}
#full-area #game-area #duck-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
#full-area #game-area .dj-px {
  display: inline-block;
  line-height: 0;
  pointer-events: none;
}
#full-area #game-area .dj-px canvas {
  display: block;
}
#full-area #game-area .dj-pxbtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: #51c7fe;
  box-shadow: inset 0 5px 0 0 #b9eeff, inset 0 -8px 0 0 #2595d4, 0 -5px 0 0 #000, 0 5px 0 0 #000, -5px 0 0 0 #000, 5px 0 0 0 #000, 0 11px 0 0 #000;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.06s ease, box-shadow 0.06s ease, filter 0.12s ease;
}
@media (hover: hover) {
  #full-area #game-area .dj-pxbtn:hover {
    filter: brightness(1.08);
  }
}
#full-area #game-area .dj-pxbtn:focus-visible {
  filter: brightness(1.12);
  outline: 4px dashed #ffffff;
  outline-offset: 10px;
}
#full-area #game-area .dj-pxbtn:active, #full-area #game-area .dj-pxbtn.is-press {
  transform: translateY(5px);
  box-shadow: inset 0 5px 0 0 #b9eeff, inset 0 -4px 0 0 #2595d4, 0 -5px 0 0 #000, 0 5px 0 0 #000, -5px 0 0 0 #000, 5px 0 0 0 #000, 0 6px 0 0 #000;
}
#full-area #game-area .dj-pxbtn-alt {
  background: #ffe9bd;
  box-shadow: inset 0 5px 0 0 #fff7e2, inset 0 -8px 0 0 #e7b45c, 0 -5px 0 0 #000, 0 5px 0 0 #000, -5px 0 0 0 #000, 5px 0 0 0 #000, 0 11px 0 0 #000;
}
#full-area #game-area .dj-pxbtn-alt:active, #full-area #game-area .dj-pxbtn-alt.is-press {
  box-shadow: inset 0 5px 0 0 #fff7e2, inset 0 -4px 0 0 #e7b45c, 0 -5px 0 0 #000, 0 5px 0 0 #000, -5px 0 0 0 #000, 5px 0 0 0 #000, 0 6px 0 0 #000;
}
#full-area #game-area #home-section {
  position: absolute;
  inset: 0;
  z-index: 30;
  cursor: pointer;
}
#full-area #game-area #home-section #play-btn {
  position: absolute;
  left: 516px;
  top: 292px;
  width: 248px;
  height: 160px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  outline: none;
}
#full-area #game-area #home-section #play-btn:focus-visible {
  outline: 4px dashed #ffffff;
  outline-offset: 4px;
}
#full-area #game-area #end-section {
  position: absolute;
  inset: 0;
  z-index: 30;
}
#full-area #game-area #end-section #end-modal {
  position: absolute;
  left: 263px;
  top: 214px;
  width: 754px;
  height: 425px;
  box-sizing: border-box;
  padding: 130px 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: url("/media/games/duck-and-jump/images/landscape-modal.png") 0 0/100% 100% no-repeat;
  image-rendering: pixelated;
  animation: dj-card-in 0.42s cubic-bezier(0.2, 1.25, 0.4, 1) both;
}
#full-area #game-area #end-section #end-modal #new-best {
  position: absolute;
  left: 452px;
  top: 64px;
  transform: rotate(-6deg);
  animation: dj-badge 1s steps(2) infinite;
}
#full-area #game-area #end-section #end-modal #end-stats {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 64px;
}
#full-area #game-area #end-section #end-modal #end-stats .end-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}
#full-area #game-area #end-section #end-modal #pancake-scene {
  position: relative;
  width: 520px;
  height: 100px;
  flex: 0 0 auto;
}
#full-area #game-area #end-section #end-modal #pancake-scene img {
  position: absolute;
  image-rendering: pixelated;
  pointer-events: none;
}
#full-area #game-area #end-section #end-modal #pancake-scene #pancake-table {
  left: 50%;
  bottom: -16px;
  z-index: 3;
  width: 128px;
  transform: translateX(-50%);
}
#full-area #game-area #end-section #end-modal #pancake-scene #pancake-frog {
  left: 50%;
  bottom: 58px;
  z-index: 2;
  width: 96px;
  transform: translateX(-50%);
  animation: dj-frog-eat 0.6s steps(2) infinite;
}
#full-area #game-area #end-section #end-modal #pancake-scene .pancake-shark {
  bottom: -6px;
  z-index: 1;
  width: 100px;
  animation: dj-cheer 0.7s steps(2) infinite;
}
#full-area #game-area #end-section #end-modal #pancake-scene .pancake-shark.shark-l1 {
  left: 62px;
}
#full-area #game-area #end-section #end-modal #pancake-scene .pancake-shark.shark-l2 {
  left: 122px;
  bottom: -16px;
  z-index: 4;
  animation-delay: 0.35s;
}
#full-area #game-area #end-section #end-modal #pancake-scene .pancake-shark.shark-r1 {
  right: 62px;
  transform: scaleX(-1);
  animation-name: dj-cheer-flip;
  animation-delay: 0.2s;
}
#full-area #game-area #end-section #end-modal #pancake-scene .pancake-shark.shark-r2 {
  right: 122px;
  bottom: -16px;
  z-index: 4;
  transform: scaleX(-1);
  animation-name: dj-cheer-flip;
  animation-delay: 0.55s;
}
#full-area #game-area #end-section #end-modal #end-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding-bottom: 6px;
}
#full-area #game-area #end-section #end-modal #end-btns #again-btn {
  height: 60px;
  padding: 0 26px;
}
#full-area #game-area #end-section #end-modal #end-btns #again-btn .dj-px {
  animation: dj-pulse 0.755s ease-out infinite;
}
#full-area #game-area #end-section #end-modal #end-btns #switch-btn {
  height: 48px;
  padding: 0 20px;
}

@keyframes dj-card-in {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dj-badge {
  0%, 100% {
    transform: rotate(-6deg) scale(1);
  }
  50% {
    transform: rotate(-6deg) scale(1.08);
  }
}
@keyframes dj-frog-eat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}
@keyframes dj-cheer {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes dj-cheer-flip {
  0%, 100% {
    transform: scaleX(-1) translateY(0);
  }
  50% {
    transform: scaleX(-1) translateY(-8px);
  }
}
@keyframes dj-pulse {
  0% {
    transform: scale(1.1);
  }
  40%, 100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  #full-area #game-area #end-section #end-modal,
#full-area #game-area #end-section #end-modal #new-best,
#full-area #game-area #end-section #end-modal #pancake-scene img,
#full-area #game-area #end-section #end-modal #end-btns #again-btn .dj-px {
    animation: none;
  }
}

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