.image-video-grid{display:flex;gap:10px;justify-content:center;overflow:hidden;width:100%}.image-video-container{aspect-ratio:16/10;overflow:hidden;position:relative;width:50%}.image-video-container img.background-image{z-index:1}.image-video-container img.background-image,.image-video-container video.hover-video{height:100%;left:0;object-fit:cover;position:absolute;top:0;transition:opacity 1s ease;width:100%}.image-video-container video.hover-video{opacity:0;z-index:2}.image-video-container:hover img.background-image{opacity:0}.image-video-container:hover video.hover-video{opacity:1}