body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #fffbee;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 120px; /* pour éviter le chevauchement du bouton */
  }

  .image-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-top: 10px;
    border-radius: 12px;
  }

  #contenu {
    padding: 20px;
    max-width: 600px;
    text-align: center;
  }

  #solution {
    background: #f3f3f3;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .indice-flottant {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }

  .indice-flottant button {
    background: #ffd966;
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  }

  .indice-contenu {
    display: none;
    background: #fff3c4;
    border: 2px dashed #d4af37;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;

  }

  img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
  }

  #story {
    text-align: justify;
    font-size: 1.05em;
    line-height: 1.25em;
    padding: 10px 10px 20px 10px;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  h1 {
    font-size: 2.5em;
    background-color: rgba(255, 251, 238, 0.6);
    margin: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 83px;
  }

  h4 {
    margin: 5px 5px;
    color: #333;
    text-align: center;
  }

#error-message, #success-message {
    display: none;
    margin-top: 20px;
    font-size: 1.1em;
    padding: 10px;
    font-weight: bold;
  }

  #error-message {
    color: red;
  }

  #success-message {
    color: green;
  }

  #codeInput {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
  }

  button {
    background-color: #aed581;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
  }

  #enigme {
    list-style-type: none;
    text-align: left;
    padding: 10px;
    background-color: rgb(238, 255, 238);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 20px;
  }

  li {
    margin: 10px 0;
  }

  em {
    padding-left : 5px;
    border-left : 2px solid #d4af37;
    display : block
  }