@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@100..900&display=swap");
* {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

html {
  background-color: 323232;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

.block-image img {
  display: block;
  max-width: 100%;
}

.divider {
  margin: 20px 0;
  background: transparent;
  height: 1px;
}
.divider--margin-small {
  margin: 5px 0;
}
.divider--margin-small-extra {
  margin: 2.5px 0;
}
.divider--margin-big {
  margin: 30px 0;
}
.divider--margin-normal {
  margin: 10px 0;
}
.divider--margin-big-extra {
  margin: 45px 0;
}

.content {
  font-size: 14px;
  line-height: 1.4;
}
.content iframe {
  width: 100%;
  height: 25vh;
  margin-bottom: 15px;
}
.content p {
  margin: 0 0 10px;
}
.content strong {
  font-weight: bold;
}
.content ol {
  padding-left: 22px;
  margin-top: 4px;
}
.content ol li {
  padding-bottom: 6px;
}

/* CSS for Centering Content */
body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: 323232;
  color: #323232;
}

.popup {
  position: fixed;
  z-index: 1010;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-flow: column;
  transition: all ease 300ms;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}
.popup.hide {
  opacity: 0;
  pointer-events: none;
}
.popup-close {
  width: 100%;
  padding: 10px 10px 15px;
}
.popup-close .block-image {
  width: 40px;
  margin: 0 auto;
}
.popup-box {
  margin: 0 20px 20px;
  position: relative;
}
.popup-box__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 86%;
  overflow-y: auto;
  padding: 0 25px 0;
  margin-top: 35px;
}
.popup-box__content h5 {
  margin: 0 0 10px;
  font-weight: bold;
  font-size: 24px;
}
.popup-box__content a {
  display: block;
}
.popup-box img {
  display: block;
  width: 100%;
}

.resep-list {
  display: flex;
  flex-wrap: wrap;
}
.resep-list a {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

.produk-opt {
  overflow-x: auto;
  position: relative;
  padding-bottom: 10px;
  margin-top: 20px;
}
.produk-opt__wrapper {
  width: 500px;
  display: flex;
  align-items: center;
}
.produk-opt__wrapper > div {
  width: 16.666%;
  border: 1px solid #D6BA78;
  border-radius: 5px;
  background-color: rgba(227, 210, 169, 0.568627451);
  margin-right: 10px;
  padding: 10px 0;
}
.produk-opt__wrapper > div.active {
  background-color: rgba(214, 175, 78, 0.4901960784);
}
.produk-list {
  display: flex;
  flex-wrap: wrap;
}
.produk-list a {
  display: block;
  width: 50%;
  padding: 8px;
}

.menu {
  background: url("../assets/image/bg_menu.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.button-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  place-self: center;
}

.button-list img {
  cursor: pointer;
}

.tutorial {
  background: url("assets/image/bg_tutorial.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.tutorial img {
  width: 120vw;
  min-width: 100px;
  max-width: 600px;
  height: auto;
  display: none;
  cursor: pointer;
}

.tutorial img.active {
  display: block;
}

/* CSS for Page Content */
.page {
  position: absolute;
  z-index: 10;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  max-width: 510px;
  text-align: center;
  background-color: black;
}

.page-gameplay {
  display: none;
  justify-content: center;
  align-items: top;
  width: 100%;
  height: 100%;
  text-align: center;
  pointer-events: none;
}

.page.active {
  display: grid;
}

.page-gameplay.active {
  display: grid;
  position: absolute;
  z-index: 2;
}

/* a-scene {
   position: absolute;
   z-index: -1;
} */
.gameplay-topbar {
  color: white;
  width: 100vw;
  height: 150px; /* Adjust height as needed */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-image {
  width: 120px; /* Adjust image size as needed */
  height: auto;
  margin-left: 1rem;
}

.right-image {
  width: 220px; /* Adjust image size as needed */
  height: auto;
}

.right-image .score-timer {
  position: absolute;
  width: inherit;
  height: inherit;
}

#scoreGameplay {
  font-size: 1.5rem;
  transform: translate(-26px, -88px);
}

#timerGameplay {
  font-size: 4rem;
  text-shadow: -2px -2px 0 #220b00, 2px -2px 0 #220b00, -2px 2px 0 #220b00, 2px 2px 0 #220b00;
  transform: translate(55px, -200px);
}

.bottom-centered {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 10px 20px;
  padding-bottom: 2rem;
  border-radius: 5px;
}

.bottom-centered img {
  width: 70vw;
  min-width: 100px;
  max-width: 300px;
  height: auto;
}

.result {
  background-color: rgba(0, 0, 0, 0.75);
  background: url("assets/image/bg_result.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
  z-index: 2;
}

.result .frame {
  width: 120vw;
  min-width: 100px;
  max-width: 300px;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: contents;
  height: auto;
}

.result .frame img {
  width: 350px;
  height: auto;
}

.result img.active {
  display: block;
}

.result-content {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  place-content: center;
  transform: translateY(-1rem);
}

.result-content .badge {
  width: 200px !important;
  transform: translateY(-2rem);
  display: none;
}

.result-content .badge.active {
  display: block;
}

.point {
  background-image: url("assets/image/frame_score.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  text-align: center;
  display: grid;
  place-items: center;
  padding-left: 25px;
  width: 200px;
  height: 50px;
}

.point p {
  color: white;
  font-size: 1.4rem;
  margin: 0;
}

.button-result {
  width: 200px !important;
}

.margin-top {
  margin-top: 1rem;
}

/* 8THWALL DEFAULT MODIFIER */
#loadBackground {
  background-color: black !important;
}

#cameraPermissionsErrorApple {
  background-color: black !important;
}

.poweredby-img {
  visibility: hidden;
}

#almostthereContainer {
  background-color: black !important;
}

.first-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
}
.first-screen .block-image {
  width: 95%;
}

