This is part of the code...
<html lang="en">
<style type="text/css">
* {
box-sizing: border-box;
}
body {
background-color: #edeff2;
font-family: 'Noto Serif', serif;
font-size: 0.5em;
font-weight: lighter;
content: \0027;
}
.chat_window {
position: fixed;
width: calc(100% - 20px);
max-width: 90%px;
height: 440px;
border-radius: 10px;
background-color: #fff;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
background-color: #f8f8f8;
overflow: hidden;
bottom:0;
}
.messages {
position: relative;
list-style: none;
padding: 20px 10px 0 10px;
margin: 0;
height: 400px;
overflow: scroll;
}
.messages .message {
clear: both;
overflow: hidden;
margin-bottom: 20px;
transition: all 0.5s linear;
opacity: 0;
font-size: 0.5em;
}
.messages .message.left .text_wrapper {
background-color: #E8EAF6;
margin-left: 2px;
}
.messages .message.left .text_wrapper::after, .messages .message.left .text_wrapper::before {
right: 100%;
border-right-color: #E8EAF6;
}
.messages .message.left .text {
color: black;
}
/* resize images */
.messages .message.right img {
border-radius: 7px;
max-height: 100px;
max-width: 100%
width:100%;
object-fit: cover;
}
.messages .message.right .text_wrapper {
background-color: #8C9EFF;
margin-right: 2px;
float: right;
max-width: 85.5%;
width: auto;
position: relative;
word-wrap: break-word;
word-spacing: normal;
text-align:justify;
max-height: 150px;
height:auto;
display: inline-block;
padding: 6px;
border-radius: 7px;
}
.messages .message.right .text_wrapper::-webkit-scrollbar{
display:none;
}
.messages .message.right .text_wrapper::after, .messages .message.right .text_wrapper::before {
left: 100%;
border-left-color: #E8EAF6;
}
.messages .message.right .text {
color: white;
font-size: 1em;
}
.messages .message.appeared {
opacity: 1;
}