body {
  margin: 0;
}
.shower {
  position: relative;
  margin: 30px auto 80px;
  height: 600px;
  min-width: 325px;
  width: 90%;
  max-width: 500px;
}
.shower:before {
  position: absolute;
  content: "";
  left: -15px;
  top: -25px;
  width: calc(100% + 30px);
  height: calc(100% + 100px);
  border-radius: 15px;
  background: #000;
}
.auto-messager {
  display: grid;
  grid-template-rows: 60px 1fr min-content;
  height: 100%;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 26px;
  margin: 0 auto;
  overflow-X: hidden;
  position: relative;
}
.toolbar {
  color: #2095FE;
  background: #eee;
  border-bottom: 1px solid #bbb;
  box-shadow: 0 1px 2px rgba(1, 1, 1, 0.2);
  font-size: 20px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toolbar .left-arrow {
  position: relative;
  margin-left: 36px;
}
.toolbar .left-arrow:before {
  border: 3px solid #2095FE;
  border-right: 3px solid transparent;
  border-top: 3px solid transparent;
  content: " ";
  height: 14px;
  left: -20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
}
.toolbar h2 {
  color: #000;
  font-size: 25px;
  margin-right: 22.23px;
}
.toolbar .contact {
  margin-right: 20px;
}
.content-wrapper {
  display: grid;
  align-items: end;
  overflow-y: hidden;
  grid-template-rows: minmax(0, 1fr) 10px min-content;
  background: #fff;
}
.content-wrapper .messages {
  align-self: end;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.content-wrapper .messages .msg {
  position: relative;
  max-width: 80%;
  min-width: 20px;
  border-radius: 20px;
  padding: 8px 10px;
  margin-top: 10px;
  z-index: 3;
  opacity: 1;
  transition: 0.5s opacity;
}
.content-wrapper .messages .msg.fade {
  transition: none;
  opacity: 0;
}
.content-wrapper .messages .msg:before {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: -2px;
  width: 60px;
  height: 30px;
  background: #fff;
  border-radius: 0 0 15px 15px;
}
.content-wrapper .messages .msg:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0px;
  width: 30px;
  height: 20px;
  border-radius: 10px;
}
.content-wrapper .messages .msg.remote {
  align-self: flex-start;
  background: #e5e4e9;
  margin-left: 15px;
}
.content-wrapper .messages .msg.remote + .remote {
  margin-top: 2px;
}
.content-wrapper .messages .msg.remote:before {
  right: 100%;
}
.content-wrapper .messages .msg.remote:after {
  background: #e5e4e9;
  right: calc(100% - 9px);
}
.content-wrapper .messages .msg.local {
  color: #fff;
  align-self: flex-end;
  background: #2095fe;
  margin-right: 15px;
}
.content-wrapper .messages .msg.local + .local {
  margin-top: 2px;
}
.content-wrapper .messages .msg.local:before {
  left: 100%;
}
.content-wrapper .messages .msg.local:after {
  background: #2095FE;
  left: calc(100% - 9px);
}
.composer {
  color: #2095FE;
  background: #eee;
  border-top: 1px solid #ccc;
  font-size: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: min-content auto min-content;
  align-items: center;
  padding: 5px 0;
}
.composer .composer-item {
  padding: 5px 10px;
  color: #9d9d9d;
  font-size: 24px;
  font-weight: bold;
}
.composer img.composer-item {
  width: 35px;
}
.composer .typer-wrapper {
  background-color: white;
  overflow-y: hidden;
  font-size: 18px;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  padding: 5px;
  max-height: 150px;
  overflow: hidden;
  color: black;
  display: flex;
  flex-direction: column-reverse;
}
.composer .typer-wrapper .placeholder {
  color: #ddd;
}
.thought-bubble {
  display: none;
  background-color: #E5E4E9;
  width: 22px;
  border-radius: 50px;
  padding: 15px;
  margin-bottom: 15px;
  margin-left: 15px;
  animation: 3s bulge infinite ease-out;
}
.thought-bubble :before,
.thought-bubble :after {
  z-index: -2;
  content: '';
  position: absolute;
  bottom: -1px;
  left: -1px;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: #E5E4E9;
  animation: 1s bulge infinite ease-out;
}
.thought-bubble :after {
  height: 5px;
  width: 5px;
  left: -6px;
  bottom: -4px;
}
.thought-bubble span {
  height: 5px;
  width: 5px;
  float: left;
  margin: 0 1px;
  background-color: #9E9EA1;
  display: block;
  border-radius: 50%;
  opacity: 0.4;
}
@keyframes blink {
  50% {
    opacity: 1;
  }
}
@keyframes bulge {
  50% {
    transform: scale(1.95);
  }
}
.thought-bubble :nth-of-type(3) {
  animation: 1s blink infinite 0.9999s;
}
.thought-bubble :nth-of-type(2) {
  animation: 1s blink infinite 0.6666s;
}
.thought-bubble :nth-of-type(1) {
  animation: 1s blink infinite 0.3333s;
}
@-moz-keyframes blink {
  50% {
    opacity: 1;
  }
}
@-webkit-keyframes blink {
  50% {
    opacity: 1;
  }
}
@keyframes blink {
  50% {
    opacity: 1;
  }
}
@-moz-keyframes bulge {
  50% {
    transform: scale(1.05);
  }
}
@-webkit-keyframes bulge {
  50% {
    transform: scale(1.95);
  }
}
@keyframes bulge {
  50% {
    transform: scale(1.1);
  }
}