main{
    position: relative; 
    height: 707px;
    background:  rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.chat-input{
    position: absolute;
    bottom: 0;
    left: calc(50% - 219px);
    width: 439px;
    height: 200px;
}

#input-text{
    resize: none;
    padding: 10px;
    height: 148px;
    width: 439px;
    font-size: 25px;
    border-radius: 10px;
}

#submit{
    display: block;
    float: right;
    border-radius:10px;
    width: 80px;
    height: 40px;
    border: none;
}

#submit:hover{
    border: 1px solid black;
    outline: 1px solid rgba(71, 77, 78, 0.8);
    cursor: pointer;
}

.chat-friendName{
    position: absolute;
    display: flex;
    background-color: rgb(230, 230, 230);
    top: 3%;
    left: 40.5%;
    width: 20%;
    height: 40px;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.chat-wall{
    position: absolute;
    background-color: rgb(230, 230, 230);
    overflow: auto;
    display: inline-block;
    width: 50%;
    height: 60%;
    top: 10%;
    left: 25%;
    border-radius: 10px;
}

.chat-wall .chat-show{
    position: absolute;
    display: block;
    border: 1px solid black;
    padding: 3px 10px;
    right: -100px;
    height: 40px;
    font-size: 25px;
    border-radius: 10px;
    /* background-color: chartreuse; */
}

.chat-wall #chat-show{
    cursor: pointer;
    border: 0;
    outline: 1px solid green;
    opacity: 1 !important;
    box-shadow:  0 2px 5px 0 rgb(0 0 0 / 16%), 0 7px 10px 0 rgb(0 0 0 / 12%);
}

.container .friend-list{
    position: relative;
    background-color: rgb(230, 230, 230);
    overflow: auto;
    display: inline-block;
    width: 20%;
    height: 60%;
    top: 10%;
    left: 78%;
    border-radius: 10px;
}

.friend-list::-webkit-scrollbar{
    height: 0px;
    width: 0px;
    background-color: rgba(71, 77, 78, 0.8);
}

.container .friend-list .friend{
    margin: 10px;
    border-radius: 10px;
    background-color: rgb(210, 210, 210);
    height: 40px;
    padding: 6px;
}

.container .friend-list .friend span{
    position: relative;
    display: inline-block;
    bottom: 5px;
    padding-left: 10px;
}

.container .friend-list .friend img{
    position: relative;
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.container .friend-list .friend a{
    display: block;
    color: rgb(73, 105, 64);
}

.container .friend-list .friend a:hover{
    color: rgb(73, 105, 64);
    border-bottom: 1px solid rgb(73, 105, 64);
}

.container .friend-list .friend a:visited{
    color: rgb(73, 105, 64);
}

.container .card-div{
    width: 240px;
    height: 100%;
    padding-top: 120px;
    padding-left: 20px;
    position:fixed;
}

.container .card-div #user-card{
    padding: 30px 17px;
    background-color: rgb(166, 166, 166);
    width: 100%;
    border-radius: 20px;
}
.container #user-card img{
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    margin-bottom: 40px;
}
.container #user-card #name,#gender,#email,#sign{
    display: block;
    margin: 10px;
    text-align: center;
}

.container #user-card .counter{
    display: flex;
    justify-content: space-around;
    padding: 5px;
}

.container .chat-wall .time span{
    display: flex;
    justify-content: center;
}

.clearfix{
    zoom: 1;
}

.clearfix::before, .clearfix::after{
    content: "";
    display: table;
}

.clearfix::after{
    clear: both;
}


.container .chat-wall .message{
    margin: 20px 10px 20px 10px;
    position: relative;
}

.container .chat-wall .other{
    float: left;
}

.container .chat-wall .me{
    float: right;
}

.container .chat-wall .message div .msg{
    padding-left: 10px;
    padding-right: 10px;
    background-color: rgb(200, 200, 200);
    font-size: 25px;
    display: block;
    max-width: 450px;
    word-wrap: break-word;
    white-space: normal;
}

.container .chat-wall .message .other .msg{
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.container .chat-wall .message .me .msg{
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.container .chat-wall .message div div{
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
}

.container .chat-wall .message div img{
    width: 40px;
    height: 40px;
    position: relative;
}

.container .chat-wall .message .me span{
    position: relative;
    bottom: 10px;
}

.footer{
    margin: 0 auto;
}
