.ea-photo-frame-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ea-photo-frame {
  margin: 20px;
  animation: ea-photo-frame ease-in-out 0.5s infinite alternate;
  transform-origin: center -36px;
  position: relative;
}

.ea-photo-frame:hover {
  animation-play-state: paused;
  cursor: pointer;
}

.ea-photo-frame img {
  border: 5px solid #f8f8f8;
  display: block;
  width: 200px;
  height: 250px;
}

.ea-photo-frame span {
  display: block;
  text-align: center;
}

.ea-photo-frame:after{
  content: '';
  position: absolute;
  width: 40px; 
  height: 20px;
  border: 1.5px solid #ffffff;
  top: -10px; 
  left: 40%;
  border-bottom: none;
  border-right: none;
  transform: rotate(35deg);
}
       
.ea-photo-frame:before{
  content: '';
  position: absolute;
  top: -23px;
  left: 40%;
  display: block;
  height: 44px;
  width: 207px;
  background-image: url(https://enteraddons.com/wp-content/uploads/2022/09/hanger-icon-300x300.png);
  background-size: 20px 20px;
  background-repeat: no-repeat;
  z-index: 16;
}
        
@keyframes ea-photo-frame {
  0% { transform: rotate(10deg); }
  100% { transform: rotate(-10deg); }
}

@keyframes ea-photo-frame2 {
  0% { transform: rotate(30deg); }
  100% { transform: rotate(-30deg); }
}

@keyframes ea-photo-frame3 {
  0% { transform: rotate(50deg); }
  100% { transform: rotate(-50deg); }
}

@keyframes ea-photo-frame4 {
  0% { transform: rotate(70deg); }
  100% { transform: rotate(-70deg); }
}