html, body {
	background: #000;
}

.loader-wrapper {
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    overflow: hidden;
    gap: 20px;
    z-index: 111;
}


svg.loader path{
	animation: stroke 3s infinite alternate;
	stroke-width: 2;
	stroke: rgba(250,186,61,1);
	font-size: 120px;
    font-weight: 900;
	letter-spacing: 20px;
    font-family: var(--ub-font);
}
svg.text-loader text {
	animation: stroke2 5s infinite alternate;
	stroke: rgba(250,186,61,1);
	font-size: 26px;
	stroke-width: 0.2;
    font-family: var(--ub-font);
    letter-spacing: 5px;
    user-select: none;
}
@keyframes stroke {
	0%   {
        stroke: rgba(250,186,61,1);
		stroke-dashoffset: 95%;
        stroke-dasharray: 0 200px;
        stroke-width: 2;
	}
	70%  {
        stroke: rgba(250,186,61,1);
    }
	80%  {
        stroke: rgba(250,186,61,1);
        stroke-width: 2;
    }
	100% {
        stroke: rgba(250,186,61,0);
		stroke-dashoffset: -95%;
        stroke-dasharray: 200px 0;
        stroke-width: 2;
	}
}
@keyframes stroke2 {
	0%   {
		fill: rgba(255,255,255,0); stroke: rgba(255,255,255,1);
		stroke-dashoffset: 25%; stroke-dasharray: 0 50%; stroke-width: 0.2;
	}
	70%  {fill: rgba(255,255,255,0); stroke: rgba(255,255,255,1); }
	80%  {fill: rgba(255,255,255,0); stroke: rgba(255,255,255,1); stroke-width: 1; }
	100% {
		fill: rgba(255,255,255,1); stroke: rgba(255,255,255,0);
		stroke-dashoffset: -25%; stroke-dasharray: 50% 0; stroke-width: 0.2;
	}
}
.svg-flex {
    display: inline-flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    position: relative;
    transform: scale(1.5);
}
.svg-flex svg.loader {
    width: 100%;
}
.loading-text {
    max-width: 500px;
    width: 100%;
    height: 52px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

@media screen and (max-width:576px) {
    .svg-flex {
        gap: 0px;
    }
    .svg-flex svg.loader {
        transform: scale(1.2);
        width: 35px;
        height: 40px;
    }
    .svg-flex :is(svg:nth-child(2), svg:nth-child(4), svg:nth-child(5)) {
        height: 26px;
    }
    .loading-text {
        height: 40px;
    }
    svg.text-loader text {
        font-size: 16px;
    }
}

