/home2/mshostin/public_html/opco/home2.html
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Chargement...</title>
<style>
    body {
        background: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
        font-family: Arial, sans-serif;
        flex-direction: column;
    }

    .loader {
        border: 10px solid #e6e6e6; /* Gris clair */
        border-top: 10px solid #003c8f; /* Bleu foncé */
        border-radius: 50%;
        width: 90px;
        height: 90px;
        animation: spin 1.2s linear infinite;
    }

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

    #percent {
        margin-top: 20px;
        font-size: 24px;
        color: #003c8f;
        font-weight: bold;
    }
</style>
</head>
<body>

<div class="loader"></div>
<div id="percent">0%</div>

<script>
    let percent = 0;
    let txt = document.getElementById("percent");

    let interval = setInterval(() => {
        percent++;
        txt.textContent = percent + "%";

        if (percent >= 100) {
            clearInterval(interval);
        }
    }, 40); // vitesse du remplissage
</script>

</body>
</html>