body {
    font-family: Arial, sans-serif;
    background-image: url('육.jpg'); /* 배경 이미지 경로 설정 */
    background-size: cover; /* 이미지가 화면 전체를 덮도록 설정 */
    background-position: center; /* 이미지가 화면의 중앙에 위치하도록 설정 */
    background-repeat: no-repeat; /* 이미지가 반복되지 않도록 설정 */
    background-attachment: fixed;
    background-size: 100% 80%;
    background-color: #ff2f52;
}
.chat-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
}
.chat-bubble {
    border-radius: 5px;
    display: inline-block;
    padding: 10px 18px;
    position: relative;
    margin: 10px;
    max-width: 80%;
}
.chat-bubble:before {
    content: "\00a0";
    display: block;
    height: 16px;
    width: 9px;
    position: absolute;
    bottom: -7.5px;
  }

.user-bubble {
    background-color: #158ffe;
    color: #fff;
    float: right;
    margin-right: 55px;
}
.user-bubble::before {
    background-color: #158ffe;
    right: 10px;
    transform: rotate(118deg) skew(-5deg);
}

.bot-bubble {
    background-color: #e6e5eb;
    float: left;
    margin-left: 55px;
}
.bot-bubble:before {
    background-color: #e6e5eb;
    left: 10px;
    transform: rotate(70deg) skew(5deg);
}


.chat-input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.send-button {
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #e470a0;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.intro-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.intro-container img {
    width: 50%;
    min-width: 300px;
}

/* 로딩스피너 id로 꾸미기  */
#loader {
    font-size: 25px;
    text-align: center;
}

/* 전체 페이지 기본 스타일 설정 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh; /* 전체 화면 높이 */
    display: flex; /* 플렉스 박스를 사용하여 중앙 정렬 */
    align-items: center; /* 수직 중앙 정렬 */
    justify-content: center; /* 수평 중앙 정렬 */
    margin: 0;
    padding: 20px;
}

.dropdown-container {
    width: 300px;
    margin: 0 auto;
}

label {
    display: block;
    font-size: 100px;
    margin-bottom: 30px;
    color: #ffffff;
}

select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #333;
    border: 1px solid #8b5e3c; /* 나무 표지판 테두리 색상 */
    border-radius: 5px;
    background-color: #2c9dd1; /* 나무 표지판 배경 색상 */
    background-image: linear-gradient(to bottom, #f9f4e8 0%, #e2d2c3 100%);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
select:focus {
    border-color: #007bff;
    outline: none;
}

select option {
    padding: 20px;
}

/* 커스텀 드롭다운 화살표 */
.dropdown-container::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 16px;
    color: #333;
}

/* 드롭다운 컨테이너의 상대 위치 설정 */
.dropdown-container {
    position: relative;
}

.dropdown-container {
    margin-top: 10px;
}

button {
    padding: 15px 30px; /* 상하좌우 여백 */
    font-size: 20px; /* 버튼의 글자 크기 */
    color: #000000; /* 글자 색상 */
    background-color: #35f3a4; /* 버튼 배경 색상 */
    border: none; /* 기본 테두리 제거 */
    border-radius: 5px; /* 모서리 둥글게 */
    cursor: url('clap.gif'), pointer; /* 포인터 커서 */
    transition: background-color 0.3s ease, transform 0.2s ease; /* 부드러운 배경색 전환 및 애니메이션 효과 */
}

/* 버튼에 마우스 오버 시 스타일 */
button:hover {
    background-color: #f74848; /* 마우스 오버 시 배경 색상 변경 */
    transform: scale(1.05); /* 버튼 크기 약간 확대 */
}

/* 버튼 클릭 시 스타일 */
button:active {
    background-color: #effd6f; /* 클릭 시 배경 색상 변경 */
    transform: scale(0.95); /* 버튼 클릭 시 약간 축소 */
}