.article-card h3 {
    font-size: 1.5em;
    margin: 10px 0;
    text-align: center;
}

.article-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-width: 100%;


}

.article-section {
    padding: 20px;
    margin: 20px 20px auto;
}

.info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: smaller;
}

@media screen and (max-width: 1000px) {
    .article-section {
        padding: 5px;
        margin: 5px 5px auto;
    }

    .info {
        flex-direction: row;
        display: flex;
        font-size: 7px;
        gap: 5px;
    }

}



.section-tuto {
    background-color: transparent;
    padding: 20px;
    margin-top: 20px;

}

.button a {

    display: inline-block;
    padding: 10px 20px;
    border: solid 2px black;
    text-align: center;

    height: 40px;
    width: fit-content;
    color: black;
    text-decoration: none;

    transition: background-color 0.3s;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.button a:hover {
    border: solid 2px #007BFF;
    color: #007BFF;
}

.separator {
    border-top: 1px solid rgb(0, 0, 0);
    /* couleur bleue */
    width: 40%;
    /* largeur du trait */
    margin: 20px auto;
    padding: 10px 0;
    /* espace vertical + centrage horizontal */
}




.bandeau {

    color: black;
    text-align: center;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;


    text-decoration: none;
    height: 100%;
    cursor: pointer;


}

body.dark-mode .bandeau {
    background-color: #121212;
    color: white;


}

body.dark-mode .bandeau h1 {
    border: solid 2px white;
    color: white;
    animation: pulseWhite 2s infinite;

}

@keyframes pulseWhite {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

body.dark-mode .responsive {
    background-color: #121212;
    color: #e0e0e0;

}

body.dark-mode .section {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}

#dark-mode-toggle {
    -webkit-tap-highlight-color: transparent;
    /* Chrome / Safari */
    outline: none;
    /* supprime le contour au focus */
}

#dark-mode-toggle:focus {
    outline: none;
    /* au cas où */
}

body.dark-mode .separator {
    border-top: 1px solid white;
    /* couleur bleue */

}

body.dark-mode .button a {
    border: solid 2px white;
    color: white;

}

body.dark-mode .bigTittle a {
    color: #1E90FF;
}

body.dark-mode .references {
    color: #AAAAAA;
}

body.dark-mode .intro {
    color: white;
}

.bandeau h1 {
    font-size: 30px;
    font-weight: lighter;
    font-family: 'marianne';
    border-radius: 50%;
    border: 2px solid white;
    width: 100px;
    /* largeur fixe */
    height: 100px;
    /* même valeur que width */
    display: flex;
    /* pour centrer le texte */
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    animation: pulse 2s infinite;
    -webkit-tap-highlight-color: transparent;
    /* évite le carré bleu sur mobile */
    outline: none;
    box-sizing: border-box;
}




@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}


.section {
    position: relative;
    padding: 30px 20px;
}

.section.animate {
    animation: parallax 0.5s ease-out;
    animation-fill-mode: forwards;

}

@keyframes parallax {
    from {
        transform: translateY(40px);
        opacity: 1;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;

}