@font-face {
    font-family: '210 Dahong R';
    src: url('/font/TTDahongR.woff2') format('woff2'),
        url('/font/TTDahongR.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '210 Dahong B';
    src: url('/font/TTDahongB.woff2') format('woff2'),
        url('/font/TTDahongB.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '210 Dahong L';
    src: url('/font/TTDahongL.woff2') format('woff2'),
        url('/font/TTDahongL.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: '210 Dahong R', '210 Dahong B', '210 Dahong L', sans-serif; /* 기본 폰트 설정 */
}

strong, h1, h2, h3 {
    font-weight: bold; /* 굵은 텍스트는 자동으로 '210 Dahong B' 사용 */
}

.light-text {
    font-weight: 300; /* 가벼운 텍스트는 '210 Dahong L' 사용 */
}

body {
    background-color: #f8f9fa;
}

.chat-container {
    max-width: 80%;
    margin: 50px auto;
}

.chat-box {
    width: 100%;
    height: 60vh;
    border: 1px solid #ccc;
    padding: 10px;
    overflow-y: scroll;
    background-color: #fff;
    border-radius: 5px;
}

.message {
    max-width: 70%;
    margin-bottom: 10px;
    clear: both; /* 메시지의 float 해제 */
}

.user-message {
    background-color: #007bff;
    color: #fff;
    border-radius: 10px;
    text-align: right;
    float: right;
}

.lex-message {
    background-color: #e9ecef;
    color: #000;
    border-radius: 10px;
    text-align: left;
    float: left;
}

.input-container {
    display: flex;
    margin-top: 10px;
}

.input-container input {
    flex: 1;
    padding: 10px;
    border-radius: 0;
}

.input-container button {
    border-radius: 0;
}

.reset-btn {
    margin-top: 10px;
}

audio {
    display: block;
    margin-top: 10px;
    clear: both; /* 오디오 태그의 float 해제 */
}

/* 녹음 중일 때 깜빡이는 효과 */
@keyframes blink {
    50% {
        opacity: 0;
    }
}

.blinking {
    animation: blink 1s infinite;
}



#micButton {
    background-color: #00008B !important;
}

/* 마이크 버튼 클릭 시 배경색 및 멈춤 버튼 배경색 스타일 */
#micButton.recording {
    background-color: #ff0000 !important; /* 빨강색으로 설정, 중요도 지정 */
}
