#doom-canvas {
    display: block; /* Retire les marges automatiques */
    margin: 0 auto; /* Centre le canvas horizontalement */
    width: auto;
    height: 85vh; /* Hauteur à 85% de l'écran */
    max-width: 100%;
    background: black; /* Fond noir pour contraste */
  }
  .parallax-image {
    width: 100%;
    height: auto; /* or specific height */
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    object-fit: cover;
  }
  
  #introduction, #projects, #parcours, #veille {
    min-height: 100vh;
  }

  .arrow-container {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
  }
  
  .arrow-container:hover {
    opacity: 1;
  }
  
  .arrow-container.disabled {
    opacity: 0.3;
    pointer-events: none;
  }
  
  .arrow {
    color: #333; /* ou toute autre couleur selon votre design */
  }
  
  .fade-out {
    animation: fadeOut 0.3s forwards;
  }
  
  .fade-in {
    animation: fadeIn 0.3s forwards;
  }
  
  @keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .active-section {
    display: block;
  }



  .project-card {
    background: #fff; /* Or whatever your base color is */
    transition: all 0.3s ease;
  }
  
  .project-card.expanded {
    transform: scale(1.1);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .project-detail.hidden, .project-summary.hidden {
    display: none;
  }
  
  .project-detail {
    position: relative;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
  }
  
  .project-card.expanded .project-detail {
    max-height: 500px; /* Ajustez selon vos besoins */
    opacity: 1;
  }

  .project-card.expanded {
    transform: scale(1.1);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    opacity: 1;
}

.project-detail.hidden, .project-summary.hidden {
    display: none;
}