body {
    font-family: Arial, sans-serif;
    background: #f0f4f8;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    position: relative;
}

/* Home button styling */
#home-button {
    position: absolute; /* Position it outside the chat container */
    top: 10px; /* Space from the top */
    left: 70px; /* Space from the left */
    background-color: #059669; /* Green background */
    color: white;
    border: 1px solid;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    z-index: 10; /* Keep the button on top */
}

#home-button:hover {
    background: #D1FAE5;
    color: #059669;
}

#home-button:active {
    background-color: #3e8e41;
}

/* Chat container styling */
.chat-container {
    background-color: #ffffff;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 80vh;
    margin-top: 20px;
    border: 2px solid #A8D5BA;
    overflow: hidden; /* Prevent overflow */
    margin-top: 100px;
}

/* Chat box styling */
.chat-box {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
}

/* Input area styling */
.input-container {
    display: flex;
    padding: 10px;
    background-color: #ffffff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top: 1px solid #ddd;
    justify-content: space-between;
    align-items: center;
}

/* Input box styling */
#input-box {
    width: 80%;
    padding: 10px;
    border: 1px solid #059669;
    border-radius: 20px;
    font-size: 18px;
    margin-right: 10px;
    outline: none; /* No focus outline */
}

/* Send button styling */
#submit-button {
    background-color: #059669; /* Green background */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#submit-button:hover {
    background: #D1FAE5;
    color: #059669;
}

#submit-button:active {
    background: #3e8e41;
}

/* Styling for user and bot messages */
.user-message, .bot-message {
    max-width: 70%;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 20px;
    font-size: 18px;
    line-height: 1.5;
}

.user-message {
    background-color: #D1FAE5; /* WhatsApp user message style */
    align-self: flex-end;
    text-align: left;
}

.bot-message {
    background-color: #E5E5EA; /* WhatsApp bot message style */
    align-self: flex-start;
    text-align: left;
    color: #333;
}

/* Make the website responsive */
@media (max-width: 768px) {
    .chat-container {
        width: 100%;
        height: 85%;
    }

    #input-box {
        font-size: 16px;
    }

    #submit-button {
        font-size: 16px;
        padding: 8px 16px;
    }

    .user-message, .bot-message {
        font-size: 16px;
    }
}
.duck-container {

    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    height: 80vh;
    margin-top: 20px;
    overflow: hidden; /* Prevent overflow */
    margin-top: 100px;
}

/* Duck Image Styling */
.duck-image {
    width: auto;
    max-width: 700px;
    height: 600px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    display: block;
    margin-top: 100px;
}


