#preloader{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgb(255 255 255 / .8);z-index:9999;display:flex;justify-content:center;align-items:center}.spinner{width:50px;height:50px;border:5px solid #ccc;border-top:5px solid #3498db;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}