.wrap-loader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; align-items: center; background: #060a13; display: flex; height: 100%; justify-content: center; } .wrap-loader ul { display: grid; grid-template-columns: repeat(5, 1fr); -webkit-animation: rot 16s linear infinite; animation: rot 16s linear infinite; } @-webkit-keyframes rot { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes rot { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .wrap-loader li { width: 40px; height: 40px; background: #6717cd; border-radius: 4px; list-style-type: none; box-shadow: 0 0 1px #fff, 0 0 5px #6717cd, 0 0 10px #6717cd, 0 0 15px #6717cd, 0 0 25px #6717cd, 0 0 55px #6717cd; -webkit-animation: scale 0.8s linear alternate infinite; animation: scale 0.8s linear alternate infinite; } @-webkit-keyframes scale { 100% { -webkit-transform: scale(0.1); transform: scale(0.1); opacity: 0; } } @keyframes scale { 100% { -webkit-transform: scale(0.1); transform: scale(0.1); opacity: 0; } } .wrap-loader li:nth-child(1) { z-index: 24; } .wrap-loader li:nth-child(2) { z-index: 23; } .wrap-loader li:nth-child(3) { z-index: 22; } .wrap-loader li:nth-child(4) { z-index: 21; } .wrap-loader li:nth-child(5) { z-index: 20; } .wrap-loader li:nth-child(6) { z-index: 19; } .wrap-loader li:nth-child(7) { z-index: 18; } .wrap-loader li:nth-child(8) { z-index: 17; } .wrap-loader li:nth-child(9) { z-index: 16; } .wrap-loader li:nth-child(10) { z-index: 15; } .wrap-loader li:nth-child(11) { z-index: 14; } .wrap-loader li:nth-child(12) { z-index: 13; } .wrap-loader li:nth-child(13) { z-index: 12; } .wrap-loader li:nth-child(14) { z-index: 11; } .wrap-loader li:nth-child(15) { z-index: 10; } .wrap-loader li:nth-child(16) { z-index: 9; } .wrap-loader li:nth-child(17) { z-index: 8; } .wrap-loader li:nth-child(18) { z-index: 7; } .wrap-loader li:nth-child(19) { z-index: 6; } .wrap-loader li:nth-child(20) { z-index: 5; } .wrap-loader li:nth-child(21) { z-index: 4; } .wrap-loader li:nth-child(22) { z-index: 3; } .wrap-loader li:nth-child(23) { z-index: 2; } .wrap-loader li:nth-child(24) { z-index: 1; } .wrap-loader li:nth-child(25) { z-index: 0; } .wrap-loader li:nth-child(1) { -webkit-animation-delay: 0.1s; animation-delay: 0.1s; } .wrap-loader li:nth-child(7) { -webkit-animation-delay: 0.3s; animation-delay: 0.3s; } .wrap-loader li:nth-child(13) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; } .wrap-loader li:nth-child(19) { -webkit-animation-delay: 0.7s; animation-delay: 0.7s; } .wrap-loader li:nth-child(24) { -webkit-animation-delay: 0.9s; animation-delay: 0.9s; } .wrap-loader li:nth-child(2) { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } .wrap-loader li:nth-child(8) { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; } .wrap-loader li:nth-child(14) { -webkit-animation-delay: 0.6s; animation-delay: 0.6s; } .wrap-loader li:nth-child(20) { -webkit-animation-delay: 0.8s; animation-delay: 0.8s; } .wrap-loader li:nth-child(3) { -webkit-animation-delay: 0.3s; animation-delay: 0.3s; } .wrap-loader li:nth-child(9) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; } .wrap-loader li:nth-child(15) { -webkit-animation-delay: 0.7s; animation-delay: 0.7s; } .wrap-loader li:nth-child(4) { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; } .wrap-loader li:nth-child(10) { -webkit-animation-delay: 0.6s; animation-delay: 0.6s; } .wrap-loader li:nth-child(5) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; } .wrap-loader li:nth-child(1) { -webkit-animation-delay: 0.1s; animation-delay: 0.1s; } .wrap-loader li:nth-child(6) { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } .wrap-loader li:nth-child(11) { -webkit-animation-delay: 0.3s; animation-delay: 0.3s; } .wrap-loader li:nth-child(16) { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; } .wrap-loader li:nth-child(21) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; } .wrap-loader li:nth-child(7) { -webkit-animation-delay: 0.3s; animation-delay: 0.3s; } .wrap-loader li:nth-child(12) { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; } .wrap-loader li:nth-child(17) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; } .wrap-loader li:nth-child(22) { -webkit-animation-delay: 0.6s; animation-delay: 0.6s; } .wrap-loader li:nth-child(13) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; } .wrap-loader li:nth-child(18) { -webkit-animation-delay: 0.6s; animation-delay: 0.6s; } .wrap-loader li:nth-child(23) { -webkit-animation-delay: 0.7s; animation-delay: 0.7s; } .wrap-loader li:nth-child(19) { -webkit-animation-delay: 0.7s; animation-delay: 0.7s; } .wrap-loader li:nth-child(24) { -webkit-animation-delay: 0.8s; animation-delay: 0.8s; } .wrap-loader li:nth-child(25) { -webkit-animation-delay: 0.9s; animation-delay: 0.9s; }