@font-face {
  font-family: f;
  src: url("/media/fonts/LilitaOne-Regular.ttf");
}
@font-face {
  font-family: f2;
  src: url("/media/games/pizza-perfect/fonts/Bookerly Display Italic.ttf");
}
body {
  padding: 0;
  margin: 0;
}

::-webkit-scrollbar {
  width: 10px;
  background: transparent;
  height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.327);
  height: 7px;
  border-radius: 100px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #8ec3de;
  border-radius: 100px;
}

#full-area {
  width: 100%;
  height: 100vh;
  background: #000;
  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;
  z-index: 999999999;
  background: url("/media/games/pizza-perfect/images/restaurant/plain-brick.jpg");
  background-size: cover;
  background-position: top center;
}
#full-area #game-area #content .btnn {
  width: 300px;
  background: rgba(0, 0, 0, 0.7411764706);
  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 {
  background: url("/media/games/pizza-perfect/images/restaurant/kitchen-background.jpg") no-repeat center center/cover;
}
#full-area #game-area #content #home-section, #full-area #game-area #content #topscores-section {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#full-area #game-area #content #home-section #logo, #full-area #game-area #content #topscores-section #logo {
  height: 350px;
  justify-content: center;
  display: flex;
  animation: logoAnim 1.3s infinite;
  margin-top: -80px;
}
#full-area #game-area #content #home-section #result, #full-area #game-area #content #topscores-section #result {
  position: absolute;
  display: flex;
  font-family: f;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  display: none;
}
#full-area #game-area #content #home-section #result p, #full-area #game-area #content #topscores-section #result p {
  font-size: 40px;
  margin-top: 240px;
}
#full-area #game-area #content #home-section #result img, #full-area #game-area #content #topscores-section #result img {
  height: 40px;
  margin-top: 8px;
  margin-left: 10px;
  display: none;
}
#full-area #game-area #content #home-section #home-btns, #full-area #game-area #content #home-section #topscores-btns, #full-area #game-area #content #topscores-section #home-btns, #full-area #game-area #content #topscores-section #topscores-btns {
  width: 100%;
  justify-content: center;
  display: flex;
  gap: 50px;
  margin-top: 150px;
}
#full-area #game-area #content #home-section #topscores-btns, #full-area #game-area #content #topscores-section #topscores-btns {
  margin-top: 30px;
}
#full-area #game-area #content #play-section {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 20px;
}
#full-area #game-area #content #play-section #header {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
#full-area #game-area #content #play-section #header .btnn {
  border: none;
  font-size: 35px;
  padding: 3px 40px;
  width: auto;
  outline: none;
  cursor: default;
}
#full-area #game-area #content #play-section #header h2 {
  color: white;
  font-family: f;
  letter-spacing: 2px;
  font-size: 50px;
  margin-top: 10px;
  display: none;
  letter-spacing: 1px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.705);
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.705);
  text-transform: capitalize;
}
#full-area #game-area #content #play-section #answer-screen {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url("/media/games/pizza-perfect/images/silver-bg.jpg");
  background-size: cover;
}
#full-area #game-area #content #play-section #answer-screen #ingredients, #full-area #game-area #content #play-section #answer-screen #answers {
  width: 100%;
  display: flex;
  position: absolute;
  top: 93%;
  transform: translateY(-110%);
  overflow-x: scroll;
  overflow-y: hidden;
  height: 190px;
  margin-left: 0%;
  padding: 0 20px;
}
#full-area #game-area #content #play-section #answer-screen #ingredients::-webkit-scrollbar, #full-area #game-area #content #play-section #answer-screen #answers::-webkit-scrollbar {
  display: none;
}
#full-area #game-area #content #play-section #answer-screen #ingredients .ingredient, #full-area #game-area #content #play-section #answer-screen #ingredients .answer, #full-area #game-area #content #play-section #answer-screen #answers .ingredient, #full-area #game-area #content #play-section #answer-screen #answers .answer {
  width: 180px;
  min-width: 180px;
  height: 141px;
  min-height: 141px;
  background: url("/media/games/pizza-perfect/images/counter_top_container_one_by_one.png");
  background-size: cover;
  margin: 0 0%;
  cursor: pointer;
}
#full-area #game-area #content #play-section #answer-screen #ingredients .ingredient img, #full-area #game-area #content #play-section #answer-screen #ingredients .answer img, #full-area #game-area #content #play-section #answer-screen #answers .ingredient img, #full-area #game-area #content #play-section #answer-screen #answers .answer img {
  max-height: 80%;
  min-width: 95%;
  position: relative;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#full-area #game-area #content #play-section #answer-screen #ingredients .ingredient p, #full-area #game-area #content #play-section #answer-screen #ingredients .answer p, #full-area #game-area #content #play-section #answer-screen #answers .ingredient p, #full-area #game-area #content #play-section #answer-screen #answers .answer p {
  position: relative;
  width: 100%;
  text-align: center;
  top: 20px;
  font-size: 25px;
  font-family: f;
  color: white;
  line-height: 30px;
  text-transform: capitalize;
  padding-left: 15px;
  letter-spacing: 1px;
}
#full-area #game-area #content #play-section #answer-screen #ingredients .disabled, #full-area #game-area #content #play-section #answer-screen #answers .disabled {
  opacity: 0.2;
  transition: 0.2s;
}
#full-area #game-area #content #play-section #answer-screen #answers {
  top: 43%;
  transform: translateY(-50%) translateX(-50%);
  width: auto;
  max-width: 100%;
  justify-content: default;
  margin-left: 0%;
  height: 290px;
  left: 50%;
  padding: 0 10%;
  padding-left: 10%;
}
#full-area #game-area #content #play-section #answer-screen #answers::-webkit-scrollbar {
  display: none;
}
#full-area #game-area #content #play-section #answer-screen #answers .answer {
  width: 200px;
  min-width: 200px;
  min-height: 200px;
  height: 200px;
  background: url("/media/games/pizza-perfect/images/ingredient_holder.png");
  background-size: cover;
  transform: scale(0);
  cursor: default;
  margin: 0 1%;
}
#full-area #game-area #content #play-section #answer-screen #answers .answer img {
  max-height: 100%;
  min-width: 0%;
  width: 90%;
  position: relative;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#full-area #game-area #content #play-section #answer-screen #answers .answer p {
  margin-top: 5px;
  position: absolute;
  top: 100%;
  padding: 0;
}
#full-area #game-area #content #play-section #answer-screen #answers .zoomed {
  transform: scale(1.1);
  transition: 0.2s;
}
#full-area #game-area #content #play-section #pizza-screen {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
}
#full-area #game-area #content #play-section #pizza-screen #result-popup {
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.631372549);
  z-index: 99;
  display: none;
}
#full-area #game-area #content #play-section #pizza-screen #result-popup div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 60%;
}
#full-area #game-area #content #play-section #pizza-screen #result-popup div img {
  display: none;
  height: 100%;
}
#full-area #game-area #content #play-section #pizza-screen #pizza {
  width: 100%;
  height: 50%;
}
#full-area #game-area #content #play-section #pizza-screen #pizza img {
  position: absolute;
  max-height: 50%;
  left: 50%;
  transform: translateX(-50%);
}
#full-area #game-area #content #play-section #pizza-screen #pizza .base {
  max-height: 60%;
}
#full-area #game-area #content #play-section #pizza-screen #pizza .ingredient {
  max-height: 45%;
}
#full-area #game-area #content #play-section #pizza-screen #timer {
  position: absolute;
  top: 92%;
  left: 0%;
  margin: -50px 50px;
  transform: translateY(-100%) scale(1.3);
}
#full-area #game-area #content #play-section #pizza-screen #timer #type1 {
  width: 100px;
  height: 133px;
  background: url("/media/games/pizza-perfect/images/type-5.png");
  background-size: cover;
}
#full-area #game-area #content #play-section #pizza-screen #timer #type1 img {
  height: 27%;
  left: 50%;
  position: relative;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
}
#full-area #game-area #content #play-section #pizza-screen #timer #type2 {
  width: 100px;
  height: 46px;
  background: url("/media/games/pizza-perfect/images/timer-text-plate.png");
  background-size: cover;
  margin-top: 10px;
}
#full-area #game-area #content #play-section #pizza-screen #timer #type2 p {
  width: 100%;
  text-align: center;
  font-family: f;
  font-size: 25px;
  color: black;
  top: 50%;
  position: relative;
  transform: translateY(-48%);
}
#full-area #game-area #content #play-section #pizza-screen #pizza-text {
  width: 100%;
  padding: 0 15%;
}
#full-area #game-area #content #play-section #pizza-screen #pizza-text p {
  color: white;
  font-family: f;
  letter-spacing: 0px;
  font-size: 40px;
  text-align: center;
  line-height: 45px;
  background: rgba(255, 255, 255, 0.568);
  width: 100%;
  max-width: 900px;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  padding: 10px 20px;
  border: 4px solid white;
  border-radius: 20px;
  box-shadow: 0 0 10px #000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  letter-spacing: 1px;
  text-shadow: 0 3px 0 black;
  -webkit-text-stroke: 2px black;
}
#full-area #restaurant-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url("/media/games/pizza-perfect/images/restaurant/kitchen-background.jpg") no-repeat center center/cover;
  z-index: -1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 5%;
}
#full-area #restaurant-view #intro-man {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-height: 100%;
  min-width: 100%;
  z-index: 1;
}
#full-area #restaurant-view .restaurant-chef {
  position: relative;
  height: 90%;
  width: auto;
  transform: none;
  z-index: 1;
}
#full-area #restaurant-view .restaurant-counter {
  position: absolute;
  bottom: 0%;
  left: 0;
  width: 100%;
  z-index: 2;
}
#full-area #italian-speech-bubble {
  font-size: 3vh;
  position: absolute;
  top: 10%;
  left: 30%;
  width: 35%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}
