@import url("https://fonts.googleapis.com/css?family=Montserrat:400,400i,700");

:root {
  --dialog-box-color: #292929;
}

body {
  background-color: black;
  background-image: url("https://i.natgeofe.com/n/f3500942-4eb9-4dfa-b6c9-53cd5510cd46/47789.jpg");
  background-size: auto 100vh;
  background-repeat: no-repeat;
  background-position: center 0;
  margin: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.dialogue-box {
  width: 90vw;
  height: 27.5%;
  aspect-ratio: 6 / 1;
  background-color: var(--dialog-box-color);
  z-index: 999;
  position: absolute;
  bottom: 5vh;
  font-size: 4vh;
  user-select: none;
  border-radius: .75rem;
}

.dialogue-box * {
  margin: 0;
}

.dialogue-text {
  padding: 2vh;
  font-family: Montserrat, sans-serif;
  color: white;
}

.name {
  font-style: italic;
}

.division {
  height: .5vh;
  background-image: linear-gradient(to right, white, transparent);
  margin-block: 1vh;
}

.none {
  display: none;
}

.caret {
  color: white;
  fill: white;
  position: absolute;
  width: 5vh;
  height: auto;
  bottom: 1.25vh;
  right: 2vh;
  opacity: 0;
  transition: opacity 500ms ease;
  animation: bounce 1s infinite ease-in-out both;
}

.caret.active {
  opacity: 1;
}

@keyframes move-right {
  to {
    background-position: 100%;
  }
}

@keyframes bounce {
  50% {
    transform: translateY(-10%);
  }
  
  to {
    transform: translateY(0);
  }
}

/* characters */

.characters {
  display: flex;
  justify-content: space-evenly;
}

.characters img {
  height: 90%;
  width: auto;
  position: absolute;
  bottom: 0;
  user-select: none;
}