@charset "UTF-8";
.slider-container {
  display: none;
}

body {
  font-family: "Montserrat Alternates";
  width: 100vw;
  height: 100vh;
  max-width: 1200px;
  margin: auto;
  background-color: black;
}

#displayArea {
  margin-top: 20px;
  font-size: 4em;
  font-family: "Montserrat Alternates";
  white-space: pre-wrap;
  word-wrap: break-word;
  border: 1px solid #ccc;
  padding: 10px;
  min-height: 50px;
  z-index: 50;
}

.char {
  display: inline-block; /* 使 margin-left 生效 */
  transition: margin-left 0.2s ease, color 0.2s ease;
}

#sentMessages {
  margin-top: 40px;
  font-size: 4em;
  font-family: "Montserrat Alternates";
}

.sent-message {
  margin-bottom: 20px;
  white-space: pre-wrap;
  word-wrap: break-word;
  border: 1px solid #ddd;
  padding: 10px;
  background-color: #f9f9f9;
}

strong {
  color: #ccc;
}

#textArea #inputArea {
  border: 0;
  height: 20vh;
  width: 100%;
  max-width: 1200px;
  position: fixed;
  bottom: 5vh;
  color: rgba(240, 255, 255, 0);
  background-color: rgba(34, 34, 34, 0);
  mix-blend-mode: difference;
  font-size: 4em;
  z-index: 50;
  outline: none;
}
#textArea #displayArea {
  border: 0;
  height: 20vh;
  width: 100%;
  max-width: 1200px;
  position: fixed;
  bottom: 5vh;
  background-color: rgb(34, 34, 34);
  pointer-events: none;
}

#sentMessages {
  display: flex;
  flex-direction: column-reverse;
}

.sent-message {
  width: 100%;
  background: none;
  border: none;
}
.sent-message strong {
  font-size: 10px;
  position: absolute;
  transform: translateY(10px);
}
.sent-message #caret {
  display: none;
}

#togglecontrol {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background-color: rgba(240, 248, 255, 0);
}

#slider-container {
  border: 1px solid gray;
  background-color: rgb(255, 255, 255);
  z-index: 99;
  position: absolute;
  bottom: 60px;
  left: 20px;
}

.typing-animation span {
  opacity: 0;
  display: inline-block;
  animation: typing 0.05s forwards;
}

@keyframes typing {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* 在您的 CSS 中加入閃爍動畫 */
#caret {
  display: inline-block;
  width: 30px;
  height: 1em;
  background: rgba(255, 255, 255, 0.459);
  vertical-align: bottom;
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@media screen and (max-width: 700px) {
  #textArea #displayArea {
    font-size: 4em;
    height: 50px;
  }
  #sentMessages {
    font-size: 4em;
  }
  .sent-message strong {
    font-size: 10px;
  }
  #textArea #inputArea {
    font-size: 1em;
  }
}
body.fullscreen-mode,
body.fullscreen-mode html {
  height: 100%;
  overflow: hidden;
}

body.fullscreen-mode #textArea {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* 輸入框在底部 */
}
body.fullscreen-mode #textArea #inputArea {
  caret-color: transparent;
}

body.fullscreen-mode #textArea #displayArea {
  flex: 1;
  overflow: auto;
  background: #222; /* 確保背景與文字對比 */
  pointer-events: none;
  height: 40vh;
}

body.fullscreen-mode #textArea #inputArea {
  width: 100%;
  height: 40vh;
  border: none;
  outline: none;
  z-index: 50;
}

#sendButton {
  display: none;
  position: fixed;
  right: 5%;
  bottom: 60vh; /* 略高於 inputArea */
  background: rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.5em;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  z-index: 100;
  width: 90%;
}

body.fullscreen-mode #sendButton {
  display: inline-block;
  z-index: 999;
}/*# sourceMappingURL=style.css.map */