#full-area #italian-bubble-text {
  position: absolute;
  top: 12%;
  left: 31%;
  width: 33%;
  height: 29%;
  display: block;
  /* instead of grid */
  text-align: center;
  font-family: f, sans-serif;
  color: black;
  line-height: 1.2;
  padding: 2%;
  margin: 0;
  white-space: normal;
  word-break: break-word;
  overflow: hidden;
  text-wrap: wrap;
  z-index: 1;
  border-radius: 37px;
  box-sizing: border-box;
}
#full-area .italian-typing-content {
  width: 100%;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}
@keyframes bubblePop {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
#full-area #italian-speech-bubble.bubble-pop,
#full-area #italian-bubble-text.bubble-pop {
  animation: bubblePop 0.5s ease-out forwards;
}
#full-area #shop-view {
  position: absolute;
  top: 0;
  font-size: 3vh;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url("/media/games/pizza-perfect/images/restaurant/plain-brick.jpg") no-repeat center center/cover;
  z-index: -1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 5%;
}
#full-area #shop-view .restaurant-chef {
  position: absolute;
  bottom: -100%; /* hidden */
  left: 50%;
  transform: translateX(-50%);
  height: 90%;
  width: auto;
  z-index: 1;
  transition: bottom 0.5s ease-out; /* smooth movement */
}
#full-area #shop-view .restaurant-chef.up {
  bottom: 0; /* visible above counter */
}
#full-area #shop-view .restaurant-counter {
  position: absolute;
  bottom: -15%;
  left: 0;
  width: 100%;
  z-index: 2;
}
#full-area .scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 999;
  line-height: 0;
}
#full-area .scroll-btn:focus,
#full-area .scroll-btn:active {
  outline: none;
  border: none;
  box-shadow: none;
}
#full-area .scroll-btn::-moz-focus-inner {
  border: 0;
}
#full-area .scroll-btn img {
  display: block;
  width: 12vh;
  height: auto;
  transition: transform 0.1s ease;
}
#full-area .scroll-btn.pressed img {
  transform: scale(0.9);
}
#full-area .scroll-btn.left {
  left: 10px;
}
#full-area .scroll-btn.right {
  right: 10px;
}

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

