:root {
  --ui-bg: rgba(31, 31, 113, 0.6);
  --ui-bg-hover: rgba(75, 75, 224, 0.6);
  --ui-font-color: #fff;
  --ui-finished-dialogue: #ff2;
}

body {
  background: rgb(0,0,0);
  overflow: hidden;
  color: var(--ui-font-color);
  font-size: 30px;
  font-family: "Trebuchet MS", "Helvetica", "Arial", "sans-serif";
  margin: 0;
}

* {
  box-sizing: border-box;
  cursor: default;
  /* image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated; */
  user-select: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}


.game-wrapper {
  height: 100%;
  width: 100%;
  margin: auto;
}

.game-container {
  background: rgb(0,0,0);
  /*margin: auto;*/
  overflow: hidden;
  position: relative;
  transform-origin: 0% 0%;
}

.game-app,
.cast-container,
.game-root,
.dialogue-layer,
.room-background,
.menu-layer,
.game-shield,
.fade-room {
  height: 100%;
  position: absolute;
  width: 100%;
}

.dialogue-layer.wait-for-click,
.dialogue-layer.wait-for-click * {
  cursor: pointer;
}

.dialogue-layer.wait-for-click::after {
  content: "\25bc";
  color: var(--ui-finished-dialogue);
  position: absolute;
  bottom: 30px;
  right: 31px;
  z-index: 300;
}

.game-shield {
  cursor: pointer;
}

.menu-layer {
  display: none;
}

.dialogue-layer {
  display: none;
}

.base-button,
.base-label,
.base-labelList,
.base-progressBar,
.progress-description,
.progressBar-progress {
  position: absolute;
}

.base-label {
  pointer-events: none;
  background: var(--ui-bg);
  padding: 5px;
}

.base-button,
.input-submit-button {
  background: var(--ui-bg);
  text-align: center;
  padding: 5px;
  cursor: pointer;
}

.base-button:hover,
.input-submit-button:hover {
  background-color: var(--ui-bg-hover);
}

.base-progressBar {
  background: var(--ui-bg);
  overflow: hidden;
}
.base-progressBar .progressBar-progress {
  background: var(--ui-bg-hover);
}

.button-description,
.label-description {
  display: none;
  position: absolute;
  pointer-events: none;
}

.base-button:hover .button-description,
.base-label:hover .label-description,
.base-labelList-item:hover .label-description {
  display: block;
}

.full-body-character {
  background-size: 100%;
  position: absolute;
  background-repeat: no-repeat;
  bottom: 0;
  transition: transform 1s;
}

.dialogue-box {
  position: absolute;
  z-index: 100;
  bottom: 20px;
  left: 20px;
  width: 1880px;
  height: 20%;
  background: var(--ui-bg);
}

.dialogue-text {
  position: absolute;
  top: 50px;
  left: 250px;
  width: 1550px;
  white-space: pre-line;
}

.portrait-body {
  position: absolute;
  bottom: 20px;
  z-index: 110;
  left: 20px;
}

.portrait-picture {
  height: 257px;
  width: 205px;
}

.portrait-name-body {
  position: absolute;
  bottom: 190px;
  left: 230px;
  padding: 5px;
  z-index: 150;
}

.option-body {
  position: absolute;
  top: 50px;
  left: 200px;
  background-color: var(--ui-bg);
  width: 1520px;
  max-height: 970px;
}

.option-title {
  margin: 50px 70px 0 70px;
}

.option-body ul {
  text-align: center;
    margin: 0;
    padding: 30px;
    list-style: none;
    max-height: 880px;
    overflow-y: auto;
}

.option-body li {
  background-color: var(--ui-bg);
  padding: 20px;
  margin: 40px;
  cursor: pointer;
}

.option-body li:hover {
  background-color: var(--ui-bg-hover);
}

.input-box {
  background-color: var(--ui-bg);
  position: absolute;
  width: 1360px;
  height: 310px;
  padding: 50px;
  top: 650px;
  left: 280px;
}

.input-box input {
  margin: 20px;
  font-size: 40px;
  width: 1210px;
  background: var(--ui-bg);
  padding: 20px;
  color: var(--ui-font-color);
  border: var(--ui-font-color) 4px solid;
  outline: none;
}

.input-submit-button {
  width: 270px;
  right: 80px;
  position: absolute;
}

.debugData {
  position: absolute;
  bottom: 0;
  font-size: 1rem;
  background: rgba(0,0,0,.5);
  color: white;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.base-saveSlot,
.base-deleteSlot,
.base-loadSlot {
  cursor: pointer;
  position: absolute;
  white-space: pre-line;
  background: var(--ui-bg);
}