.fakeimg {
    height: 200px;
    background: #aaa;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
}
#container {
    box-shadow: none;
    max-width: 800px;
    margin: 25vh auto;
    padding: 20px;
    background-color: #fff;
}
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
}
.author-button:hover {
    color: white;
}
h1 {
    text-align: center;
    color: #333;
}
.chatbox {
    width: 100%;
    height: 60vh;
    border-radius: 10px;
    overflow-y: scroll;
    padding: 10px;
    background-color: #ffffff;
}
.message {
    margin: 10px 0;
}
.input-container {
    box-shadow: 0px 0px 7px 2px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    display: flex;
    align-items: center; 
    border-radius: 20px;
    border-color: #e5e5e5;
    border-width: 1px;
    border-style: solid;
}
textarea#question-area {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: none;
    resize: none;
    border-radius: 20px;
}
textarea#question-area::placeholder {
    color: #b4b4b4;
    font-family: 'Inter', sans-serif;
}
textarea#question-area:focus {
    outline: none;
}
input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
button#sendButton {
    background-color: black;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    margin-right: 10px;
}
button#sendButton:hover {
    background-color: #333333;
}
span#buttonContent {
    padding-bottom: 12px;
}
/* nav bar */
nav {
    background-color: #333;
}

.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.navbar li {
    float: left;
}

.navbar li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

.navbar li a:hover {
    background-color: #575757;
}

section {
    padding: 20px;
}

section h1 {
    margin-top: 0;
}

/* help */
section#help {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header#help {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

header#help h1 {
    margin: 0;
}

section.helpSection {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

h2.helpSection {
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.faq-item {
    margin-bottom: 20px;
    margin-top: 15px;
}

.faq-item h3 {
    margin-bottom: 5px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form label {
    font-weight: bold;
}

form input, form textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    padding: 10px;
    font-size: 16px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #575757;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
}

ul li a {
    text-decoration: none;
    color: #333;
}

ul li a:hover {
    text-decoration: underline;
}

#email {
    color: black;
    text-decoration: underline;
}

/* dot jots */
.dot-jots {
    position: relative;
    padding-left: 40px; /* 为圆点和制表符留出空间 */
    display: block; /* 让每个点状项占据一行 */
}

.dot-jots::before {
    content: '•'; /* 使用圆点符号 */
    position: absolute;
    left: 20px; /* 圆点的位置相对内容的位置 */
    color: #333; /* 圆点颜色 */
    font-size: 20px; /* 圆点大小 */
    line-height: 1.5; /* 调整圆点和文本之间的垂直对齐 */
}

section#guide {
    margin-bottom: 60px;
}

/* author info */

.author-container {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.author-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 20px;
}

.author-info {
    flex: 1;
}

.author-info h1 {
    margin: 0;
    font-size: 2em;
    color: #333;
}

.author-info .bio {
    margin: 10px 0;
    font-size: 1.1em;
    color: #555;
}

.social-links {
    margin-top: 20px;
}

.social-icon {
    display: inline-block;
    margin-right: 15px;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
}

.instagram {
    background-color: #fe1e5a;
}

.linkedin {
    background-color: #0077b5;
}

.github {
    background-color: #333;
}

section#about {
    padding: 20px;
}

li.help {
    text-decoration: underline;
}

#interaction-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.user-message {
    background-color: #f3f3f3;
    padding: 10px;
    border-radius: 5px;
    margin: 5px 0;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 16px;
    display: block;
    word-break: break-word; 
    text-align: left;
    margin-left: auto;
}

.ai-message {
    margin-right: auto;
    padding: 10px;
    margin: 5px 0;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 16px;
    display: block;
    word-break: break-word;
    align-self: flex-start;
}