@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

.wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebartuto {
    display: none; 
}

.sidebartuto ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 80px;
    left: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
    margin-top: 100px;
}

.sidebartuto li {
    padding: 10px;
}

.sidebartuto a {
    text-decoration: none;
    color: #fff;
}


.sidebartuto h1 {
    text-align: center;
    font-size: 15px;
}


.content {
    flex: 1;
    padding: 20px;
    background-color: #f4f4f4;
    text-align: justify;
    margin-top: 20px;
    width: 75%;
    margin-left: 5%;
    border-radius: 8px;
}

.content p {
    text-align: justify;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em; 
    font-weight: 700; 
    color: #333; 
    text-transform: uppercase;
    letter-spacing: 2px; 
    margin-bottom: 20px; 
    padding-left: 10px;
    position: relative; 
    transition: all 0.3s ease-in-out; 
}

.content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6em; 
    font-weight: 700; 
    color: #333; 
    text-transform: uppercase;
    letter-spacing: 2px; 
    margin-bottom: 20px; 
    padding-left: 10px;
    position: relative; 
    transition: all 0.3s ease-in-out; 
}



img.contentimg {
    height: auto;
    border-radius: 8px;
    max-width: 90%;
}

div.file {
    border: 2px solid #eeeeee; 
    background: #fefefe; 
    padding: 10px; 
    width: 90%
}

.toggle-btn {
    display: none;
}

.toggle-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
    margin-top: 100px;
    display: none;
    font-size: 40px;
}

.category {
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd; /* Bordure inférieure pour séparer les catégories */
    padding: 10px 0;
    max-width: 70%;
    margin: 0 auto;
}

.category:last-child {
    border-bottom: none; /* Supprime la bordure inférieure de la dernière catégorie */
}

.category-name {
    font-weight: bold;
    color: white;
    letter-spacing: 0.8px;
    line-height: 1.5em;
    text-align: justify;
}

.article-count {
    color: #888;
}

@media screen and (max-width: 480px) {

        /* Style de la catégorie */
        .category {
            max-width: 100%;
        }
    
    
        .sidebartuto ul {
            font-size: 12px;
        }
    
        .toggle-btn {
            font-size: 20px;
        }

    
}

@media screen and (min-width: 480px) {
        
        /* Style de la catégorie */
        .category {
            max-width: 90%;
        }
    
        .content p {
            text-align: justify;
            width: 90%;
        }

    
}
