.bg-rotator{position:relative;width:100%;height:100vh;overflow:hidden}.bg-slide{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:50%;opacity:0;transition:opacity 1s ease-in-out}.bg-slide.active{opacity:1}.bg-overlay{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;height:100%;color:#fff;padding:2rem;background:rgba(0,0,0,.8)}