body {
  background-color: #2a2a2a;
  color: #eeeeee;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  align-items: center;
  
}



/* pour l'accueil contient content (colonne de droite) et sidebar (colonne de gauche) */
.container {
  display: flex;
  padding-right: 30px;
  margin-top: 50px;
  
 
}

.sidebar {
  width: 235px;
  padding: 20px;
  padding-left: 100px;

}

.content {
  background-color: #333;
  padding: 20px;
  width: 1500px;

}


header {
  padding: 20px;
  text-align: center;
}

header img {
  margin: 20px;
}


footer {
  color: #bbbbbb;
  text-align: center;
  padding: 15px;
}


.spaced {
  margin-bottom: 40px;
}


/* modèle de bouton du site uiverse.io */
.button {
  margin: 0;
  height: auto;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  --border-right: 6px;
  --text-stroke-color: rgba(255, 255, 255, 0.6);
  --animation-color: #37FF8B;
  --fs-size: 2em;
  letter-spacing: 3px;
  text-decoration: none;
  font-size: var(--fs-size);
  font-family: "Arial";
  position: relative;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-stroke-color);
}

.hover-text {
  position: absolute;
  content: attr(data-text);
  color: var(--animation-color);
  width: 0%;
  inset: 0;
  border-right: var(--border-right) solid var(--animation-color);
  overflow: hidden;
  transition: 0.5s;
  -webkit-text-stroke: 1px var(--animation-color);
}

.button:hover .hover-text {
  width: 100%;
  filter: drop-shadow(0 0 23px var(--animation-color))
}


/*Pour la galerie photo*/
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  padding: 15px;
  margin: 0 auto;  /* permet de centrer l'élement */
  max-width: 1000px;
  background-color: #333;
  border: #595c5a 5px solid;
  border-radius: 8px;
  place-items: center;
}


.thumb {
  width: 200px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.2s;
}

/* agrandissement d'une photo ciblée */
.thumb:hover {
  transform: scale(1.05);
}

/* affichage du div lors du clic*/
#overlay {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.rocher {
  height: 250px;
  cursor: pointer;
}

/* pour la page vie du lézard */

.lezardpage {
  padding: 40px;
}

.lezardcard {
  background-color: #333;
  padding: 40px;
  border: 4px solid #4d5932;
  color: #59944b;
  margin: 0 auto;
  display: flex;
  border-radius: 4px;
  max-width: 1000px;
  gap: 40px;
}

/* colonne de gauche */
.textebio {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/* colonne image droite */
.imgbio {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.imgbio img {
  margin-top: 150px;
}

.lezardcard h1 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  margin-bottom: 20px;
  font-size: 55px;
}

.lezardcard h3 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 30px;
  display: flex;
  align-items: center;
}

.funfact {
  border: 2px solid #4d5932;
  box-shadow: 0 4px 10px rgba(99, 151, 86, 0.1);
  background-color: #29292998;
  text-align: center;
  margin-top: 20px;
}

.funfact h3 {
  margin: 0;
}

