@font-face {
    font-family: 'Ownglyph_kimkonghae';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408@1.0/Ownglyph_kimkonghae.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f5f5f5; /* 초기 페이지를 위한 연한 흰색 톤 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    transition: background 0.3s;
    font-size: 20px;
}

.chat-header {
    font-size: 2em; /* 채팅 헤더 폰트 크기 설정 */
    margin-bottom: 10px;
}

.chat-messages {
    flex: 1;
    padding: 15px; /* 패딩 증가 */
    overflow-y: auto;
    background: #e6e6e6; /* 채팅 메시지 영역 배경색 */
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 95%;
    margin-bottom: 10px;
}

.main-container {
    display: flex;
    width: 60%;
    max-width: 900px;
    height: 70%;
    max-height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.blue-box {
    width: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding-top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.blue-box button {
    background: transparent;
    border: none;
    padding: 10px;
    font-size: 1em;
    cursor: pointer;
    margin: 10px 0;
    width: 80%;
    transition: background 0.3s;
}

.blue-box button img {
    width: 100%;
    height: auto;
}

.container, .chat-container {
    text-align: center;
    background: #ffffff;
    display: none;
    flex-direction: column;
    width: 95%;
    height: 100%;
    overflow: hidden;
    border-radius: 0 15px 15px 0;
}

.container.active, .chat-container.active {
    display: flex;
}

.intro-image {
    width: 45%;
    margin: 0 auto;
    margin-top: 70px;
}

.intro-text {
    margin-top: 20px;
}

h1 {
    color: #ff69b4;
    font-size: 2em;
    margin-bottom: 20px;
    margin-top: 20px; /* 여기서 조정 */
}

button {
    background: #ff69b4;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 10px;
    cursor: pointer;
    margin: 10px;
    transition: background 0.3s;
}

button:hover {
    background: #ff1493;
}

.chat-header {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 95%;
    margin-bottom: 10px;
    
}

.chat-input {
    display: flex;
    width: 90%;
    border-top: 1px solid #ddd;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 0 0 0 10px;
}

.chat-input button {
    background: #ff69b4;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 0 10px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-input button:hover {
    background: #ff1493;
}

.message {
    margin-bottom: 10px;
    display: flex;
}

.message.user {
    justify-content: flex-end;
}

.message.bot {
    justify-content: flex-start;
}

.message .content {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 1.2em;
    background: #f0f0f0; /* 채팅 메시지 배경색 */
}

.message.user .content {
    background: #ff69b4;
    color: white;
}

.message.bot .content {
    background: #e0e0e0;
    color: black;
}

/* 추가된 스타일 */
.chat-container.dessert {
    background: #ffe4e1;
}

.chat-container.love {
    background: #fffacd;
}

body.dessert {
    background: #ffe4e1;
}

body.love {
    background: #fffacd;
}

/* New styles for chat bubbles */
.chat-messages.dessert .message.user .content {
    background: #ffb6c1;
    color: #000;
}

.chat-messages.dessert .message.bot .content {
    background: #ffe4e1;
    color: #000;
}

.chat-messages.love .message.user .content {
    background: #fffacd;
    color: #000;
}

.chat-messages.love .message.bot .content {
    background: #fffacd;
    color: #000;
}

body{
    font-family: 'Ownglyph_kimkonghae'
}