body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: #003366;
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.container {
    margin: 40px 0;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    font-weight: normal;
    color: #2c3e50;
    transition: color 0.3s;
}

h1:hover {
    color: #082949;
    cursor: default;
}

p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 16px;
}

.subtitle {
  text-align: center;
  font-weight: normal;
  font-size: 1em;
  color: #555555;
  margin-top: -10px; /* Rapprocher le sous-titre du H1 */
}

.subtitle a {
  color: #003366;
  text-decoration: none;
  padding: 0 6px;
  transition: all 0.3s ease;
}

.subtitle a:hover {
  text-decoration: underline;
}

.separator {
  border: none;           /* Supprime la bordure par défaut */
  height: 2px;            /* Épaisseur de la ligne */
  background-color: #2c3e50; /* Couleur de la ligne */
  margin: 10px auto 40px auto; /* Marge en haut et en bas, centrée horizontalement */
  width: 300px;      /* Largeur maximale de la ligne */
  border-radius: 2px;     /* Bords arrondis */
}

section {
    margin: 40px 0;
}

a {
    color: #082949;
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
    padding: 2px 4px;
    border-radius: 3px;
}

a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #3498db;
    transition: all 0.3s;
    transform: translateX(-50%);
}

a:hover {
    text-decoration: underline; /* juste souligné au hover */
    color: inherit;              /* garde la couleur normale */
    background-color: transparent; /* aucun fond */
    transform: none;             /* pas de déplacement */
    box-shadow: none;            /* pas d'ombre */
}


.part {
  margin: 60px 0;
}

.publication a {
  color:inherit;
}

.part-title {
  font-size: 1.8em;
  color: #2c3e50;
  margin-bottom: 10px;
}

.separator1 {
  border: none;           /* Supprime la bordure par défaut */
  height: 2px;            /* Épaisseur de la ligne */
  background-color: #2c3e50; /* Couleur de la ligne */
  width: 150px;       /* largeur courte */
  margin: 10px 0 40px 0;  /* supprime le auto côté droit et gauche pour laisser à gauche */
  border-radius: 2px;
}

.publication {
    margin: 25px 0;
    padding: 15px;
    border-left: 4px solid #ecf0f1;
    background-color: #fafafa;
    transition: all 0.3s;
    border-radius: 0 5px 5px 0;
}

.publication:hover {
    border-left-color: #3498db;
    background-color: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.publication p {
    margin-bottom: 0;
   
}

.publication p {
    color: #2c3e50;
}

.description {
    font-style: italic;
    margin: 15px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.description:hover {
    background-color: #e3f2fd;
    border-color: #3498db;
    transform: scale(1.02);
    text-decoration: underline;
}

.construction {
    text-align: center;
    margin: 40px 0;
    font-size: 18px;
    padding: 20px;
    background: linear-gradient(135deg, #ffd54f, #ffcc02);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.construction:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    background: linear-gradient(135deg, #ffeb3b, #ffc107);
}

.construction p {
    margin: 0;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    body {
        padding: 15px;
        max-width: 100%;
    }
    h1 {
        font-size: 2em;
    }
    .container {
        margin: 20px 0;
    }
    section {
        margin: 25px 0;
    }
    .publication {
        padding: 10px;
        margin: 20px 0;
    }
}
