/* 기본 설정 */
body {
margin: 0;
font-family: 'Arial', sans-serif;
background-color: #000;
overflow: hidden;
color: #fff;
}
.vn-container {
position: relative;
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
}
/* 배경 설정 */
.background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
/* 대화 상자 */
.dialogue-box {
width: 80%;
max-width: 900px;
background: rgba(0, 0, 0, 0.8);
border: 2px solid #fff;
padding: 20px;
margin-bottom: 20px;
border-radius: 15px;
z-index: 2;
text-align: left;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.character-name {
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 10px;
color: #ffcc00;
text-shadow: 0 0 5px rgba(255, 204, 0, 0.8);
}
.dialogue-text {
position: relative;
}
.dialogue-line {
opacity: 0;
transform: translateY(10px);
transition: opacity 0.5s ease, transform 0.5s ease;
}
.dialogue-line.active {
opacity: 1;
transform: translateY(0);
}
/* 선택지 */
.choices {
display: flex;
gap: 20px;
}
.choice {
position: relative;
display: inline-block;
padding: 10px 20px;
background: #333;
color: #fff;
border: 2px solid #fff;
border-radius: 15px;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
.choice:hover {
background: #444;
border-color: #00ffcc;
color: #00ffcc;
}
/* 선택 클릭 효과 */
.choice:active {
background: #00ffcc;
color: #000;
transform: scale(0.95);
}