:root {
    --color-primary: #514c39;
    --color-centrale: #e9d5c0; 
}


html, body {
    width: 100%;
    overflow-x: hidden; /* Pour empêcher le défilement horizontal */
}

body {
    background-color: var(--color-primary);
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

/* Styles pour les ordinateurs */
/* Styles de base pour l'en-tête */
.header-desktop,
.header-mobile {
    /* Vos styles communs d'en-tête ici */
    background-color: #dccdac;
    display: flex;
	text-align: center; 
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}


header img {
    max-height: 150px;
    width: auto;
	
    margin: 0;
    padding: 0;
}

.pagination-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.pagination-arrows a {
    text-decoration: none;
    font-size: 20px;
    color: #000;
    transition: color 0.3s;
    padding: 0 10px; /* Ajoutez un espacement horizontal */
}

.pagination-arrows a:hover {
    color: #007bff;
}



.pagination-numbers a {
    text-decoration: none;
    font-size: 16px; /* Ajustez la taille de la police selon vos préférences */
    color: #000;
    transition: color 0.3s;
    padding: 0 10px; /* Ajoutez un espacement horizontal */
}

.pagination-numbers a:hover {
    color: #007bff;
}

.pagination-numbers .current {
    font-weight: bold;
    font-size: 20px; /* Ajustez la taille de la police selon vos préférences */
    color: #007bff; /* Couleur de mise en valeur */
}





/* Styles spécifiques pour les ordinateurs */
@media screen and (min-width: 769px) {
    .header-desktop {
        display: block; /* Afficher l'en-tête pour les ordinateurs */
    }
    
    .header-mobile {
        display: none; /* Cacher l'en-tête pour les smartphones */
    }
	
	
	main {
    display: grid;
    grid-template-columns: 15% 70% 15%;
    padding: 10px;
    gap: 2px;
}

.pagination {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 10px;
}

 .footer {
        background-color: #dccdac;
        height: 20px; /* Hauteur spécifique pour les ordinateurs */
    }
	
}

/* Styles spécifiques pour les smartphones */
@media screen and (max-width: 768px) {
    .header-desktop {
        display: none; /* Cacher l'en-tête pour les ordinateurs */
    }
    
    .header-mobile {
        display: block; /* Afficher l'en-tête pour les smartphones */
    }
	
	
	  main {
        grid-template-columns: 5% 90% 5%; /* Ajustement de la largeur des colonnes */
    }

   .container_histoire {
        max-width: 100%;
		margin: 10px 5px;
        padding: 10px;
    }

    .container_histoire img {
        max-width: 100%; /* Ajustement de la largeur des images */
        height: auto; /* Hauteur automatique pour préserver les proportions */
    }
	
	
	  .right {
        display: none; /* Masquer la colonne de droite sur les smartphones */
    }
	
	
	  .pagination {
        padding-top: 30px; /* Adjust this value as needed */
    }
	
	
	.footer {
        background-color: #dccdac;
        height: 80px; /* Hauteur spécifique pour les appareils mobiles afin de laisser place à barre traduction google. */
    }
	
}





/**************************************************/



.left,
.center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.alignement_droit {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-top: 10px;
}

.alignement_droit a {
    text-decoration: none;
    font-size: 16px; /* Ajustez la taille de la police selon vos préférences */
    color: #000;
}



.right {
    padding: 10px;
    border: 0px solid #ccc;
}

.left {
    background-color: var(--color-primary);
}

.center {
    background-color: var(--color-centrale);
}

.right {
    background-color: var(--color-primary);
}

footer {
    background-color: #dccdac;
    text-align: center;
    padding: 10px 0;
}

.container_histoire {
    max-width: 800px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 10px auto;
    padding: 16px;
}

.h1_histoire {
    font-size: 24px;
}

.h2_histoire {
    font-size: 12px
}




