.page { 
  position: static;
  margin-bottom: 0;
  transform: translateY(0); /* 或移除此屬性 */
  width: 100dvw;
  height: 100dvh;
  z-index: 1;
  background-image: url('../1assets/002.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.page-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.page-word-1,
.page-word-2 {
  font-size: 1.2em;
  opacity: 0;
  transform: translateY(20px); /* 一開始從下方出現 */
  animation: fadeInMove 1s ease forwards;
  transform: translate(0, 22dvh);
  padding: 10px;
  border: 0px solid #00ff73;
  width: calc(100dvw - 80px); /* 預留左右各20px */
  box-sizing: border-box;
}

@keyframes fadeInMove {
  to {
    opacity: 1;
    transform: translateY(-100); /* 回到原來位置 */
  }
}


.page-word-1 { animation-delay: 0.3s; }
.page-word-2 { animation-delay: 1.3s; }

@keyframes typing {
  from { width: 0; }
  to { width: 4ch; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}




