* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  letter-spacing: 1px;
  color: white;
  background-color: rgb(20, 20, 20);
  min-width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Merriweather", serif;
}
#combat-container {
  color: white;
  background-color: rgba(0, 0, 0, 0.456);
  position: absolute;
  bottom: 0;
  z-index: 100;
  width: 100vw;
  min-height: 20vh;

  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  display: none;
  padding: 0 10vw;
  z-index: 1000;
}
#image-container {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  z-index: 0;
}
#image {
  max-width: 100vw;
  max-height: 100%;
  object-fit: cover;
}

/* Text box */
#text-box-container {
  font-size: 1.2em;

  background-color: rgb(0, 0, 0);

  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.6);
  margin: 5px;
  box-sizing: border-box;
  border-radius: 10px;

  position: absolute;
  bottom: 0;
  z-index: 100;
  width: 100vw;
  max-width: 900px;
  height: 30vh;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}
#name-talking {
  font-size: 1.15em;
  width: 100%;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: white;

  border-bottom: 1px solid rgba(255, 255, 255, 0.321);
  padding: 10px 12px 8px;
  margin-bottom: 4px;
  display: inline-block;
}

#text-box {
  line-height: 1.6;
  color: white;

  padding: 5px 12px;
  flex-grow: 1;
  overflow-y: auto;
  text-align: justify;
}

#text-box-container button {
  background: none;
  border: none;
  color: rgb(255, 255, 255);
  border-top: 1px white solid;

  width: 100%;

  font-size: 1.1rem;
  padding: 10px;

  cursor: pointer;
  display: flex;
  justify-content: center;
}

#text-box-container button:hover {
  border-top: 1px red solid;
  color: rgb(255, 44, 44);
}

#dialog-options {
  display: none;
  flex-direction: column;

  width: 100%;
  max-width: 1600px;
  margin: 5px;

  background: rgb(0, 0, 0);
  border-radius: 5px;

  position: absolute;
  bottom: 0px;

  overflow: hidden;
}

.dialog-option-button {
  width: 100%;

  padding: 18px 22px;

  background: transparent;

  border: none;
  border-top: 1px solid rgb(0, 0, 0);

  color: rgb(255, 255, 255);

  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;

  text-align: left;

  cursor: pointer;

  transition:
    color 140ms ease,
    background 140ms ease,
    padding-left 140ms ease;
}
.dialog-option-button:hover {
  background: rgb(120, 30, 50);

  color: rgba(255, 255, 255, 0.96);

  padding-left: 30px;
}

.dialog-option-button:active {
  background: rgba(255, 255, 255, 0.03);
}

.dialog-option-button-battle {
  color: #ff1538;
}

.dialog-option-button-battle:hover {
  background: rgb(120, 30, 50);

  color: #ffffff;
}
@media (max-height: 500px) {
  #text-box-container {
    height: 40vh;
  }
  #text-box-container button {
    padding: 9px;
  }
}
