.image-panels{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5%;width:100%;perspective:1000px}.image-panels .image-wrapper{position:relative;width:100%;height:0;padding-top:236%;overflow:hidden;animation-timing-function:cubic-bezier(.22,.61,.36,1);animation-iteration-count:infinite;animation-duration:2s;animation-play-state:paused;box-shadow:rgba(100,100,111,0.2) 0px 7px 29px 0px;filter:grayscale(1);transition:filter .6s ease}.image-panels .image-wrapper.active{animation-name:alternateRotation;animation-play-state:running;filter:none}.image-panels .image-wrapper:nth-of-type(even){margin-top:20%}.image-panels .image-wrapper img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}@keyframes alternateRotation{0%{transform:rotate3d(0,1,0,0)}100%{transform:rotate3d(0,1,0,360deg)}}