#article-haut{
    /* display: flex;
    justify-content: center;
    flex-direction: column;
    justify-self: center; */
}

#logo-article{
    display: flex;
    justify-self: center;
    border: solid 0px;
    width: 15rem;
    aspect-ratio: 16/9;
    object-fit: contain;
}

#titre-article{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    padding: 20px 10px;
    width: 100%;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 5px solid #ff4757;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.sous-titre-article{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    padding: 20px 10px;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* .texte{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-self: center;
    margin-left: 3rem;
    margin-right: 3rem;
    text-align: justify;
    max-width: 800px;
    font-size: 1.3rem;
    letter-spacing: 0rem;
    word-spacing: 0.3rem;
    line-height: 1.8rem;
} */

.texte{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: justify;
    font-size: 1.3rem;
    letter-spacing: 0rem;
    word-spacing: 0.3rem;
    line-height: 1.8rem;
}

.div-image{
    display: flex;
    justify-self: center;
    flex-direction: column;
    margin-left: 3rem;
    margin-right: 3rem;
}

.image-article{
    transition: 0.3s;
    width: 100%;
    max-width: 30rem;
    border-radius: 8px;
}

.image-article:hover{
    transition: 0.3s;
    transform: scale(1.05);
}

.legende-image {
  margin-top: 0.75rem; /* Espace entre l'image et le texte (0.75 * 16px = 12px) */
  font-family: sans-serif; /* Police propre */
  font-size: 0.9rem;    /* Texte légèrement plus petit que le corps de l'article (0.9 * 16px = ~14px) */
  color: #666;          /* Couleur gris doux, moins agressive que le noir pur */
  line-height: 1.4;     /* Hauteur de ligne confortable pour la lecture */
  font-style: italic;   /* Style italique classique pour une légende (optionnel) */
  
  /* Pour mobile : éviter que le texte ne colle aux bords de l'écran si l'image est en pleine largeur */
  padding: 0 1rem;
}

.parent-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-self: center;
    justify-content: center;
    margin-left: 3rem;
    margin-right: 3rem;
    text-align: justify;
    max-width: 800px;
    font-size: 1.3rem;
    letter-spacing: 0rem;
    word-spacing: 0.3rem;
    line-height: 1.8rem;
    flex-direction: column;
}

.texte-li {
    text-align: justify;
}

.séparateur{
    border: 0;
    height: 6px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), #ac885c, rgba(0, 0, 0, 0));
    margin: 2rem 0;
}




.btn-jouer {
    position: relative;
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    outline: none;
    color: inherit;
    text-align: inherit;
    display: inline-block;
    margin-top: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-jouerDevant {
    position: absolute;
    transition: 0.4s;
    min-width: 200px;
    padding-left: 10px;
    padding-right: 10px;
    height: 50px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
    font-size: 25px;
    border: solid 2px black;
    border-radius: 25px;
    background-color: #255FF4;
    transform-origin: left center;

    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-jouer:hover .btn-jouerDevant {
    transition: 0.4s;
    background-color: #0843D7;
    transform: rotate(-13deg);
}

.btn-jouer:active .btn-jouerDevant {
    transition: 0.2s;
    transform: rotate(0deg);
}

.btn-jouerDerrière {
    user-select: none;
    position: absolute;
    transition: 0.4s;
    min-width: 200px;
    padding-left: 10px;
    padding-right: 10px;
    height: 50px;
    border: solid 2px black;
    font-family: 'gill-sans-mt-condensed';
    color: white;
    font-size: 25px;
    border-radius: 25px;
    background-color: #000000;
    transform-origin: left center;
    display: flex;
    align-items: center;
}

.œil {
    position: absolute;
    width: 20px;
    height: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ClignementDesYeux 3.5s infinite;
    --x: 0px;
    --y: 0px;
}

.œil::after {
    content: '';
    position: absolute;
    background-color: rgb(0, 0, 0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translate(var(--x), var(--y));
    transition: transform 0.1s ease-out;
}

.œil::before {
    content: '';
    position: absolute;
    background-color: rgb(255, 255, 255);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.œil:hover::before {
    transition: 0.2s;
    background-color: rgb(255, 244, 244);
    transform: scaleY(0.7);
}

@keyframes ClignementDesYeux {
    0% {
        transform: scaleY(1);
    }

    5% {
        transform: scaleY(0);
    }

    7% {
        transform: scaleY(0);
    }

    12% {
        transform: scaleY(1);
    }
}
