* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body, html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1A1F2C;
    color: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
    line-height: 1.6;
    margin: 0;
  height: 100%;
  overflow-x: hidden;
  }
  
  /* Mise en page des sections */
  .full-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    overflow: hidden;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
  }
  
   #intro {
    text-align: center;
    background-color: #1A1F2C;
  }
  
  #intro h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
  }
  
  /* Styles spécifiques à l'accueil */
  #welcome {
    text-align: center;
    background-color: #1A1F2C;
  }
  
  #welcome h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
  }
  
  .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
  }
  .country-button {
    background-color: #ea384c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.country-button:hover {
    background-color: #c01f31;
}

  .start-button, .restart-button {
    background-color: #ea384c;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .start-button:hover, .restart-button:hover {
    background-color: #c01f31;
  }
  
  /* Styles des sections de contenu */
  .content-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  
  .text-container {
    padding-right: 1rem;
  }
  
  h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
  }
  
  .highlight {
    color: #ea384c;
  }
  
  .quote-box {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    padding: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
  }
  
  .quote {
    font-size: 1.125rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
  }
  
  .info-text {
    font-style: italic;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
  }
  
  /* Styles des graphiques */
  .chart-container {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
    
  }
  
  .chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .chart-container h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
  }
  
  .chart {
    height: 300px;
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
  justify-content: center;
  align-items: center;
  }

  .chart {
    height: 150px;
    width: 100%;
    display: flex;
  }

.start-button, .restart-button {
    display: inline-block; /* Assurez-vous que les boutons sont visibles */
}
  
  .country-info {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0.375rem;
    text-align: center;
  }
  
  .country-info.hidden {
    display: none;
  }
  
  /* Styles pour la section conclusion */
  .conclusion-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  
  .resources-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
  }
  
  .resources-list {
    list-style-type: none;
    margin-top: 1rem;
    text-align: left;;
  }
  
  .resources-list li {
    margin-bottom: 0.5rem;
  }
  
  .action-container {
    text-align: center;
    margin-top: 3rem;
  }
  
  /* Styles pour l'indicateur de défilement */
  .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.7);
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0) translateX(-50%);
    }
    40% {
      transform: translateY(-20px) translateX(-50%);
    }
    60% {
      transform: translateY(-10px) translateX(-50%);
    }
  }
  
  /* Styles pour les graphiques D3 */
  .bar {
    fill: #ea384c;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.3s;
  }
  
  .bar:hover {
    opacity: 1;
    stroke: white;
    stroke-width: 1px;
  }
  
  .bar.selected {
    opacity: 1;
    stroke: rgb(255, 255, 255);
    stroke-width: 1px;
  }
  
  .axis text {
    fill: rgba(255, 255, 255, 0.7);
    font-size: 12px;
  }
  
  .axis path,
  .axis line {
    stroke: rgba(255, 255, 255, 0.3);
  }
  
    @media (max-width: 767px) {
    #intro h1 {
      font-size: 2rem;
    }
    
    h2 {
      font-size: 1.75rem;
    }
    
    .chart {
      height: 250px;
    }
  }
  @media (max-width: 767px) {
    #welcome h1 {
      font-size: 2rem;
    }
    
    h2 {
      font-size: 1.75rem;
    }
    
    .chart {
      height: 250px;
    }
  }

  .fade-in {
    animation: fadeIn 1s ease-in-out both;
  }
  
  @keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }

#app {
    max-width: 1000px; /* Ajustez cette valeur selon vos besoins */
    margin: 0 auto; /* Centre le contenu horizontalement */
    padding: 0 1rem; /* Ajoute un peu d'espace sur les côtés */
}

.apexcharts-tooltip {
    color: #000 !important; /* Texte noir */
    background: #fff !important; /* Fond blanc */
    border: 1px solid #ccc; /* Bordure grise */
    font-size: 14px; /* Taille de la police */
}

.apexcharts-legend-text {
    color: #ffffff !important; /* Texte noir */
    font-size: 14px; /* Taille de la police */
    font-weight: bold; /* Texte en gras */
}

footer {
  background-color: #222; 
  color: white; 
  text-align: center; 
  padding: 20px; 
  font-size: 0.9em;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.video-responsive iframe {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
}

.fade-in {
    animation: fadeIn 1s ease-in-out both;
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px);}
    100% { opacity: 1; transform: translateY(0);}
}

.chart-container {
    background: rgba(255,255,255,0.07);
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    border-radius: 1rem;
    border: none;
}