 body
{
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #343434;
}
.full_portion
{
    box-shadow: 0px 0px 10px white;
    border-radius: 30px;
    max-width: 60%;
    min-height: 98%;
    margin-top: 2.5%;
    padding: 20px;
    margin-left: 20%;
    background-color: whitesmoke;
}
.head
{
  background: linear-gradient(90deg,#8e2de2,#4a00e0,#c471ed);
  font-weight: bolder;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.toot
{
    font-size: 20px;
}
.container h1
{
    text-align: center;
    margin-top: 6%;
    font-size: 30px;
}
.conversation
{
    height: 450px;
    /* color: white; */
    padding: 10px;
    overflow: auto;
}
.but
{
    border: none;
    background: transparent;
    color: blueviolet;
    font-size: 45px;
    position: absolute;
    margin-top: -7px;
    right: -6px
}
.input_group
{
    position: relative;
    background-color: rgb(223, 220, 220);
    box-shadow: 0px 0px 2px white;
    border-radius: 15px;
    max-width: 600px;
    height: 40px;
    margin-top: 5%;
    margin-bottom: 25px;
    padding: 8px 7px 8px 7px;
    margin-left: 15%;
}
.input_group input
{
    position: absolute;
    min-width: 87%;
    padding: 5px;
    background: transparent;
    border: none;
    outline: none;
    margin-top: 5px;
    font-size: 18px;
}
#text_space {
    width: 98%;
    height: 400px;
    overflow-y: auto;
    background-color: #D5D5D8;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-bubble {
    max-width: 70%;
    padding: 10px;
    border-radius: 15px;
    line-height: 1.4;
    font-family: Arial, sans-serif;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.hello
{
    max-width: 70px;
    position: fixed;
    z-index: 999;
    margin-left: 49%;
    margin-top: 10%;
    overflow: hidden;
    object-fit: cover;
}
.hello img
{
    width: 100%;
}

/* User message (Right side - green bubble) */
.user-message 
{
    /* background-color: #dcf8c6; */
    background-color: #B3E6C3;
    color: black;
    align-self: flex-end;
    text-align: right;
    border-bottom-right-radius: 0;
}

/* Bot message (Left side - white bubble) */
.bot-message 
{
    background-color: #E9D7B8;
    /* background-color: #fff; */
    align-self: flex-start;
    text-align: left;
    border-bottom-left-radius: 0;
}

/* Optional: Smooth scroll */
#text_space::-webkit-scrollbar 
{
    width: 6px;
}
#text_space::-webkit-scrollbar-thumb 
{
    background-color: #bdbdbd;
    border-radius: 10px;
}
@media screen and (max-width: 480px) 
{
.full_portion
{
    position: fixed;
    min-width: 80%;
    min-height: 80vh;
    margin-left: 25px;
    margin-top: 5%;
}  
.conversation
{
    margin-left: -8px;
    min-height: 55vh;
}
.input_group
{
    margin-left: 5px;
    border-radius: 15px;
    max-width: 100%;
}
.but
{
    font-size: 2.5rem;
    margin-top: -3px;
}
.hello
{
    max-width: 55px;
    margin-top: 33%;
    margin-left: 43%;
}
}