<style>
.loader {
border: 12px double #ff7b00;
border-radius: 50%;
border-top: 12px double #292a2c;
width: 100px;
height: 100px;
animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
}

p {
color: #333;

}
/* Styles for the loading spinner */
.loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}

/* Spinner styles */
@keyframes rotate {
to {
transform: rotate(1turn);
}
}

.spinner {
--_size: 3rem;
--_thickness: 25%;
--_speed: 800ms;

display: block;
width: var(--_size);
height: var(--_size);
border-radius: 50%;
background: conic-gradient(
red,
orange,
yellow,
green,
blue,
indigo,
violet,
red
);
mask-image: radial-gradient(
circle closest-side,
transparent calc(100% - var(--_thickness)),
black calc(100% - var(--_thickness)),
#000 100%
);
animation: rotate var(--_speed) linear infinite;
}

// Layout

*,
*::before,
*::after {
box-sizing: border-box;
}

/* The content of the page will be hidden initially */
.page-content {
display: none;
}
</style>


<!-- Loading Spinner (hidden initially) -->
<div class="loading-overlay" id="loadingOverlay">

<div class="loader"></div>
<p id="message-1"></p>
</div>


<script>
// This function will run once the page has fully loaded
window.onload = function () {
// Hide the loading spinner
document.getElementById('loadingOverlay').style.display = 'none';

// Show the main page content
document.querySelector('.page-content').style.display = 'block';
};


const message1 = document.getElementById( 'message-1' )
const tip1 = document.getElementById( 'tip-1' )

const messages = [
'Now Loading',
'Now Loading.',
'Now Loading..',
'Now Loading...'
]

let i = 0

function showMessage_1() {
if ( i == 4 ) { i = 0 }
message1.textContent = messages[i]
i++
}

setInterval( showMessage_1, 500 )
</script>


<!-- Main page content -->
<div class="page-content"></div>