﻿/* Le conteneur des particules */
/* On le place en arrière-plan, sur toute la page */
#tsparticles {
    position: fixed;  /* ou absolute, selon ton besoin */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;      /* Derrière le contenu principal */
    overflow: hidden;
}

body {
    background-color: #1c1c1c;
    color: #fff;
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.title {
    font-family: 'Bebas Neue', cursive;
    font-size: 36px;
    background: linear-gradient(to right, #9579f2, #6e4fce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
}

/* ============================ */
/*       BARRE VIOLETTE        */
/* ============================ */
.top-bar {
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #9579f2, #6e4fce);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

/* ============================ */
/*   DÉGRADÉ BAS DE PAGE       */
/* ============================ */
.bottom-gradient {
  width: 100%;
  height: 120px;
  background: linear-gradient(
    to top,
    rgba(149, 121, 242, 0.2),
    rgba(28, 28, 28, 0)
  );
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
}

.separator {
    height: 2px;
    width: 80%;
    margin: 10px auto;
    background: linear-gradient(to right, #9579f2, #6e4fce);
    border: none;
}

.logo {
    width: 350px; /* Taille du logo */
    height: auto;
    margin: 10px auto; /* Ajuster la marge pour centrer le logo */
    background: transparent; /* Assurer que le fond de l'image est transparent */
}

.question {
    cursor: pointer;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #9579f2;
    border-radius: 5px;
    background-color: #2e2e2e;
}

.question:hover {
    background-color: #3a3a3a;
}

.question.active {
    background-color: #6e4fce;
    color: #fff;
}

.answer {
    display: none;
    margin-top: 10px;
    text-align: left;
    padding: 10px;
    border-left: 5px solid #9579f2;
    background-color: #2e2e2e;
}

/* Mise à jour du style du bouton Retour */
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 16px;
    color: #9579f2;
    text-decoration: none;
    font-family: 'Bebas Neue', Arial, sans-serif;
    padding: 10px 20px;
    border-radius: 50px;
    background: #222;
    border: 1px solid #9579f2;
}

.back-link:hover {
    text-decoration: underline;
    background: #333;
}

