/* Changer la police globale */
body {
    font-family: 'georgia'; /* Tu peux aussi essayer 'Georgia', 'Verdana', etc. */
    background-color: #f4f4f4; /* Fond légèrement gris pour adoucir la lecture */
    color: #333; /* Texte en gris foncé pour un bon contraste */
    margin: 0;
    padding: 30px;
    line-height: 25px;
}

.content {
    margin-left: 25px; /* Ajuste selon ton besoin */
    margin-right: 25px;
    max-width: 90%; /* Évite que le contenu soit trop étalé */
    text-align: justify;
    font-size: 14px;
}

.body-bg {
    filter: blur(0px);
    background-image: url('fondpapier.png'); 
    background-size: cover; /* Ajuste l'image pour couvrir toute la page */
    background-position: center;
    background-attachment: fixed; /* Permet au fond de rester fixe en scrollant */
    position: fixed; /* Fixe l'élément sur toute la page */
    top: 0;
    left: 0;
    width: 100vw; /* 100% de la largeur de la fenêtre */
    height: 100vh; /* 100% de la hauteur de la fenêtre */
    opacity: 0.45; 
    z-index: -4; 
}

/* Personnaliser les titres */
h1.title {
    font-family: 'Georgia';
    color: #007f5f; /* Vert foncé */
    text-align: center;
    font-weight: bold;
    text-shadow: 
        2px 2px 4px rgba(255, 255, 255, 0.841), 
        -2px -2px 4px rgba(0, 0, 0, 0.5);
        font-size: 30px;
}

h2.category {
    font-family: 'Georgia';
    color: #e76f51; /* Rouge orangé */
    border-bottom: 2px solid #e76f51;
    padding-bottom: 5px;
    text-align: justify;
    text-shadow: 
    2px 2px 4px rgba(255, 255, 255, 0.841), 
    -2px -2px 4px rgba(210, 89, 89, 0.5);
    font-size: 21px;
}

.category {
    border-bottom: 2px solid #1b1a1a;
    color:#1b1a1a;
    padding-bottom: 5px;
    text-align: center;
    text-shadow: 3px 3px 7px rgba(46, 51, 54, 0.517);
    font-size: 17px;
}

/* Mettre en avant les saisons */
.période {
    font-weight: bold;
}

.chaude {
    color: #068126; /* Rouge vif */
    font-weight: bold;
}

.froide {
    color: #9d2203; /* Bleu clair */
    font-weight: bold;
}

.Hiver {
    color: #5276af; /* Gris foncé */
    font-weight: bold;
}

/* Mettre en valeur certaines informations */
.subclass {
    text-decoration-line: underline;
}

.fréquence {
    font-weight: bold;

}

.warning {
    color: rgb(172, 26, 26);
}

.highlight {
    color: #ff6b02; /* Jaune pour attirer l'attention */
}

.jaunes {
    color: rgb(175, 160, 0);
}

.brunes {
    color: rgb(103, 73, 21);
}

.penche {
    font-style: italic;
}

/* MENU DEROULANT */
.menu {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 100;
}

.menu-button {
    position: relative;
    background-color: rgb(67, 7, 7);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.menu-list {
    list-style: none;
    background: white;
    padding: 10px;
    position: absolute;
    top: 40px;
    left: 0;
    width: 150px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: none; /* Caché par défaut */
}

.menu-list li {
    padding: 8px 0;
    text-align: center;
}

.menu-list a {
    text-decoration: none;
    color: rgb(67, 7, 7);
    display: block;
    font-size: 14px;
}

.menu-list a:hover {
    background: rgba(67, 7, 7, 0.1);
}

/* Afficher le menu lorsque la classe active est ajoutée */
.menu-list.active {
    display: block;
}


@media screen and (max-width: 800px) {
    body {
        font-family: 'georgia'; /* Tu peux aussi essayer 'Georgia', 'Verdana', etc. */
        background-color: #f4f4f4; /* Fond légèrement gris pour adoucir la lecture */
        color: #333; /* Texte en gris foncé pour un bon contraste */
        margin: 0;
        padding: 30px;
        line-height: 30px;
    }

    .body-bg {
        filter: blur(0px);
        background-image: url('fondpapier.png'); 
        background-size: cover; /* Ajuste l'image pour couvrir toute la page */
        background-position: center;
        background-attachment: fixed; /* Permet au fond de rester fixe en scrollant */
        position: fixed; /* Fixe l'élément sur toute la page */
        top: 0;
        left: 0;
        width: 100vw; /* 100% de la largeur de la fenêtre */
        height: 100vh; /* 100% de la hauteur de la fenêtre */
        opacity: 0.45; 
        z-index: -4; 
    }
    
    .content {
        margin-left: 25px; /* Ajuste selon ton besoin */
        margin-right: 25px;
        max-width: 90%; /* Évite que le contenu soit trop étalé */
        text-align: justify;
    }

    h1.title {
        font-family: 'Georgia';
        color: #007f5f; /* Vert foncé */
        text-align: center;
        margin-left: 55px;
    }

}
html, body {
  margin: 0;
  padding: 0;
  touch-action:manipulation 
} 