/* Général */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #0316e7;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #1E3A8A; /* Bleu */
    color: white;
    padding: 1.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1.1em;
}

header .logo h1 {
    margin: 0;
    font-size: 2em;
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.hero1 {
    text-align: initial;
    padding: 2em;
    background-color: #ffffff;
    color: #000;
}

.hero {
    text-align: center;
    padding: 4em 2em;
    background-color: #ff0000;
    color: white;
    font-size: 1.4em;
}

section {
    padding: 3em;
}

/* Formulaires */
.contact-form, .withdraw-form {
    background-color: #fafafa;
    padding: 3em;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(49, 47, 47, 0.982);
    width: 60%;
    margin: 2em auto;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 1em;
    font-size: 1.1em;
}

form input, form textarea {
    padding: 1em;
    margin-bottom: 2em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

form button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 25px;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    border-radius: 6px;
}

form button:hover {
    background-color: #45a049;
}

/* Pied de page */
footer {
    background: linear-gradient(to right, #0D1B2A, #1B263B, #415A77); /* Dégradé de gauche à droite */
    color: white;
    text-align: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
        }

.advertisements {
    margin-top: 30px;
    text-align: center;
}

.advertisement {
    background-color: #333;
    color: white;
    padding: 20px;
    margin-top: 15px;
    font-size: 1.4em;
    border-radius: 8px;
    box-shadow: 0 6px 8px rgba(212, 1, 1, 0.874);
    animation: fade 3s ease-in-out infinite;
}

@keyframes fade {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.tron-container {
    text-align: center;
    margin-top: 25px;
}

/* Animation pour la rotation infinie */
@keyframes rotate-tron {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Style du bouton inversé */
#mine-button {
    background-color: #027a14; /* Fond sombre */
    color: white;           /* Texte clair */
    padding: 18px 35px;
    font-size: 1.4em;
    border: 3px solid #1505f0; /* Bordure verte */
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#mine-button:hover {
    background-color: #c9fa03; /* Fond JAUNE quand survolé */
    border-color: #333;        /* Bordure sombre quand survolé */
    color: black;              /* Texte noir quand survolé */
}

/* Notifications */
#notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification {
    background-color: #ffcc00; /* Jaune pour attirer l'attention */
    color: rgb(0, 0, 0);
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

/* Animation de disparition */
.notification.fade-out {
    opacity: 0;
}

/* Responsive Design */

/* Pour les tablettes (écrans entre 768px et 1024px) */
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        padding-left: 0;
    }
    nav ul li {
        margin-left: 0;
        margin-bottom: 15px;
    }
    .contact-form, .withdraw-form {
        width: 80%;
        margin: 1.5em auto;
    }
    .hero {
        padding: 3em 1.5em;
        font-size: 1.2em;
    }
    footer {
        padding: 2em 1em;
        font-size: 1.2em;
    }
    .advertisement {
        font-size: 1.1em;
    }
}

/* Pour les téléphones (écrans jusqu'à 767px) */
@media (max-width: 767px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        padding-left: 0;
    }
    nav ul li {
        margin-left: 0;
        margin-bottom: 15px;
    }
    .contact-form, .withdraw-form {
        width: 90%;
        margin: 1.5em auto;
    }
    .hero {
        padding: 2em 1.2em;
        font-size: 1.1em;
    }
    footer {
        padding: 2em 1em;
        font-size: 1.1em;
    }
    .advertisement {
        font-size: 1.1em;
    }
    .tron-image {
        width: 130px;
        height: 130px;
    }
}

/* Style pour le bouton flottant de traduction */
.translate-button {
    position: fixed;
    bottom: 20px; /* Espacement depuis le bas */
    right: 20px; /* Espacement depuis la droite */
    background-color: #7e10d8; /* Couleur verte */
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: background-color 0.3s ease;
}

/* Changer la couleur au survol */
.translate-button:hover {
    background-color: #cc09da;
}

.translate-button:hover {
    background-color: #d60e90;
}


header h1 {
    font-size: 2rem;
}

footer p {
    font-size: 0.9rem;
}

section {
    padding: 30px 0;
}

  