
    body, .page, .section-title, .event-content, .event-date, .event-description,.subtitle, 
    header h1, .subtitle, p, div:not(.navbar):not(.navbar *) {
      font-family: 'IM Fell English', serif !important;
    }

    
    .navbar, .navbar *, .footer * {
      font-family: 'Poppins', sans-serif !important;
    }

    .dropdown {
      background: rgba(123, 123, 123, 0.99);
    }

    a {
      font-family: 'IM Fell English', serif;
    }

    #navbar-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
    }

    #date-du-jour {
      font-family: 'IM Fell English', serif;
      color: #2b2b2b;
    }
    
    body {
      font-family: 'IM Fell English', serif;
      background-image: url('/illustration_heritage/19emesiecle.jpg');
      color: #2b2b2b;
      padding: 0;
      width: 100%;
      overflow-x: hidden;
    }


    .page {
      font-family: 'IM Fell English', serif;
      margin: 0 auto;
      background-color: #fff;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      border: 1px solid #ccc;
      border-radius: 5px;
      box-sizing: border-box;
    }

    header {
      text-align: center;
      border-bottom: 3px double #000;
      padding-bottom: 0.5rem;
      margin-bottom: 1rem;
    }

    header h1 {
      font-family: 'IM Fell English', serif;
      margin: 0;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    header p {
      text-align: right;
    }

    .titre {
      font-family: 'IM Fell English', serif;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 30%;
      height: auto;
      margin: 3rem auto;
    }

    .titre img {
      width: 100%;
      height: auto;
    }

    .subtitle {
      font-family: 'IM Fell English', serif;
      font-style: italic;
      margin-top: 0.5rem;
    }

    .section-title {
      
      border-bottom: 2px solid #000;
      padding-top: 15px;
      margin-bottom: 0.8rem;
      text-transform: uppercase;
      padding-bottom: 0.3rem;
    }

    h2 {
      font-family: 'IM Fell English', serif;
      margin-top: 1.2rem;
      margin-bottom: 0.6rem;
    }

    .columns {
      display: flex;
      gap: 1rem;
      margin-top: 0.5rem;
    }

    .column {
      text-align: justify;
      line-height: 1.4;
    }

    .image-block {
      text-align: center;
      margin: 1.5rem 0;
    }

    .image-block img {
      max-width: 100%;
      height: auto;
      border: 2px solid #555;
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    }

    .image-block p {
      font-family: 'IM Fell English', serif;
      margin-top: 0.5rem;
    }

    .portrait-container {
      display: flex;
      align-items: center;
      margin-bottom: 1.5rem;
    }

    .portrait-image {
      margin-bottom: 1rem;
    }

    .portrait-image img {
      width: 100%;
      border: 3px double #333;
      background-color: #f5f0e1;
      padding: 0.3rem;
      box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    }

    .portrait-text {
      text-align: justify;
    }

    /* Timeline CSS */
    .timeline {
      position: relative;
      max-width: 100%;
      margin: 1.5rem auto;
      padding: 1rem 0;
    }

    /* Ligne centrale verticale */
    .timeline::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      width: 3px;
      background-color: #8B4513;
      box-shadow: 0 0 5px rgba(139, 69, 19, 0.4);
    }

    .timeline-event {
      position: relative;
      margin-bottom: 2rem;
      width: 100%;
      min-height: auto;
    }

    .timeline-event:last-child {
      margin-bottom: 0;
    }

    .timeline-content {
      position: relative;
      padding: 0;
    }

    .event-content {
      display: block;
      width: 100%;
      height: auto;
      background-color: #F5F0E1;
      padding: 1rem;
      border-radius: 5px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      border: 1px solid #8B4513;
      box-sizing: border-box;
    }

    .timeline-event .event-content {
      text-align: center;
    }

    .event-image {
      width: 100%;
      max-width: 150px;
      height: auto;
      object-fit: cover;
      border: 2px double #8B4513;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      margin-bottom: 0.8rem;
    }

    .event-date {
      font-weight: bold;
      margin-bottom: 0.5rem;
      font-family: 'IM Fell English', serif;
      color: #8B4513;
      text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    }

    .event-description {
      text-align: center;
      font-family: 'IM Fell English', serif;
      color: #2b2b2b;
      line-height: 1.3;
    }

    /* Animation d'apparition */
    .timeline-event {
      opacity: 1;
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .timeline-event.animate {
      opacity: 0;
      transform: translateX(30px);
    }

    .timeline-event.visible {
      opacity: 1;
      transform: translateX(0);
    }

    .illustrationBE {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 1rem;
    }

    .illustrationBE img {
      width: 100%;
      max-width: 300px;
      height: auto;
      margin-bottom: 0.5rem;
    }

    .illustrationBE p {
      margin-bottom: 1rem;
    }

    .logoHER {
      position: relative;
      display: block;
      margin: 1rem auto;
      width: 50%;
      height: auto;
    }

    .navbar {
      background-color: #000000;
    }
    
    .footer {
      background-color: #000000;
    }

    .nav-btn {
      background-color: #4e4e4e;
    }

    /* Orientation lock message */
    #orientation-message {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      color: white;
      z-index: 2000;
      text-align: center;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      font-family: 'Poppins', sans-serif;
    }

    #orientation-message img {
      width: 50px;
      height: auto;
      margin-bottom: 20px;
      animation: rotate 2s infinite;
    }

    @keyframes rotate {
      0% { transform: rotate(0deg); }
      25% { transform: rotate(90deg); }
      50% { transform: rotate(90deg); }
      75% { transform: rotate(0deg); }
      100% { transform: rotate(0deg); }
    }

    #orientation-message p {
      margin: 10px 20px;
      line-height: 1.5;
    }

    /* Styles pour version desktop */
    @media (min-width: 769px) {
      body {
        margin-top: 150px;
      }

      .content-wrapper {
        padding-top: 150px;
      }

      #date-du-jour {
        font-size: 1.2rem;
      }
      
      .page {
        max-width: 1200px;
        padding: 2rem;
      }

      header {
        border-bottom: 5px double #000;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
      }

      header h1 {
        font-size: 3.5rem;
        letter-spacing: 2px;
      }

      header p {
        font-size: 1rem;
      }

      .titre {
        width: 100%;
        margin: 3rem auto;
      }

      .subtitle {
        font-size: 1.2rem;
      }

      .section-title {
        font-size: 2.2rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
      }

      h2 {
        font-size: 1.8rem;
      }

      .columns {
        gap: 2rem;
        margin-top: 1rem;
      }

      .column {
        font-size: 1.1rem;
      }

      .image-block {
        margin: 2rem 0;
      }

      .portrait-container {
        flex-direction: row;
        margin-bottom: 2rem;
      }

      .portrait-image {
        flex: 0 0 200px;
        margin-right: 2rem;
        margin-bottom: 0;
      }

      .portrait-text {
        font-size: 1.1rem;
      }

      /* Timeline desktop */
      .timeline {
        max-width: 800px;
        margin: 2rem auto 4rem;
        padding: 2rem 0;
      }

      .timeline::before {
        left: 50%;
        width: 4px;
        transform: translateX(-50%);
      }

      .timeline-event {
        margin-bottom: 4rem;
        min-height: 200px;
      }

      .timeline-content {
        width: 45%;
      }

      .timeline-event:nth-child(odd) .timeline-content {
        float: left;
        text-align: right;
        margin-right: 5%;
      }

      .timeline-event:nth-child(even) .timeline-content {
        float: right;
        text-align: left;
        margin-left: 5%;
      }

      .timeline-event:nth-child(odd) .timeline-content::before,
      .timeline-event:nth-child(even) .timeline-content::before {
        content: '';
        position: absolute;
        top: 50%;
        width: 30px;
        height: 3px;
        background-color: #8B4513;
        z-index: 0;
        transform: translateY(-50%);
      }

      .timeline-event:nth-child(odd) .timeline-content::before {
        right: -30px;
      }

      .timeline-event:nth-child(even) .timeline-content::before {
        left: -30px;
      }

      .event-content {
        height: 300px;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }

      .timeline-event:nth-child(odd) .event-content:hover {
        transform: translateX(-10px) scale(1.03);
      }

      .timeline-event:nth-child(even) .event-content:hover {
        transform: translateX(10px) scale(1.03);
      }

      .event-image {
        max-width: 200px;
        height: 150px;
      }

      .event-date {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
      }

      .event-description {
        font-size: 1.1rem;
        line-height: 1.4;
      }

      .timeline-event.animate:nth-child(odd) {
        transform: translateX(-50px);
      }

      .timeline-event.animate:nth-child(even) {
        transform: translateX(50px);
      }

      .illustrationBE {
        margin-top: 2rem;
      }

      .logoHER {
        width: 25%;
        margin: 0 auto;
      }
    }

    /* Styles pour version mobile */
    @media (max-width: 768px) {
      body {
        margin: 80px 0 0 0;
      }

      .nav-links {
        display: none; /* Masqué par défaut */
        flex-direction: column;
        background-color: rgba(123, 123, 123, 0.99); /* Couleur de fond avec transparence */
        backdrop-filter: blur(10px); /* Effet de flou */
        position: absolute;
        top: 60px;
        right: 10%;
        width: 80%;
        border-radius: 8px;
        padding: 10px;
    }

      .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        z-index: 1000;
      }

      .navbar logo {
        height: 20%;
        width: auto;
        transform: translateX(-50px);
      }

      .content-wrapper {
        padding-top: 100px;
      }

      #date-du-jour {
        font-size: 1rem;
      }
      
      .page {
        width: 95%;
        padding: 1rem;
      }

      header h1 {
        font-size: 2rem;
      }

      header p {
        font-size: 0.8rem;
      }

      .titre {
        width: 100%;
      }

      .subtitle {
        font-size: 1rem;
      }

      .section-title {
        font-size: 1.5rem;
      }

      h2 {
        font-size: 1.3rem;
      }

      .columns {
        flex-direction: column;
      }

      .column {
        width: 100%;
        font-size: 0.95rem;
      }

      .portrait-container {
        flex-direction: column;
        text-align: center;
      }

      .portrait-image {
        width: 80%;
      }

      .portrait-text {
        width: 100%;
        font-size: 0.95rem;
      }

      /* Timeline mobile */
      .timeline::before {
        left: 20px;
      }

      .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px;
      }

      .timeline-event .timeline-content::before {
        content: '';
        position: absolute;
        top: 25px;
        left: -20px;
        width: 20px;
        height: 3px;
        background-color: #8B4513;
        z-index: 0;
      }

      .event-content:active {
        transform: scale(1.02);
        transition: transform 0.2s ease;
      }

      .image-block p {
        font-size: 0.9rem;
      }

      .illustrationBE p {
        font-size: 0.9rem;
      }
    }