.absolute-fill {
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
}

#recenterButton {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 0;
  width: 120px;
  pointer-events: auto;
  display: block;
  padding: 10px;
}

#promptText {
  font-size: 6vw;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 8px red;
  font-weight: bold;
  position: absolute;
  width: 100%;
  bottom: 3vh;
  left: 0;
  right: 0;
  margin: 0 auto;
  margin-left: 30px;
}

/* ANIMATIONS */
.fly-in {
  animation: fly-in 1.5s ease-out both;
}

@keyframes fly-in {
  0% {
    transform: translate(0%, 200%);
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translate(0%, 0%);
    opacity: 1;
  }
}
.fly-out {
  animation: fly-out 1.5s ease-out both;
}

@keyframes fly-out {
  0% {
    transform: translate(0%, 0%);
    opacity: 1;
  }
  70% {
    opacity: 0;
  }
  100% {
    transform: translate(0%, 200%);
    opacity: 0;
  }
}
.pulse-once {
  animation: pulse-once 0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86) both;
}

@keyframes pulse-once {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}
#orientationOverlay {
  z-index: 998;
  height: 100%;
  width: 100%;
  position: absolute;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: none;
  align-items: center;
  justify-content: center;
}

#message {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  left: 50%;
  color: white;
  font-size: 1.5em;
  text-align: center;
}

#message img {
  margin-bottom: 20px;
}

#requestingCameraPermissions {
  color: #fff !important;
  background-color: #000 !important;
}

#requestingCameraIcon {
  /* This changes the image from white to black */
}

.prompt-box-8w {
  border-radius: 0 !important;
  padding-bottom: 15px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.prompt-button-8w {
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 #040205 !important;
  padding: 5px 22px !important;
}

.button-primary-8w {
  background: #EA1B2C !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 #040205 !important;
  padding: 5px 22px !important;
}

#recorder-button {
  background: #EA1B2C !important;
}

.progress-track {
  stroke: #EA1B2C !important;
}

.progress-bar {
  stroke: #EA1B2C !important;
  color: #EA1B2C !important;
}

.loading-circle {
  stroke: #EA1B2C !important;
}

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