.youtube-player-wrapper{position:relative;width:auto;height:auto}.youtube-player{padding-top:56.25%;position:relative;top:0;left:0;width:100%;height:100%;transition:opacity .5s ease-in-out}.hidden{opacity:0}.fade-in{opacity:1;z-index:1}.shimmer-box{position:relative;width:100%;height:100%;background:#333;overflow:hidden}.shimmer-box:after,.shimmer-box:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,#f6f7f8 0,#edeef1 20%,#f6f7f8 40%,#f6f7f8);background-size:200% 100%;animation:shimmer 1.5s linear infinite}.shimmer-box:before{z-index:1;opacity:.5}.shimmer-box:after{z-index:2;opacity:.7}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.wrapper{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;height:100vh}.player{width:80%;height:45vw}