body {
  margin: 0;
  padding: 0;
  background-color: #222;
  height: 100%; 
  overflow: hidden
  font: 300 1rem/1.5 Helvetica Neue, sans-serif;
  font-weight:bold;
    border-radius: 50px 0 0 50px;
}

* {
  font-family: Helvetica,sans-serif;
  font-weight:bold;
  font-size: 30px;
  padding-bottom: 0;
}

.list {
  width: 15%;
  float: left;
  background: #2c3e50;
  height: 100%;
  border-radius: 50px 0 0 50px;
}
.list ul {
  list-style-type: none;
  padding: 0;
}
.list ul li a {
  display: block;
  border: none;
  border-left: 5px solid transparent;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  font-size: 20px;
  text-decoration: none;
  padding: 10px 10px;
  color: #fff;
}
.list ul li a:hover {
  border-left: 10px solid #2980b9;
}
.list ul li:first-child {
  color: #fff;
  text-align: center;
  border-bottom: 1px solid #fff;
  margin-bottom: 3px;
}
.chat-box {
  float: left;
  width: 84.8%;
  background: #2c3e50;
  height: 100%;
  border-radius: 0 50px 50px 0;
}
.chat-box ul {
  list-style-type: none;
  display: none;
}
.chat-box ul:target {
  display: block;
}
.chat-box ul li .title {
  color: #888;
  text-align: center;
  border-bottom: 1px solid #88;
  margin-bottom: 3px;
}
.chat-box ul li .me {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.chat-box ul li .you {
  display: flex;
  align-items: center;
}
.chat-box ul li > div .img {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border-radius: 50%;
  margin-bottom: -25px;
  border: 2px solid #03A9F4;
  z-index: 100;
  position: relative;
}
.chat-box ul li > div .name {
  display: inline-block;
  padding: 5px 50px 5px 20px;
  margin-top: -20px;
  margin-right: -30px;
  background-color: #03A9F4;
  color: #fff;
  border-radius: 15px 0 0 0;
  font-size: 13px;
  position: relative;
}
.chat-box ul li > div .text div {
  background-color: #fff;
  display: inline-block;
  padding: 15px 20px;
  max-width: 300px;
  min-width: 150px;
  margin-left: -55px;
  border-radius: 10px 0 10px 10px;
  z-index: 10;
  position: relative;
  text-align: right;
}
.chat-box ul li .you .name {
  padding: 5px 25px 5px 50px;
  margin-left: -30px;
  border-radius: 0 15px 0 0;
}
.chat-box ul li .you .text div {
  margin-left: 6px;
  border-radius: 0 10px 10px 10px;
  text-align: left;
}
::-webkit-scrollbar {
    width: 0px;  /* remove scrollbar space */
    background: transparent;  /* optional: just make scrollbar invisible */
}

#group {
  left: 0;
  right: 0;
  overflow-y: scroll;
  background-color: #e74c3c;
  top: 60px;
}

#chat {
  overflow-y: scroll;
}

.messages {
  overflow-y: scroll;
  overflow-x: hidden;
}
.messages::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}
.messages::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
}
.messages li {
  display: inline-block;
  clear: both;
  float: left;
  margin: 15px 15px 5px 15px;
  width: calc(100% - 25px);
  font-size: 0.9em;
}
.messages li:nth-last-child(1) {
  margin-bottom: 20px;
}
.messages li.sent img {
  margin: 20px 8px 0 0;
}
.messages li.sent p {
  background: #435f7a;
  color: #f5f5f5;
}
.messages li.replies img {
  float: right;
  margin: 20px 0 0 8px;
}
.messages li.replies p {
  background: #f5f5f5;
  float: right;
}
.messages li.replies p2 {
  float: right;
}
.messages li img {
  width: 15%;
  border-radius: 50%;
  float: left;
}
.messages li p {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 205px;
  line-height: 130%;
}
.messages li p2 {
  padding-top: 7.5%;
  padding-bottom: 7.5%;
  border-radius: 20px;
  line-height: 130%;
}
@media screen and (min-width: 735px) {
  .messages li p {
    max-width: 300px;
  }
}

#msform {
  width: 90%;
  float: center;
}

#msform fieldset:not(:first-of-type) {
  display: none;
}

.fs-title {
  font-size: 15px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 10px;
}