@font-face {
    font-family: 'Astonpoliz'; /* Remplace par le nom de la police */
    src: url('../fonts/Astonpoliz.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    color: white;
    font-family: 'Raleway', sans-serif !important;
    text-align: center;
    background: linear-gradient(45deg, #0b7380, #bdffb7);
    background-size: 300% 300%;
    animation: gradientShift 10s infinite alternate ease-in-out;
    position: relative; /* Permet de fixer l'effet visuel */
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Ajout d'un conteneur principal pour éviter le centrage forcé */
.main-content {
    width: 100%;
    max-width: 1200px; /* Ajuste selon ton besoin */
    padding: 50px 20px;
}

/* Fixation du fond d'écran */
body::before {
    content: "";
    position: fixed; /* Fixe le fond */
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 10%, transparent 90%);
    opacity: 0.4;
    pointer-events: none;
    z-index: -1; /* S'assure que le bruit reste en arrière-plan */
}

.light_window {
    background: #f6f3ec;
    color: #0e283d;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1;
}



.clear_window {
    background: none;
    padding: 20px;
    border-radius: 3px;
    box-shadow: none;
    text-align: center;
    z-index: 1;
}

.grey_window {
    background: #ebe9e4;
    color: #0e283d;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1;
}

.elavera-text {
    background: linear-gradient(90deg, #0b7380, #bdffb7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-family: Astonpoliz, sans-serif;
}

.clear_window .elavera-text {
    background: linear-gradient(90deg, #ffffff, #d1e8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.15;
}



#logo {
    height: 100px;
    fill: none; /* Ne pas utiliser de couleur de remplissage */
    background: linear-gradient(90deg, #0b7380, #bdffb7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.cls-1{
    fill : white;

}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 10px;
}


p, ul, ol, blockquote {
    margin-bottom: 15px;
}
/* Style des liens avec un dégradé */
a {
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    color: transparent; /* Le texte est transparent par défaut */
    background-image: linear-gradient(90deg, #0b7380, #bdffb7);
    background-size: 200% 100%; /* Dégradé étendu pour l'effet */
    background-position: 0% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.3s ease-in-out;
}

a:hover {
    background-position: 100% 50%; /* Déplace le dégradé */
}



/* Effet lorsqu'on clique */
a:active {
    transform: scale(0.98); /* Légère réduction */
    opacity: 0.8; /* Effet de clic */
}
blockquote {
    padding: 10px;
    background: rgba(0,0,0,0.1);
    border-left: 5px solid #0b7380;
    border-radius: 3px;
}

pre, code {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.1);
    padding: 5px;
    border-radius: 3px;
}

input, select, textarea, button {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: 'Raleway';
}

/* Style général du bouton */
button {
    background: linear-gradient(90deg, #0b7380, #bdffb7); /* Dégradé */
    border: none;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); /* Ombre légère */
}

/* Effet au survol */
button:hover {
    background: linear-gradient(90deg, #0b7380, #98e9a1); /* Changement de couleur */
    transform: scale(1.05); /* Effet de grossissement */
}

/* Effet lorsqu'on clique */
button:active {
    transform: scale(0.95); /* Léger rétrécissement */
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); /* Réduction de l'ombre */
}


table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

th {
    background: #0b7380;
    color: white;
}

mark{
    background : linear-gradient(90deg, #0b7380, #bdffb7);
    color : white;
}

/* Style général */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #0b7380, #bdffb7); /* Dégradé */
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
}

/* Personnalisation du slider pour Webkit (Chrome, Safari) */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #0b7380, #bdffb7); /* Dégradé */
    border-radius: 5px;
    cursor: pointer;
}

/* Curseur (bouton rond qui se déplace) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #0b7380;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px; /* Ajustement vertical */
}

/* Style pour Firefox */
input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #0b7380, #bdffb7); /* Dégradé */
    border-radius: 5px;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #0b7380;
    border-radius: 50%;
    cursor: pointer;
}

/* Effet au survol */
input[type="range"]:hover {
    background: linear-gradient(to right, #0b7380, #98e9a1);
}

.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #0b7380, #bdffb7);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 1000;
}

.menu-bar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: background 0.3s ease-in-out;
}

.menu-bar a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.maintenance-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Prend toute la hauteur de l'écran */
    text-align: center;
    margin-top: -6rem;
}

.maintenance-container h1 {
    font-size: 2.5rem;
    color: #0b7380; /* Couleur de ton design */
}

.maintenance-container p {
    font-size: 1.2rem;
}

/* -------- Préloader (Blocs gauche & droite + Logo) -------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

#preloader-left, #preloader-right {
    width: 200%;
    height: 200%;
    background: white;
    position: absolute;
    top: 0;
    transform: rotate(45deg);
}

#preloader-left {
    left: 0;
}

#preloader-right {
    right: 0;
}

/* Logo du préchargement */
#preloader-logo {
    position: absolute;
    width: 100px; /* Ajuste la taille */
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
}

/* -------- Animations -------- */
.preloader-hidden #preloader-left {
    animation: slideLeft 1.5s ease forwards;
    animation-delay: 0.3s; /* Attente avant que l'animation commence */
}

.preloader-hidden #preloader-right {
    animation: slideRight 1.5s ease forwards;
    animation-delay: 0.3s; /* Attente avant que l'animation commence */
}

.preloader-hidden #preloader-logo {
    opacity: 0; /* Fait disparaître le logo */
}

@keyframes slideLeft {
    from { left: -117%; top: -50%; }
    to { left: -200%; top: -50%; } /* Part vers en haut à gauche */
}

@keyframes slideRight {
    from { right: -100%; top: 100%; }
    to { right: -100%; top: -250%; } /* Part vers en bas à droite */
}


