/* Reset de base */
body, h1, h2, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.trail {
    position: absolute;
    width: 32px;
    height: 32px;
    pointer-events: none; /* Ne bloque pas les clics */
}

/* Style global */
body {
    font-family: "Comic Sans MS", cursive, sans-serif;
    background-color: rgb(59, 59, 172);
    color: #ff0000;
    line-height: 1.6;
    padding: 20px;
    background-image: url(image/background2.gif) ;
}

.banniere{
    max-width: 400px;
}

.container {
    max-width: 400px;
    margin: 0 auto;
  
    padding: 20px;
}
.annexe {
    max-width: 200px;
    margin-left: auto;
    background-color: #41414149;
    border: 2px solid hsla(250, 100%, 50%, 0.489);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* En-tête */
header {
    
    text-align:justify;
    margin-bottom: 20px;
    padding: 0%;
}

header h1 {
    color: #FF4500;
    font-size: 2.5em;
    text-shadow: 1px 1px #1d3a90;
}

.subtitle {
    font-style: italic;
    color: #4102ff;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    background-color: #252bd8;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration:double;
    color: #ff0000;
    font-weight: bold;
}

nav ul li a:hover {
    color: #0037ff;
}

/* Articles */

img {
    max-width: 100 px;
}

main article {
   text-align: center;
    border-bottom: 1px dashed #CCC;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

main article h2 {
    color: #FF4500;
    font-size: 1.8em;
    margin-bottom: 5px;
}

main article .date {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 10px;
}

main article p {
    font-size: 1.1em;
}

/* Pied de page */
footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
}
.names {
    max-width: 100%;                         /* largeur de la fenêtre */
    overflow: hidden;                     /* masque tout ce qui dépasse */
    font-family:'Times New Roman', Times, serif;
    font-size: 25px;
    font-weight: 100;
  }

.names a{
    text-decoration: none;
    color: black;
}

  /* le bloc défilant */
.names > :first-child {
    display: inline-block;                /* modèle de boîte en ligne */
    padding-right: 0;                   /* un peu d'espace pour la transition */
    padding-left: 100%;                   /* placement à droite du conteneur */
    white-space: nowrap;                  /* pas de passage à la ligne */
    animation: defilement-rtl 15s infinite linear;
    animation-name: defilement-rtl;       /* référence à la règle @keyframes mise en oeuvre */
    animation-duration: 15s;              /* valeur à ajuster suivant la longueur du message */
    animation-iteration-count: infinite;  /* boucle continue */
  }

  @keyframes defilement-rtl {
    100% {
      transform: translate3d(0,0,0);      /* position initiale à gauche */
    }
    0% {
      transform: translate3d(-100%,0,0);  /* position finale à droite */
    }
  }