<>
body {
overflow: hidden;
}
#preload-loader {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: white;
z-index: 999999999;
display: none;
align-items: center;
justify-content: center;
}
.preloader {
width: 120px;
display: flex;
flex-direction: column;
align-items: center;
}
.spinner {
height: 200px;
width: 200px;
animation: rotate 2s linear infinite;
transform-origin: center center;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
svg {
overflow: hidden;
vertical-align: middle;
}
.spinner .path {
stroke-dasharray: 1200;
stroke-dashoffset: 0;
animation: dash 1.5s ease-in-out infinite;
stroke-linecap: round;
stroke: #faa74a;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
@keyframes dash {
0% {
stroke-dasharray: 1200;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 89200;
stroke-dashoffset: -35px;
}
100% {
stroke-dasharray: 89200;
stroke-dashoffset: -124px;
}
}
>