/* RESET GLOBAL */
body {
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    color: black;
    text-transform: uppercase;
  }
  
  /* TITRES */
  h1 {
    font-size: 3em;
    font-weight: bold;
    padding: 2em;
  }
  
  h2 {
    font-size: 1.5em;
    font-weight: normal;
    color: grey;
    margin-top: 0.5em;
  }
  
  /* LIEN RETOUR */
  .back-link,
  .back-home {
    color: black;
    font-weight: bold;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration: none;
    display: inline-block;
    margin: 2em;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
  }
  
  .back-link:hover,
  .back-home:hover {
    color: #72ff72;
  }
  
  /* GALERIE PAGE D’ACCUEIL (avec 3 grandes images côte à côte) */
  .gallery-home {
    display: flex;
    justify-content: center;
    gap: 3em;
    margin-top: 2em;
    padding: 2em;
  }
  
  .gallery-img {
    width: 550px;
    height: 550px;
    object-fit: cover;
    transition: outline 0.3s ease;
  }
  
  .gallery-img:hover {
    outline: 4px solid #72ff72;
  }
  
  /* GALERIES TRAVAILLEUSES / DORMANTES / MONSTRES */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 2em;
    justify-items: center;
    padding: 2em;
  }
  
  .gallery img {
    width: 550px;
    height: 550px;
    object-fit: cover;
    transition: outline 0.3s ease;
  }
  
  .gallery img:hover {
    outline: 4px solid #72ff72;
  }
  
  /* PAGE DÉTAIL ŒUVRE */
  .page-detail {
    text-align: center;
    margin-top: 4em;
  }
  
  .page-detail img,
  .page-detail video {
    width: 600px;
    height: auto;
    object-fit: contain;
    border: 4px solid #72ff72;
    padding: 4px;
    margin-bottom: 1.5em;
  }
  
  .legend {
    font-style: italic;
    font-weight: 500;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    text-transform: none;
    color: black;
  }
  
  /* MARQUEE (TEXTES DÉFILANTS EN COURIER) */
  .marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .marquee {
    white-space: nowrap;
    font-family: "Courier New", monospace;
    font-size: 1.2rem;
    font-weight: normal;
  }
  
  .marquee-left {
    animation: scroll-left 60s linear infinite;
    transform: translateX(100%);
  }
  
  .marquee-right {
    animation: scroll-right 60s linear infinite;
    transform: translateX(-100%);
  }
  
  @keyframes scroll-left {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-200%); }
  }
  
  @keyframes scroll-right {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
  }
  
  .green-letter {
    color: #72ff72;
  }
  
  /* À PROPOS + LIENS MAIL */
  .email-link {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    text-transform: none;
  }
  
  .email-link:hover {
    color: #72ff72;
  }
  
  .sommaire {
    margin-left: 2cm;
  }
/* PAGE CARNET : menu + image au survol */
.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2em;
  }
  
  .menu {
    width: 300px;
    margin-right: 2em;
  }
  
  .subtitle {
    color: grey;
    font-size: 1.1em;
    text-transform: none;
  }
  
  .menu ul {
    list-style: none;
    padding: 0;
    margin-top: 2em;
  }
  
  .menu li {
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 1em;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .menu li:hover {
    color: #72ff72;
  }
  
  .image-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
  }
  
  #preview-image {
    max-width: 550px;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  /* LIEN RETOUR EN BAS */
  .back-home {
    display: block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: black;
    text-decoration: none;
    margin: 2rem;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .back-home:hover {
    color: #72ff72;
  }
  .menu h1 {
    font-size: 3em;
    font-weight: bold;
    margin-top: -2rem;     /* plus haut */
    margin-bottom: -2rem;  /* reste sobre */
  }
  .menu h1 {
    font-size: 3em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0.5rem;
    padding-left: 0.2rem; /* légère compensation pour être calé avec le sommaire */
  }
  .back-link {
    color: #72ff72;
    font-weight: bold;
    font-family: 'Helvetica Neue', sans-serif;
    text-decoration: none;
    display: inline-block;
    margin: 2em;
    font-size: 0.95em;
  }
  
  .page-detail {
    text-align: center;
    margin-top: 4em;
  }
  
  .page-detail img,
  .page-detail video {
    width: 600px;
    height: auto;
    object-fit: contain;
    border: 4px solid #72ff72;
    padding: 4px;
    margin-bottom: 1.5em;
  }
  
  .legend {
    font-style: italic;
    font-weight: 500;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1em;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    text-transform: none;
    color: black;
  }
  .back-link {
    color: #72ff72;
    font-weight: bold;
    font-family: 'Helvetica Neue', sans-serif;
    text-decoration: none;
    display: inline-block;
    margin: 2em;
    font-size: 0.95em;
  }
  
  .page-detail {
    text-align: center;
    margin-top: 4em;
  }
  
  .page-detail img,
  .page-detail video {
    width: 600px;
    height: auto;
    object-fit: contain;
    border: 4px solid #72ff72;
    padding: 4px;
    margin-bottom: 1.5em;
  }
  
  .legend {
    font-style: italic;
    font-weight: 500;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1em;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    text-transform: none;
    color: black;
  }
      