.img1{
margin: auto;
  animation: mymove 7s infinite;
}

@keyframes mymove {
  50% {transform: rotate(360deg);}
}
 .img2{
    margin: auto;
      animation: mymove 7s infinite;
    }
    
    @keyframes mymove {
      50% {transform: rotate(360deg);}
    }
    
.img3{
        margin: auto;
          animation: mymove 7s infinite;
        }
        
        @keyframes mymove {
          50% {transform: rotate(360deg);}
        }

 .img4{
            margin: auto;
              animation: mymove 7s infinite;
            }
            
            @keyframes mymove {
              50% {transform: rotate(360deg);}
            }