/* style.css */

/* Style pour le corps de la page */
body {
    margin: 0;
    background: #0012cc; /* Fond bleu profond - Ajustez cette valeur pour changer la couleur de fond */
    overflow: hidden;
    font-family: sans-serif;
}

/* Style pour l'en-tête */
header {
    background: #ffffffaa; /* Blanc légèrement transparent */
    color: #003366;
    display: flex;
    justify-content: center;
    gap: 2em;
    padding: 1em;
    font-weight: bold;
    font-size: 1.2em;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

/* Style pour les éléments div dans l'en-tête */
header div {
    transition: background 0.3s, color 0.3s;
    padding: 0.2em 0.6em;
    border-radius: 10px;
}

/* Style pour les éléments div actifs dans l'en-tête */
header div.active {
    background: #00FFFF;
    color: black;
}

/* Style pour les dés */
.dice {
    width: 80px;
    height: 80px;
    background: white; /* Couleur de fond des dés - Ajustez cette valeur pour changer la couleur des dés */
    color: black; /* Couleur du texte des dés */
    border: 2px solid black; /* Bordure noire autour des dés */
    border-radius: 15px;
    font-size: 2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: absolute;
    transition: top 1s ease, left 1s ease, transform 1s ease, background 0.3s; /* Ajout de la transition pour le fond */
    cursor: pointer;
}

/* Style pour les dés au survol */
.dice:hover {
    background: #000042; /* Couleur de fond des dés au survol - Ajustez cette valeur pour changer la couleur au survol */
    color: white; /* Couleur du texte des dés au survol */
}

/* Style pour les liens dans l'en-tête */
header a {
    text-decoration: none;
    color: inherit;
}

/* Style pour les liens dans l'en-tête au survol */
header a:hover {
    background: #00FFFF;
    color: black;
    padding: 0.2em 0.6em;
    border-radius: 10px;
}

div texte-bienvenue {
	background: #ffffff;
	color: black;
}
