* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html,body {
    height: 100%;
    font-family: "Poppins", sans-serif;
}

::-webkit-scrollbar {
    width: 6px; /* Width of the scrollbar */
    border-radius: 10px;
    
  }
  
.container::-webkit-scrollbar-thumb {
    background-color: #128C7E; /* Color of the thumb */
    height: 80px;
    border-radius: 10px;
    overflow: hidden; /* Rounded corners of the thumb */
  }
  
 


.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(29, 28, 28);
}

.Chat-Bot {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 94vh;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../img/Background-black.jpg);
    border: 1px solid black;
}

.msg-name {
    font-weight: bold;
}

.msg-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    min-width: 50px;
}

.single-msg {
    display: flex;
    gap: 0 8px;
    padding: 20px;
}

.chat-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    width: 100%;
}

textarea#userMsg {
    width: 90%;
}

button#sendmsg {
    width: 10%;
    outline: 0;
    border: 0;
    border-radius: 5px;
    color: white;
}

div#chatHistory {
    max-height: 100%;
    overflow-y: auto;
    padding-bottom: 40px;
}

.msg-txt {
    width: 90%;
}
.msg-img.ai {
    background-image: url(../img/ChatBot.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.msg-img.you {
    background-image: url(../img/Player.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.msg-container-ai{
    min-width: 100px;
    background-color: #5e5b5b;
    display: flex;
    color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
    padding: 10px;
    border-radius: 10px;
}
.msg-container-you{
    min-width: 50px;
    background-color: #146454;
    display: flex;
    color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px ;
    border-radius: 10px;
}
.chat-bottom{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3px;
}
#userMsg{
    width: 100%;
    position: relative;
    color: white;
    background-color: #343434;
    max-width: 400px;
    padding: 10px;
    border-radius: 10px;
    outline: none;
    border-style: none;
    border-color: Transparent;
    overflow: auto;
   outline: none;
}
#sendmsg{
    position: absolute;
    background: #146454;
    padding: 10px;
    right: 9%;
}
