body{
    margin: 0;
}

.logo{
    display: block;
    margin: auto;
    width: 50px;
    height: 50px;
}

.left-section{
    position: absolute;
    float: left;
    background-color: rgba(40, 39, 39);
    width: 35%;
    top: 50px;
    bottom: 0;
    overflow-y: auto;
}

.right-section{
    width: 65%;
    float: right;
}

.container{
    /* max-width: 950px; */
    background-color: rgb(56, 53, 53);
    margin: auto;
    height: 60vh;
    padding: 33px;
    overflow-y: auto;
    margin-bottom: 23px;
}

.message{
    background-color: white;
    width: fit-content;
    max-width: 70%;
    padding: 10px;
    margin: 5px 12px;
    border-radius: 10px;
}

.left{
    position: relative;
    float: left;
    clear: both;
    background-color: #A8DDFD;
}

.right{
    position: relative;
    float: right;
    clear: both;
    background-color: #f8e896;
}

.right::after,
.left::after {
    content: '';
    position: absolute;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    top: 0;
}

.right::after {
    border-top: 15px solid #f8e896;
    right: -15px;
}

.left::after {
    border-top: 15px solid #A8DDFD;
    left: -15px;
}

.center {
    border-radius: 5px;
    font-size: 15px;
    clear: both;
    margin: 10px auto;
    height: 10px;
    text-align: center;
    line-height: 10px;
}

.message-content {
    margin: 0px;
}

.left .message-content,
.right .message-content{
    padding-right: 30px;
}

.message-timestamp {
    font-size: 0.8em;
    text-align: end;
}

#send-container{
    display: block;
    margin: auto;
    text-align: center;
    max-width: 985px;
    width: 100%;
}

#messageInp{
    width: 80%;
    border: 2px solid black;
    border-radius: 30px;
    height: 37px;
    padding: 0 20px;
}

.btn{
    height: 40px;
    width: 40px;
    cursor: pointer;
    border-radius: 20%;
}


/* ............... Left Section ................. */
.user {
    display: flex;
    align-items: center;
    border-bottom: 2px solid grey;
}

.user:hover{
    background-color: rgb(60, 58, 58);
}

.profile-pic {
    padding: 0 15px;
}

.preview{
    margin: 15px 0;
}

.user h3{
    margin: 0;
    color: white;
}
.user p{
    margin: 0;
    color: white;
}