body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* Ensure the page can scroll */
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.87);
  background-color: #000000;
  font-family: Arial, Helvetica, sans-serif;
}

/* Style for the floating div */
.mbm-logger-ui {
  position: absolute;
  top: 80px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  z-index: 100;
  display: none;
  font-family: 'Chalky';
  /* Ensure it stays on top of the Phaser canvas */
}

.mbm-inputCapture-ui {
  position: absolute;
  top: -1000px;
  left: 50%;
  transform: translate(-50%);
  /* Moves the div by half of its width and height */
  background-color: rgba(0, 0, 0, 1);
  color: white;
  padding: 10px;
  border: 0;
  z-index: 100;
  display: none;
  font-family: 'Chalky';
  font-size: 20px;
  text-align: center;
  /* Ensure it stays on top of the Phaser canvas */
}

.mbm-inputCapture-input-ui {
  font-family: 'Chalky';
  font-size: 20px;
  text-align: left;
  border-radius: 15px;
}

.mbm-inputCapture-button-ui {
  font-family: 'Betty';
  font-size: 36px;
  color: #F7CD58;
  background-color: transparent;
  /* Transparent background */
  text-align: 'center';
  border-radius: 5px;
  border: none;
  -webkit-text-stroke: 1px black;
  /* For Webkit-based browsers */
  text-stroke: 1px black;
  /* Standard property */
  text-shadow: -4px 8px 0px black;
  /* horizontal, vertical, blur radius, color */
  padding: 20px;
}

.mbm-logButton:hover {
  background-color: #218838;
}


.container-story {
  perspective: 300px;
}

.container-story canvas {
  transform-origin: 50% 100%;
  transform: rotateX(75deg);
}

#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* <div>Icons made from <a href="https://www.onlinewebfonts.com/icon">svg icons</a>is licensed by CC BY 4.0</div> */

@font-face {
  font-family: "Betty";
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Betty.eot");
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/gimp/Betty.eot?#iefix")format("embedded-opentype"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Betty.woff")format("woff"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Betty.woff2")format("woff2"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Betty.ttf")format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chalkduster";
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkduster.eot");
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkduster.eot?#iefix")format("embedded-opentype"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkduster.woff")format("woff"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkduster.woff2")format("woff2"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkduster.ttf")format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chalkdust";
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkdust.eot");
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkdust.eot?#iefix")format("embedded-opentype"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkdust.woff")format("woff"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkdust.woff2")format("woff2"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkdust.ttf")format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chalky";
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalky.eot");
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalky.eot?#iefix")format("embedded-opentype"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalky.woff")format("woff"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalky.woff2")format("woff2"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalky.ttf")format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chalkboard";
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkboard.eot");
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkboard.eot?#iefix")format("embedded-opentype"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkboard.woff")format("woff"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkboard.woff2")format("woff2"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/Chalkboard.ttf")format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "UsuziV1";
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/UsuziV1.eot");
  src: url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/UsuziV1.eot?#iefix")format("embedded-opentype"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/UsuziV1.woff")format("woff"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/UsuziV1.woff2")format("woff2"),
  url("https://afwd3-7yaaa-aaaam-adnaq-cai.icp0.io/fonts/UsuziV1.ttf")format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.header,
.footer {
  flex: 0 0 auto;
  background-color: #282c34;
  color: white;
  padding: 10px;
  text-align: center;
}

.main {
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.phaser-container {
  width: 100%;
  height: 100%;
}

.spritePosition {
  margin: 10px 0 0 10px;
  font-size: 0.8em;
}

.button {
  width: 140px;
  margin: 10px;
  padding: 10px;
  background-color: #000000;
  color: rgba(255, 255, 255, 0.87);
  border: 1px solid rgba(255, 255, 255, 0.87);
  cursor: pointer;
  transition: all 0.3s;

  &:hover {
    border: 1px solid #0ec3c9;
    color: #0ec3c9;
  }

  &:active {
    background-color: #0ec3c9;
  }

  /* Disabled styles */
  &:disabled {
    cursor: not-allowed;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.3);
  }
}
