* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
body {
    width: 100%;
    height: 100vh;
    background-color: rgb(28, 39, 58);
    display: flex;
    flex-direction: column;
}
.chat-container {
    width: 100%;
    height: 80%;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ai-chat-box, .user-chat-box {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 60%;
}
.ai-chat-box {
    margin-left: 10%;
}
.user-chat-box {
    margin-left: auto;
    margin-right: 10%;
    flex-direction: row-reverse;
}
.ai-chat-area, .user-chat-area {
    width: 100%;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 2px 2px 10px black;
}
.ai-chat-area {
    background-color: rgba(28, 39, 58);
    color: rgba(255, 255, 255, 0.8);
}
.user-chat-area {
    background-color: rgba(24, 42, 73, 0.5);
    color: rgba(255, 255, 255, 0.8);
}
#aiImage, #userImage {
    filter: drop-shadow(2px 2px 10px black);
}
.prompt-area {
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: rgb(28, 39, 58);
    padding: 10px;
}
.prompt-area input {
    width: 50%;
    height: 50px;
    background-color: black;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    color: white;
    font-size: 18px;
    box-shadow: 2px 2px 10px black;
    outline: none;
}
.prompt-area button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: black;
    border: none;
    cursor: pointer;
    box-shadow: 2px 2px 10px black;
    transition: background-color 0.3s ease;
}
.prompt-area button:hover {
    background-color: rgba(0, 0, 0, 0.5);
}
@media (max-width: 480px) {
    body {
        flex-direction: column;
    }

    .chat-container {
        padding: 10px;
        gap: 10px;
    }

    .ai-chat-box, .user-chat-box {
        max-width: 90%;
        gap: 5px;
    }

    .ai-chat-area, .user-chat-area {
        font-size: 14px;
        padding: 10px;
        border-radius: 15px;
    }

    #aiImage, #userImage {
        width: 30px;
        height: 30px;
    }

    .prompt-area {
        flex-direction: row; /* Change direction to row */
        gap: 10px; /* Add space between input and button */
    }
    
    .prompt-area input {
        width: 70%; /* Adjust width for the input */
    }
    
    .prompt-area button {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        box-shadow: 2px 2px 10px black;
    }
}