*{
    scrollbar-width: thin;
    scrollbar-color: #1f1f1f #f1f1f1;
}


#MainPage{
    background-color: #111111;
    color: #f1f1f1;
}

body{
    background-color: #f1f1f1;
    color: #111111;
}

.navBar{
    background-color: #111111;
}

.navBar a{
    color: #f1f1f1;
    
}

.ArticleWrapperPage{
    height: auto;
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 50px;
    text-align: justify;

}

.enValeur{
    font-weight: bold;
    font-style: italic;
    color: #111111;
    background-color: #f1f1f1;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.2s ease;    
}

.Center {
    text-align: center;
}


#navLogo{
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.5s ease;
}

.tab{
    padding-left: 15vw;
}

h1{
    margin-left: 5vw;
    padding: 15px 0px 15px 0px;
}


.code{
    background-color: #111111;
    color: #f1f1f1;
    padding: 5px;
    border-radius: 5px;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.2em;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
    overflow-x: auto;
    width: 80%;
}

.info{
    font-style: italic;
    background-color: #d1d1e0;
    text-align: center;
    border-radius: 5px;
    width: 80%;
}

.file{
    background-color: #b1b1b1b1;
    text-align: left;
    font-size: 1.2em;
    border-radius: 5px;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: auto;
    width: 80%;
}

p{
    width: 80%;
}

.Sommaire{
    margin: 0 auto;
    width: 60%;
    height: 100%;
}

.SommaireWrapper h1{
    display: inline-block;
    width:  fit-content ;
    margin-top: 3vh;

}

.Sommaire ul{
    list-style-type: none;
}

.SommaireGauche{
    position: relative;
    width: 50%;
    display: inline-block;
}

.Sommaire a:hover{
    background-color: #76f5ba;
}

.SommaireDroit{
    position: relative;
    width: 49%;
    text-align: right;
    display: inline-block;
}

/* Style du bouton */
#toggleBtn {
    margin-left: 10px; /* Ajoute un espace à gauche du bouton */
    border: none;
    cursor: pointer;
}

/* Style pour le sommaire */
.Sommaire {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Style pour le sommaire lorsqu'il est caché */
.Sommaire.hidden {
    opacity: 0;
    transform: translateY(-20px); /* Déplacer le sommaire vers le haut lorsqu'il est caché */
    visibility: hidden;
    height: 0;
    padding: 0;
}