#app-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background: #f4f4f4;
    position: relative;
    overflow: hidden; /* Ajout pour permettre l'animation de fond */
  }
  
  #score-container {
    position: sticky;
    top: 20px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    color: white;
    background: #005115;
    padding: 10px 15px;
    border-radius: 10px;
    z-index: 10;
    margin-bottom: 20px;
    transition: opacity 0.5s;
  }
  
  #app-title {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 2em;
    color: #006222;
  }
  
  #questions-container {
    width: 100%;
    max-width: 700px;
  }
  
  #return-button {
    margin-top: 20px;
  }
  
  .background-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fad0c4, #ff9a9e);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
  }
  
  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  /* Ajout de la classe pour rendre le conteneur de score transparent */
  .transparent {
    opacity: 0.5;
  }

  




  #app-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background: #f4f4f4;
    position: relative;
    overflow: hidden;
  }
  
  #score-container {
    position: sticky;
    top: 20px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    color: white;
    background: #006c24;
    padding: 10px 15px;
    border-radius: 10px;
    z-index: 10;
    margin-bottom: 20px;
    transition: opacity 0.5s;
  }
  
  #app-title {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 2em;
    color: #0056b3;
  }
  
  #questions-container {
    width: 100%;
    max-width: 700px;
    margin-bottom: 20px;
  }
  
  #return-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #0056b3;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
  }
  
  #return-button:hover {
    background-color: #11e959;
    transform: translateY(-2px);
  }
  
  #return-button:active {
    background-color: #02c13b;
    transform: translateY(2px);
  }
  
  .background-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fad0c4, #ff9a9e);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
  }
  
  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  .transparent {
    opacity: 0.5;
  }
  




  #app-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background: #f4f4f4;
    position: relative;
    overflow: hidden;
  }
  
  #score-container {
    position: sticky;
    top: 20px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    color: white;
    background: #027522;
    padding: 10px 15px;
    border-radius: 10px;
    z-index: 10;
    margin-bottom: 20px;
    transition: opacity 0.5s;
  }
  
  #app-title {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 2em;
    color: #026e0b;
  }
  
  #questions-container {
    width: 100%;
    max-width: 700px;
    margin-bottom: 20px;
  }
  
  #return-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #006c1d;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
  }
  
  #return-button:hover {
    background-color: #6c7506;
    transform: translateY(-2px);
  }
  
  #return-button:active {
    background-color: #00631f;
    transform: translateY(2px);
  }
  
  #results-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #28a745;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
  }
  
  #results-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
  }
  
  #results-button:active {
    background-color: #1e7e34;
    transform: translateY(2px);
  }
  
  #results-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  #results-section h3 {
    color: #00530a;
  }
  
  .background-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fad0c4, #ff9a9e);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
  }
  
  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  .transparent {
    opacity: 0.5;
  }
  