@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } #textbox-container { animation: slideUp 0.5s ease-out; } #text-display { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .choice-btn { transition: all 0.2s ease; } .choice-btn:hover { transform: translateX(5px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } #menu-panel { animation: fadeIn 0.3s ease-out; } /* Character animations */ .char-enter { animation: slideUp 0.5s ease-out forwards; } .char-exit { animation: fadeIn 0.5s ease-out reverse forwards; } /* Text typing effect */ .typing { border-right: 2px solid; animation: blink 1s step-end infinite; white-space: pre-wrap; word-break: break-word; } #textbox-container { min-height: 150px; display: flex; flex-direction: column; justify-content: center; } #text-display { min-height: 100px; } #character-left, #character-right { pointer-events: none; } #menu-button { transition: transform 0.2s ease; } #menu-button:hover { transform: scale(1.1); } @keyframes blink { from, to { border-color: transparent } 50% { border-color: #ec4899 } }