* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.chat-container {
    width: 400px;
    height: 600px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    overflow-y: scroll
}

.chat-header {
    display: flex;
    align-items: center;
    background-color: #4267b2;
    height: 60px;
    padding: 0 20px;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.chat-messages {
    flex: 1;
    padding: 20px;
}

.chat-message {
    display: flex;
    margin-bottom: 20px;
}

.chat-message img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.chat-message .text {
    background-color: #4267b2;
    color: white;
    border-radius: 10px;
    padding: 10px;
    max-width: 60%;
}

.chat-message .time {
    font-size: 12px;
    margin-left: 10px;
    color: #888;
    align-self: flex-end;
}

.chat-input {
    display: flex;
    align-items: center;
    height: 80px;
    padding: 0 20px;
}

.chat-input input[type="text"] {
    flex: 1;
    height: 40px;
    border-radius: 20px;
    border: none;
    outline: none;
    padding: 0 20px;
    font-size: 16px;
    margin-right: 10px;
}

.chat-input button {
    width: 80px;
    height: 40px;
    border-radius: 20px;
    border: none;
    outline: none;
    background-color: #4267b2;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.chat-message {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .chat-message img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%;
  }
  
  .chat-message .text {
    padding: 10px;
    background-color: #eee;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 70%;
  }
  
  .chat-message .time {
    margin-left: auto;
    font-size: 12px;
    color: #aaa;
  }

  .chat-message .text {
    color: black;
    /* existing styles */
  }



  #intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    padding: 20px;
}

h1 {
    font-size: 2.5rem;
    margin: 20px 0;
}

img {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

label {
    font-size: 1.2rem;
    margin: 10px 0;
}

input[type="date"], select {
    font-size: 1rem;
    padding: 8px;
    border-radius: 5px;
    border: none;
    margin-bottom: 20px;
}
#gofortune {
    background-color: #4CAF50; /* 버튼 배경색 */
    color: white; /* 버튼 텍스트 색상 */
    padding: 12px 24px; /* 버튼 패딩 */
    font-size: 16px; /* 버튼 글자 크기 */
    border: none; /* 버튼 테두리 없애기 */
    border-radius: 8px; /* 버튼 모서리 둥글게 만들기 */
    cursor: pointer; /* 버튼 커서 손가락 모양으로 변경 */
    margin-top: 16px; /* 버튼 위쪽 여백 */
  }
 #spin {
    text-align: center;
}