* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
#image-container {
  background-color: black;
  width: 100vw;
  height: 70vh;
}
#image {
  object-fit: cover;
}
#text-box-container {
  font-size: 1.2em;

  background-color: rgba(0, 0, 0, 0.95);

  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 {
  color: white;
  width: 100%;
  padding: 12px 0;

  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.321);

  font-size: 1.1rem;
  letter-spacing: 1.3px;

  cursor: pointer;

  transition: all 120ms ease;

  position: relative;
}

#text-box-container button:hover {
  color: rgb(255, 60, 60);
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgb(255, 60, 60);
}
@media (max-width: 768px) {
  #text-box-container {
    width: 96vw;
  }
}

@media (max-height: 500px) {
  #image {
    width: 55%;
  }
  #text-box-container {
    height: 40vh;
  }
  #text-box-container button {
    padding: 9px;
  }
}
