body {
  font-family: Arial, Helvetica, sans-serif;
}

.phone {
  background-color: #333;
  height: 700px;
  width: 350px;
  border-radius: 30px;
}

.phone__header,
.phone__footer {
  position: relative;
  height: 70px;
}


.phone__header::before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 10px;
  left: 90px;
  top: 30px;
  background-color: #777;
  border-radius: 50%;
  opacity: .5;
}

.phone__header::after {
  content: "";
  display: block;
  position: absolute;
  width: 100px;
  height: 10px;
  left: 50%;
  transform: translateX(-50%);
  top: 30px;
  background-color: #777;
  border-radius: 30px;
}

.phone__footer::before {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  border: 2px solid #222;
  background-color: #333;
}

.phone__body {
  height: 560px;
  padding: 0 5px;
  background-color: #444;
  overflow-y: scroll;
}

.phone-app {
  background-color: #fafafa;
  min-height: 700px;
  overflow: hidden;
}

.phone-app__header {
  height: 70px;
  background-color: #f1f1f1;
  box-shadow: 0px 0px 2px 1px silver;
  color: #777;
  text-align: center;
}

.phone-app__body {
  padding: 10px;
}

.message {
  position: relative;
  background-color: rgb(216 216 216);
  padding: 10px 15px;
  color: #444;
  font-size: 16px;
  border-radius: 15px;
  margin-bottom: 15px;
  animation-name: appear;
  animation-duration: 200ms;
  animation-timing-function: linear;
}

.message::before {
  content: "";
  position: absolute;
  display: block;
  width: 7px;
  height: 35px;
  background-color: rgb(216 216 216);
  bottom: -8px;
  border-radius: 50%/15% 10%/15%;
  left: 0px;
  border-bottom-right-radius: 150%;
  border-top-left-radius: 50%;
}

.avatar {
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
  background-image: url("/img/lh_icon.jpg");
  border-radius: 50%;
  background-size: cover;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
}

.contact {
  font-size: 10px;
  position: relative;
  top: 5px;
}

.empty {
  position: relative;
  color: #999;
  font-size: 14px;
  text-align: center;
  top: 190px;
}

@keyframes appear {
  0% {
    transform: scale(.2);
  }
  100% {
    transform: scale(1);
  }
}

@-webkit-keyframes appear {
  0% {
    transform: scale(.2);
  }
  100% {
    transform: scale(1);
  }
}
