/* Chat */

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  background-color: white;
  color: #252525;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  width: 100%;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  padding: 10px 10px;
}

.left-header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo {
  display: flex;
  justify-content: center;
}

.left-header i {
  background-color: #efefef;
  border-radius: 50%;
  color: #606266;
  width: 40px;
  height: 40px;
  line-height: 45px;
  padding: 10px;
  padding-top: -0px;
  font-size: 22px;
}

.logo img {
  margin-right: 10px;
}

.center-header i {
  color: #606266;
  height: 40px;
  width: 40px;
  line-height: 45px;
  border-radius: 50%;
  padding: 10px;
  padding-top: -0px;
  font-size: 22px;
}

.center-header ul li {
  display: inline-block;
  align-items: center;
  justify-content: center;
  text-align: center;
  list-style: none;
  margin-left: 20px;
  margin-right: 20px;
}

.center-header ul li a {
  text-decoration: none;
  color: #606266;
}


.center-header a i:hover {
  background-color: #efefef;
  color: #0055ff;
  width: 100px;
  height: 50px;
  border-radius: 6px;
  
}

.right-header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.right-header img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  line-height: 45px;
}

.right-header i {
  background-color: #efefef;
  color: #050505;
  height: 40px;
  width: 40px;
  line-height: 45px;
  border-radius: 50%;
  text-align: center;
  padding: 10px;
  padding-top: -0px;
  font-size: 22px;
  margin-right: 10px;
}

.right-header .fa-facebook-messenger {
  color: #0055ff;
}

.right-header .fa-facebook-messenger::after {
  background-color: #0055ff;
  width: 100%;
  height: 2px;
  bottom: -6px;
  left: 6px;
}

/* main */

.container {
  margin: 0 auto;
}

.left-msg {
  text-align: left;
  position: fixed;
  height: 560px;
  width: 360px;
  border-right: 1px solid lightgray;
}

.chat {
  display: flex;
  justify-content: space-between;
  padding: 20px 20px;
  padding-top: 10px;
}

.chat span {
  font-size: 2rem;
  font-weight: bold;
}

.srch-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.srch-box input {
  background-color: #efefef;
  width: 340px;
  height: 30px;
  border-radius: 20px;
  font-size: 16px;
  border: 0;
  box-shadow: 0 0 1px;
  padding-left: 10px;
  margin-bottom: 20px;
}

.p {
  display: flex;
  justify-content: center;
}

.p p {
  background-color: #f7f8fa;
  width: 300px;
  height: 30px;
  border-radius: 10px;
  padding: 10px 0px 30px 10px;
  margin-bottom: 10px;
  font-size: 15px;
}

.p span {
  color: #0055ff;
}

.img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.right-msg {
  margin-left: 50%;
  padding-top: 10%;
}