.body {
  display: flex;
  width: 400px;
  height: 300px;
}

.interface {
  margin: 10px;
}
.messages {
  /* bgMessage */
  transition: transform 100ms ease-in-out;

  margin: auto;
  position: relative;
  width: 140px;
  height: 54px;
  top: -250px;

  background: #ffffff;
  border: 3px solid #000000;
  box-shadow: 0px 4px 4px 2px rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  z-index: 25;
}

.messages.hidden {
  transition: transform 200ms ease-in-out;
  transform: scale(0);
  opacity: 50;
}

.HUD {
  /* bgStatus */
  margin: auto;
  position: relative;
  width: 128px;
  height: 16px;
  top: -360px;
  left: -135px;
  z-index: 25;
}

.game-container {
  left: 15px;
  outline-color: gray;
  background-color: black;
  outline-style: inset;
  outline-width: 10px;
  width: 400px;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.BG {
  width: 1000px;
  height: 700px;
  background-color: green;
  position: absolute;
  background-image: url("assets/maps/Dungeon_Jail.jpeg");
}

.player {
  width: 33px;
  height: 48px;
  position: absolute;
  background-repeat: none;
  background-size: cover;
  background-image: url("assets/char/idleDown2.png");
}

.overlay {
  width: 1000px;
  height: 700px;
  position: absolute;
  background-size: cover;
  background-image: url("assets/maps/clouds/dark_clouds02.png");
  z-index: 10;
}

.d-pad {
  position: relative;
  right: 24em;
  margin: auto;
  height: 50px;
  width: 100px;
  background-color: brown;
  outline-style: outset;
  border-style: outset;
}

.controllerY {
  position: absolute;
  background-color: gray;

  border-top-style: none;
  border-bottom-style: outset;
  height: 30px;
  width: 8px;
  left: 18px;
  top: 8.3px;
}

.controllerX {
  position: absolute;
  background-color: gray;
  border-style: outset;

  border-left-style: inset;
  border-right-style: none;
  height: 4px;
  width: 31px;
  left: 4.5px;
  top: 20px;
}

.controller-up {
  position: absolute;
  background-image: url("assets/controller/dPad_arrow.png");
  height: 12px;
  width: 7px;
  left: 18.5px;
  top: 9px;
  background-size: cover;
  background-position: center;
}

.controller-down {
  position: absolute;
  background-image: url("assets/controller/dPad_arrow.png");
  transform: rotate(180deg);
  height: 12px;
  width: 7px;
  left: 18.5px;
  top: 29px;
  background-size: cover;
  background-position: center;
}

.controller-left {
  position: absolute;
  background-image: url("assets/controller/dPad_arrow.png");
  transform: rotate(-90deg);
  height: 12px;
  width: 7px;
  left: 8px;
  top: 19px;
  background-size: cover;
  background-position: center;
}
.controller-right {
  position: absolute;
  background-image: url("assets/controller/dPad_arrow.png");
  transform: rotate(90deg);
  height: 12px;
  width: 7px;
  left: 29px;
  top: 19px;
  background-size: cover;
  background-position: center;
}

.pit1 {
  position: absolute;
  background-image: url("assets/controller/gamepad5_1.png");
  height: 18px;
  width: 18px;
  right: 30px;
  top: 18px;
  background-size: cover;
  background-position: center;
}

.pit2 {
  position: absolute;
  background-image: url("assets/controller/gamepad5_1.png");
  height: 18px;
  width: 18px;
  right: 9px;
  top: 18px;
  background-size: cover;
  background-position: center;
}

.controller-A {
  position: absolute;
  background-image: url("assets/controller/gamepad7_27.png");
  height: 48px;
  width: 48px;
  right: 15px;
  top: 2px;
  background-size: cover;
  background-position: center;
}

.controller-B {
  position: absolute;
  background-image: url("assets/controller/gamepad7_25.png");
  height: 48px;
  width: 48px;
  right: -6px;
  top: 2px;
  background-size: cover;
  background-position: center;
}

.message-header {
  /* txtHeader */
  position: absolute;
  width: 132px;
  height: 15px;
  left: 10px;

  font-family: Red Rose;
  font-style: normal;
  font-weight: bold;
  font-size: 12px;
  line-height: 15px;
  /* identical to box height */

  color: #000000;

  mix-blend-mode: normal;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.message-text {
  /* txtMessage */

  position: absolute;
  width: 132px;
  height: 26px;
  top: 15px;
  left: 4px;

  font-family: Red Hat Display;
  font-style: normal;
  font-weight: normal;
  font-size: 10px;
  line-height: 13px;

  color: #000000;

  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.bgStatus {
  position: absolute;
  width: 128px;
  height: 16px;

  background: #ff8a00;
  border: 2px solid rgb(0, 0, 0);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  filter: blur(4px);
}

.health-bar {
  position: absolute;
  width: 128px;
  height: 7px;

  background: #169c00;
  border: 1px solid #000000;
  box-sizing: border-box;
  filter: blur(1px);
  border-radius: 10px;
}

.stamina-bar {
  position: absolute;
  width: 128px;
  height: 7px;
  top: 8px;

  background: #ff0000;
  border: 1px solid #000000;
  box-sizing: border-box;
  filter: blur(1px);
  border-radius: 10px;
}

.bgName {
  position: absolute;
  width: 80px;
  height: 16px;

  background: #ff8a00;
  filter: blur(4px);
}

.txtName {
  position: absolute;
  width: 68px;
  height: 16px;
  left: 4px;

  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;

  color: #000000;
  z-index: +1;
}

.menu {
  position: relative;
  margin: auto;
  opacity: 80%;
  width: 75px;
  height: 125px;
  left: 155px;
  top: -375px;
  background: gray;
  mix-blend-mode: normal;
  border: 1px solid #000000;
  box-sizing: border-box;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  z-index: 25;
}

.menu-header {
  width: 72px;
  height: 10px;
  display: contents;
  font-family: Red Rose;
  font-style: normal;
  font-weight: bold;
  font-size: 10px;
  line-height: 15px;

  color: #000000;
}

#text {
  font-family: Red Hat Display;
  font-style: normal;
  font-weight: normal;
  font-size: 10px;
  line-height: 13px;

  color: #f024f0;
}

.footnote {
    text-align: center;
}