I have 2 pictures on this animation and I want to make 3rd picture on the spot when the previous two pictures merge. Two persons running toward each other and i want them to hug at the middle of screen. I hope I explained it well, since my English is bad. Here is my code. Thanks in advance!
<!DOCTYPE html>
<html>
    <head>
        <title>Animacija</title>
        
        <style>
            .from-left {
  position: absolute;
  left: -100px;
  animation: move-right 3s ease forwards;
}
.from-right {
  position: absolute;
  right: -100px;
  animation: move-left 3s ease forwards;
}
@keyframes move-right {
  100% {
    left: calc(50% - 50px);
  }
}
@keyframes move-left {
  100% {
    right: calc(50% - 50px);
  }
}
        </style>
    </head>
    
    <body>
        <div class="container">
  <img class="from-left" src="john.jpg">
  <img class="from-right" src="catana.jpg">
</div>
        
    
     
    </body>
</html> 
     
    