
body {
    background-image: url('8311f968-16b4-43a8-8ad2-0c475c6c1680.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

h1{
    text-align: center;
    width: 80%;
    margin: 0 auto;
    font-family: 'MyPixelFont';
    src: url('fonts/MyPixelFont.woff2') format('woff2'),
    url('fonts/MyPixelFont.woff') format('woff');
    font-size: 50px;
    background-color: #ecc6af8a;
}


#chatbotBody {
    flex: 1; 
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.botmessage, .usermessage {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 15px;
    word-wrap: break-word;
    font-size: 1rem;
    display: inline-block;
    line-height: 1.4;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}


.botmessage {
    background-color: #ffffff;
    align-self: flex-start;
}

.usermessage {
    background-color: #d1ffd1;
    align-self: flex-end;
}

.messagetext {
    word-wrap: break-word;
}
.chat-footer {
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    max-width: 600px;
    margin: 0 auto 20px auto;
    background-color: rgba(255,255,255,0.85);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.message-input {
    flex: 1;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    resize: none;
}
#sendBtn {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    background-color: #5f2222;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

#sendBtn:hover {
    background-color: #d3d579;
}

#chatbotBody::-webkit-scrollbar {
    width: 8px;
}

#chatbotBody::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}
