/*  Generated by https://www.gisoft.ca  */
/* Réinitialisation des styles par défaut */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { background-color: #424242; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 1.1em; color: white;  margin: 0; padding: 0; width: 80%; margin-left: auto; /* Centre horizontalement le corps */ margin-right: auto; }

header { background-color: #212121; width : 80%; margin : 12px auto; overflow : hidden; padding: 1em; box-shadow : 6px 6px 6px #EFF542, 10px 10px 10px #727549 }
header h1 { margin: 0 0; font-size: 2.6em; color: yellow; font-weight: medium; text-align: center; text-decoration: none; }
header h1:hover { color: white; text-decoration: none; }
header p { margin : 0 0; padding-top: 10px; padding-bottom: 20px; font-size: 2.3em; color: orange; font-weight: medium; text-align: center; text-decoration: none; }
header p:hover { color: white; }

nav ul {
    list-style: none;
    padding: 0;
    display: flex; /* Afficher les liens en ligne */
    justify-content: space-between; /* Espace égal entre les liens */
    padding: 0 10px; /* Marges droite et gauche réduites */
}

nav ul li {
    flex-grow: 1; /* Chaque lien occupe un espace égal */
    text-align: center; /* Centrer le texte dans chaque lien */
    margin: 0 8px; /* Espacement réduit entre les liens */
}

nav ul li a {
    display: inline-block;
    padding: 10px 15px; /* Espacement interne réduit */
    color: white; /* Couleur du texte blanche */
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: border-color 0.3s ease; /* Animation de transition */
    border: 2px solid #ffcc00; /* Contour de 2px jaune */
}

/* Animation au survol */
nav ul li a:hover { border-color: orange; /* Bordure orange au survol */ }
nav ul li a:visited { color: lightgray; }

section { background-color: #212121; width: 80%; margin:  0 auto; /* Centrer la section */ overflow: hidden; padding: 1em; box-shadow: 6px 6px 6px #EFF542, 10px 10px 10px #727549 }
section h2 { font-size: 1.5em; margin-left: 20px; padding-top: 22px; color: yellow; font-weight: normal; text-align: center; }
section h2:hover { color: orange; }
section p { font-size: 1.2em; line-height: 1.3em; color: white; font-weight : normal; text-align: justify; margin: 0 18px; padding: 12px;}
p a { color: yellow; /* ou #FFFF00 pour le code hexadécimal */ text-decoration: none; }
p a:hover { color: orange; text-decoration: none; }

.container300 { width: 80%; margin: 0 auto; /* Centrer la section */
    display: flex; /* Utiliser Flexbox pour l'alignement */
    justify-content: center; /* Centrer horizontalement les éléments flex */
    align-items: center; /* Centrer verticalement les éléments flex */ }
.container300 img { width: 300px; height: 300px; margin: 10px; /* Espacement entre les images */ 
    transition: opacity 0.5s ease; /* Animation douce pour le survol */ }
.container300 img:hover { opacity: 0.7; /* L'image devient moins opaque au survol */ }

.conteneur-figures { display: flex; flex-wrap: wrap; /* Permet aux éléments de passer à la ligne suivante si nécessaire */ justify-content: space-around; /* Espacement égal entre les éléments */ }
figure { display: inline-block; vertical-align: top; text-align: center; margin: 0 auto; padding: 20px 15px;
  overflow: hidden; width: calc(25% - 30px); /* Calcule la largeur pour 4 img par rangée en soustrayant la marge */ }
figcaption { display: block; padding-top: 10px; padding-bottom: 10px; color: white; text-align: center; }
figcaption a { text-decoration: none; /* Aucune décoration du texte */ color: white; /* Couleur du texte blanc */ }
figcaption a:hover { color: yellow; text-decoration: none; }

.colonne { flex: 0 0 calc(33.333% - 2em); /* Largeur fixe pour les colonnes */ margin: 1em; display: flex;
    flex-direction: column; align-items: center; }
.colonne img { width: 300px; height: 300px; margin-bottom: 1em; /* Espacement entre les images */ }

.container { width: 80%; margin: 0 auto; padding: 20px; }
.row { display: flex; align-items: center; margin-bottom: 0.5in; }
.image { flex: 1; padding-right: 10px; }
.paragraph { flex: 1; padding-left: 10px; }
img { max-width: 100%; height: auto; }

.traducteur { text-align: center; padding-top: 20px; padding-bottom: 20px; }
.line { border-bottom : 2px solid #ffcc00; width : 75%; margin : 10px auto; }
.center { text-align: center; }
.clear { clear : both; }
em { font-style : italic; color : yellow; font-weight: normal; }
hr { border-bottom: 2px solid #ffcc00; width: 75%; margin: 10px auto; }

/* Animaux a gauche ou a droite du texte */
.image-gauche { float: left; margin-right: 20px; padding-left: 27px; padding-top: 26px; }
.image-droite { float: right; margin-left: 20px; padding-right: 27px; padding-top: 26px; }
/* Ajout d'une classe pour le paragraphe */
.contenu { overflow: hidden; /* Empêche le texte de dépasser l'image */
    margin-bottom: 35px; /* Espace entre l'image et le texte suivant */ }
/* Ajout d'une classe pour le texte */
.texte { margin-left: 275px; /* Espace entre l'image et le début du texte (250px + 25px) */
    margin: 0 15px; /* Marge pour le paragraphe */
    padding: 15px; /* Rembourrage pour le paragraphe */ }
/* Ajout d'une classe pour le titre h2 */
h2 { margin: 0 15px; /* Marge pour le titre h2 */
    padding: 16px; /* Rembourrage pour le titre h2 */ }

.slider-container { max-width: 650px; position: relative; margin: auto; height: 675px; overflow: hidden; }
.menu { position: absolute; left: 0; z-index: 11; width: 100%; bottom: 0; text-align: center; }
.menu label { cursor: pointer; display: inline-block; width: 10px; height: 10px; background: yellow;
  border-radius: 50px; margin: 0 0.2em 1em; }
.menu label:hover,.menu label:focus { background: white; }
.slide-input { opacity: 0; }
.slide-img { width: 100%; height: 600px; position: absolute; top: 0; left: 100%; z-index: 10; transition: left 0s 0.75s; }
[id^="slide"]:checked + .slide-img { left: 0; z-index: 100; transition: left 0.65s ease-out; }

/* Styles pour les liens de pagination */
.page { display: inline-block; }
.page a { background-color: yellow; /* Couleur de fond pour les liens */
  color: black; /* Couleur du texte */ font-size: 1.2em; font-weight: bold; float: left; padding: 7px 7px; text-decoration: none; margin-right: 10px; margin-left: 2px; margin-top: 20px; }
.page a:active { background-color: yellow; /* Couleur de fond pour le lien actif */
  color: black; /* Couleur du texte pour le lien actif */ text-align: center; }
.page a:hover:not(.active) { background-color: white; /* Couleur de fond au survol (sauf pour le lien actif) */
  color: black; /* Couleur du texte au survol (sauf pour le lien actif) */ }
.page a:visited { color: darkorange; /* Couleur du texte pour les liens visités */ }

.link-container { display: flex; gap: 45px; justify-content: center; /* Pour centrer les liens horizontalement */ }
.animal-link { font-size: 1.2em; text-decoration: none; color: #00FF00; /* Vert fluo */ }
.animal-link:visited { color: beige; /* Couleur du texte pour les liens visités */ }
.animal-link:active { color: white; /* Couleur du texte pour les liens actifs */ }

#hdp { width: 99%; text-align: right; color: white; text-decoration: none; }

footer { background-color: #212121; width: 80%; margin : 12px auto; overflow: hidden; padding: 1em; box-shadow: 6px 6px 6px #EFF542, 10px 10px 10px #727549; text-align: center; }
footer h3 { margin: auto; color: yellow; font-size: 1.2em; text-align: center; padding-left: 15px; padding-bottom: 15px; padding-top: 5px; }
footer h3:hover { font-size: 1.2em; color: white; text-decoration: none; }
footer p { margin: auto; font-size : 1.1em; font-weight: medium; text-align: center; padding-left: 20px; padding-bottom: 25px; } 
footer .footer-links a { background-color: transparent; color: white; font-size: 1.2em; font-weight: medium; text-decoration: none; border: none; text-align: center; margin : 0 0; padding: 10px 15px; }
footer .footer-links a:hover { color: orange; }

#footer-bottom { width: 80%; margin: auto; padding-top: 9px; padding-bottom: 9px; }
#footer-bottom p { font-size: 1em;  color: yellow; text-align: center; }
#footer-bottom a { background-color: transparent; color: white; text-decoration: none; }
#footer-bottom a:hover { color: orange; } 

.cse-branding-bottom, .cse-branding-right { width : 100%; margin : auto; padding : 0; }
.cse-branding-bottom:after, .cse-branding-right:after { content : "."; display : block; height : 0; clear : both;
  visibility : hidden; }
.cse-branding-text { font : 8px Arial; font-weight : normal; }
.cse-branding-form form { margin-bottom : 0; padding-bottom : 0; }
.cse-branding-bottom .cse-branding-logo, .cse-branding-bottom .cse-branding-text { display : block; float : left; }
.cse-branding-bottom .cse-branding-form { margin-bottom : 3px; }
.cse-branding-bottom .cse-branding-logo { padding : 0; }
.cse-branding-bottom .cse-branding-text { padding-top : 4px; }
.cse-branding-right .cse-branding-form { float : left; }
.cse-branding-right .cse-branding-logo, .cse-branding-right .cse-branding-text { margin-left : 4px; }
.cse-branding-right .cse-branding-form { float : left; margin-right : 2px; }
.cse-branding-right .cse-branding-logo { padding : 0; }
.cse-branding-right .cse-branding-text { margin-top : -4px; }