body {
  background: #fff;
  position: relative;
}
.content{
  max-width: 800px;
  margin: 0 auto;
}
.border{
  position: fixed;
  top: 80%;
  width: 30px;
  height: 3px;
  background: #333;
}
.content .wrapper img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin: 10px;
  border-radius: 50%;
}
.wrapper {
  display: flex;
  margin: 10px;
  padding: 10px;
  opacity: 0;
  transition: all 1s ease;
}
.wrapper.active {
  animation: appear 2s forwards;
}
@keyframes appear {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.wrapper:nth-of-type(even) {
  flex-direction: row-reverse;
}
.wrapper:nth-of-type(even) .wrapper img {
  margin-left: 40px;
}
.personA,
.personB {
  position: relative;
  max-width: 500px;
  height: 100%;
  padding: 10px;
  text-align: left;
  line-height: 1em;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  text-shadow: 1px 1px 2px #111;
}
.personA {
  background: green;
  border: 2px solid #666;
  margin-top: 10px;
  margin-left: 30px;
}
.personB {
  background: rgb(255, 123, 0);
  border: 2px solid #9b350a;
  margin-top: 10px;
  margin-right: 30px;
}
.personA:after,
.personA:before,
.personB:after,
.personB:before {
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
}
.personA:after,
.personA:before{
  right: 100%;
}
.personB:after,
.personB:before {
  left: 100%;
}
.personA::after,
.personB::after{
  border-top-width: 10px;
  border-bottom-width: 10px;
  border-left-width: 20px;
  border-right-width: 20px;
  margin-top: -10px;
}
.personA:after {
  border-color: rgba(76, 238, 81, 0);
  border-right-color: green;
}
.personB:after {
  border-color: rgba(238, 181, 72, 0);
  border-left-color: rgb(255, 123, 0);
}
.personA:before,
.personB:before {
  border-top-width: 12px;
  border-bottom-width: 12px;
  border-left-width: 24px;
  border-right-width: 24px;
  margin-top: -12px;

}.personA:before {
  border-color: rgba(56, 155, 12, 0);
  margin-right: 2px;
  border-right-color: #666;
}
.personB:before {
  border-color: rgba(155, 53, 10, 0);
  margin-left: 2px;
  border-left-color: rgb(104, 67, 0);
}

@keyframes slide {
  0% {
    transform: translateX(-50%);
    opacity: 0;
  }
  20% {
    transform: translateX(0px);
    opacity: 1;
  }
}
.wrapper.active > .textAni > span > span {
  animation: slide 0.5s ease-in-out backwards;
}
.textAni span {
  display: inline-block;
  overflow: hidden;
}
