body {
    font-family: Arial, sans-serif;
    margin: 10px;
    padding: 10px;
    background-color: #868686;
}

.chat-container {
    width: 80%; /* Set width to 90% of the viewport */
    max-width: 500px; /* Set a maximum width */
    margin: 50px auto;
    background-color: #f0f0f0;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 10);
    overflow: hidden;
}

.messages {
    padding: 25px;
    height: 400px;
    background-color: #f0f0f0;
    overflow-y: auto;
}

.input-container {
    display: block;
    text-align: center;
    width: 100%;
    height: 95px;
    background-color: #523131;
}

.message-input {
    text-align: center;
    flex: 1;
    width: 70%;
    padding: 10px;
    margin: 10px;
    border: none;
    border-radius: 10px;
    outline: none;
}

.message-bubble {
    margin-bottom: 10px;
}

.message-bubble.me {
    text-align: right;
}

.message-bubble.you {
    text-align: left;
}

.send-button {
    background-color: #f1ed00;
    width: 60px;
    height: 30px;
    color: rgb(61, 61, 61);
    font-size: 13px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    outline: 2px solid rgb(94, 94, 94);
    transition: background-color 0.3s ease;
}

.send-button:hover {
    background-color: #a5a75f;
}

.intro-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 스타일을 적용할 요소 선택자들 */

/* #intro {
    text-align: center; /* 요소들을 가운데 정렬
} */

#intro {
    background-color: #f0f0f0; /* 핸드폰 배경색 */
    border-radius: 20px; /* 모서리를 둥글게 만들어 핸드폰 모양으로 */
    padding: 20px; /* 내부 여백 추가 */
    max-width: 200px; /* 최대 너비 설정 */
    margin: 0 auto; /* 가운데 정렬 */
    margin-top: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 그림자 효과 추가 */
}

h1 {
    font-size: 24px; /* 헤더 크기 설정 */
}

label {
    display: block; /* 라벨을 블록 수준 요소로 표시하여 다음 요소와 줄 바꿈 */
    font-size: 15px; /* 라벨 텍스트 크기 설정 */
    margin-top: 15px; /* 라벨 위 여백 설정 */
}

select {
    width: 60%; /* 선택 목록 너비를 100%로 설정하여 가로 폭 채우기 */
    padding: 10px; /* 내부 여백 설정 */
    font-size: 16px; /* 폰트 크기 설정 */
    margin-top: 10px; /* 선택 목록 위 여백 설정 */
    margin-right: 10px;
    margin-left: 5px;
    border-radius: 10px;
}

#selbox {
    width: 90%;
    text-align: center;
}

#mood {
    width: 90%;
    margin-bottom: 20px; /* 버튼 위 여백 설정 */
}
button {
    background-color: #248eff; /* 버튼 배경색 설정 */
    width: 70px;
    height: 35px;
    color: white; /* 텍스트 색상 설정 */
    text-align: center;
    border-radius: 20px;
    font-size: 15px; /* 폰트 크기 설정 */
    cursor: pointer; /* 커서를 포인터로 설정하여 클릭 가능함을 나타냄 */
}

/* 버튼에 호버 효과 추가 */
button:hover {
    background-color: #0056b3; /* 호버 시 배경색 변경 */
}

#gf {
    width: 60%;
    border-radius: 20px;
}

#imgMe {
    width: 12%;
    display: inline-block;
    border-radius: 50px;
    margin-top: 5px;
}

#imgYou {
    width: 12%;
    display: block;
    border-radius: 50px;
    margin-top: 5px;
}

#loader {
    font-size:25px;
    text-align: center;
}