@keyframes clock {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: 50% 100%;
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
    transform-origin: 50% 90%;
  }
}
@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);
  }
}
/* Optional: If you want the text to align left inside the footer but also maintain some distance from the sides */
.speedPopUp {
  position: fixed; /* Fixed position relative to the viewport */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* Center the element */
  width: 50vw; /* Responsive width */
  height: 50vh; /* Responsive height */
  background-image: url("/media/games/pizza-perfect/images/speedy-answer.png");
  background-size: contain; /* Ensure the image fits inside the element */
  background-repeat: no-repeat; /* No repetition of the image */
  background-position: center; /* Center the background image */
  border-radius: 10px; /* Rounded corners */
  display: none; /* Not displayed initially */
  z-index: 100; /* Ensure it's above other content */
  /* Additional styles for content centering and padding */
  display: none;
  justify-content: center;
  pointer-events: none;
  align-items: center;
  padding: 2vw; /* Padding relative to the viewport width */
  box-sizing: border-box;
}

.popup-container {
  position: fixed; /* or use 'absolute' if it's within another positioned element */
  top: 0;
  pointer-events: none;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Class to be added when the popup is visible */
.speedPopUp.visible {
  display: flex; /* Assuming flex from previous configuration */
  opacity: 1;
}

/* Class to be added for hiding the popup */
.speedPopUp.hidden {
  opacity: 0;
}

.level {
  transition: transform 0.3s ease;
}

.pressed {
  transform: scale(0.5); /* Adjust the scale to a suitable level */
}

#full-area #game-area #content #top-info2 {
  width: 100%;
  opacity: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

#full-area #game-area #content #top-info2 {
  padding: 3px 30px;
  border: none;
  color: white;
  font-weight: 500;
  font-size: 7vh;
  opacity: 1;
  font-family: f;
  cursor: default;
  text-shadow: 0px 1px 1px black;
}

