* {
    /* margin: 0px;
    padding: 0px; */
    box-sizing: border-box;
}

body {

    background-image: url('images.jpeg');
    font-family: 'Poppins', sans-serif;
    /* background: #232425; */
}

.container {
    width: 600px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: #d8d8dd33 2px 20px 29px 0px;
    background: #31363F;
    /* position: relative;
    left: 100px; */
}

.title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #edf1f3;
}

.hemant {
    position: relative;
    top: 50px;
    right: 110px;
}

header {
    text-shadow: #1e1f1f;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    color: aliceblue;
    position: sticky;
    top: 50px;
    left: 10px;
}

footer {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: aliceblue;
}

.chat {
    height: 400px;
    overflow-y: scroll;
    margin: 20px 0;
    padding: 10px;
    border: 2px solid #545250;
    border-radius: 5px;
    background: #222831;
}

.message {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.user {
    justify-content: flex-end;
}

.bot {
    justify-content: flex-start;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
}

.user .avatar {
    order: 2;
    background: url("th.jpeg");
    background-size: cover;
}

.bot .avatar {
    order: 1;
    background: url("compressed_300167030ea6a6ab25faa7a64e128960.webp");
    background-size: cover;
}

.text {
    max-width: 70%;
    padding: 10px;
    border-radius: 10px;
    font-size: 16px;
    color: white;
}

.user .text {
    background: #4a4d52;
}

.bot .text {
    background: #8c8c8e;
}

.input {
    position: relative;
    width: 100%;
    padding: 10px;
    border: 2px solid #cbcbce;
    border-radius: 5px;
    outline: none;
    font-size: 20px;

}

.input:focus {
    border-color: #8296d0;
    color: #1e1f1f;
}

.button {
    position: absolute;
    width: 80px;
    border: none;
    padding: 1px;
    background: #31363F;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-top: .01rem;
    margin-left: -4.1rem;
    outline: none;

}

button i {
    font-size: 3rem;
}

.button:hover {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.chat::-webkit-scrollbar {
    width: 10px;
}

.chat::-webkit-scrollbar-thumb {
    background: #bcbdc0;
    border-radius: 10px;
}