html, body{
    user-select: none;
}
body {
    
    margin: 0;
    padding-bottom: 3rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#93cede+0,75bdd1+41,49a5bf+100;Blue+3D+%235 */
    background: rgb(147,206,222); /* Old browsers */
    background: -moz-linear-gradient(left,  rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(147,206,222,1) 0%,rgba(117,189,209,1) 41%,rgba(73,165,191,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(147,206,222,1) 0%,rgba(117,189,209,1) 41%,rgba(73,165,191,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#93cede', endColorstr='#49a5bf',GradientType=1 ); /* IE6-9 */

}
/* #chatbox{
    display:block;
    max-width: 640px;
    width: 100%;
} */
#form {
    background: rgba(0, 0, 0, 0.15);
    padding: 0.25rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    height: 3rem;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

#input {
    border: none;
    padding: 0 1rem;
    flex-grow: 1;
    border-radius: 2rem;
    margin: 0.25rem;
}

#input:focus {
    outline: none;
}

#form>button {
    background: #333;
    border: none;
    padding: 0 1rem;
    margin: 0.25rem;
    border-radius: 3px;
    outline: none;
    color: #fff;
}

#messages {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#messages>li {
    padding: 5px;
    box-sizing: border-box;
}


.box{
    width: 100%;
    min-height: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}
.box.self{
    justify-content: flex-end;
}
.box_user{
    width: 40px;
    height: 40px;
}
.box_content{
    max-width: calc( 100% - 40px);
    
    padding: 0px 75px 0px 5px;
    box-sizing: border-box;
}
.self .box_content{
    padding: 0px 5px 0px 75px;
}
.box_initials{
    background-color: royalblue;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    width: 40px;
    height: 40px;
}
/* .box_initials2{
    font-size: 22px;
}
.box_initials3{
    font-size: 18px;
} */

.box_namedate{
    width: 100%;
    padding: 0;
    font-size: 10px;
    box-sizing: border-box;
}
.self .box_namedate{
    text-align: right;
}
.box_msg{
    padding: 5px 10px;
    font-size: 16px;
    line-height: 1.3em;
    background-color:aliceblue;
    border-radius: 20px;
    /* background-color: #eee; */
    /* border-radius: 10px; */
}
.box_msg a{
    text-decoration: none;
    font-weight: bold;
    color: #000;
    word-break: break-all;

}
.self .box_msg{
    background-color:bisque;
}