#loadingAnim {
  background: transparent !important;
}

@keyframes bubblePop {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
#restaurant-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url("/media/games/pizza-perfect/images/restaurant/kitchen-background.jpg") no-repeat center center/cover;
  z-index: -1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 5%;
}

#restaurant-view .restaurant-chef {
  position: relative;
  height: 90%;
  width: auto;
  transform: none;
  z-index: 1;
}

#restaurant-view .restaurant-counter {
  position: absolute;
  bottom: 0%;
  left: 0;
  width: 100%;
  z-index: 2;
}

#italian-speech-bubble {
  font-size: 3vh;
  position: absolute;
  top: 10%;
  left: 30%;
  width: 35%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

#italian-bubble-text {
  position: absolute;
  top: 7%;
  left: 27%;
  width: 40%;
  height: 40%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: f, sans-serif;
  color: black;
  line-height: 1.2;
  padding: 2%;
  margin: 0;
  white-space: normal;
  word-break: break-word;
  overflow: hidden;
  z-index: 1;
}

@keyframes bubblePop {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
#italian-speech-bubble.bubble-pop,
#italian-bubble-text.bubble-pop {
  animation: bubblePop 0.5s ease-out forwards;
}

#shop-view {
  position: absolute;
  top: 0;
  font-size: 3vh;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url("/media/games/pizza-perfect/images/restaurant/plain-brick.jpg") no-repeat center center/cover;
  z-index: -1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 5%;
}

#shop-view .restaurant-chef {
  position: absolute;
  bottom: -100%; /* hidden */
  left: 50%;
  transform: translateX(-50%);
  height: 90%;
  width: auto;
  z-index: 1;
  transition: bottom 0.5s ease-out; /* smooth movement */
}

#shop-view .restaurant-chef.up {
  bottom: 0; /* visible above counter */
}

#shop-view .restaurant-counter {
  position: absolute;
  bottom: -15%;
  left: 0;
  width: 100%;
  z-index: 2;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 999;
  line-height: 0;
}

.scroll-btn:focus,
.scroll-btn:active {
  outline: none;
  border: none;
  box-shadow: none;
}

.scroll-btn::-moz-focus-inner {
  border: 0;
}

.scroll-btn img {
  display: block;
  width: 12vh;
  height: auto;
  transition: transform 0.1s ease;
}

.scroll-btn.pressed img {
  transform: scale(0.9);
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

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