
  
  .pic-ctn {
    position: relative;
    width: 500px;
    height: 400px;
  }
  
  .pic-ctn > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    position: absolute;
    top: 0;
    left: (100px);
    opacity: 0;
    animation: display 8s infinite;
  }
  
  img:nth-child(2) {
    animation-delay: 4s;
  }
  img:nth-child(3) {
    animation-delay: 8s;
  }
  img:nth-child(4) {
    animation-delay: 12s;
  }
  img:nth-child(5) {
    animation-delay: 16s;
  }
 
  @keyframes display {
    0% {
      transform: translateX(50px);
      opacity: 0;
    }

    5% {
      transform: translateX(0);
      opacity: 1;
    }
    20%{
      transform: scale(1.03);
    }
    30%{
      transform: scale(1);
    }
    45% {
      transform: translateX(0);
      opacity: 1;
    }
    57% {
      transform: translateX(-100px);
      opacity: 0;
    }
    
    100% {
      transform: translateX(-50px);
      opacity: 0;
    }
  }

  @media screen and (max-width:480px) {
    
  .pic-ctn {
    position: relative;
    width: 310px;
    height: 310px;
  }
  
  .pic-ctn > img {
    width: 100%;
    border-radius: 20px;
    left: (50px);
  }
  }
  
  