body {
  padding: 20px;
  padding: 0;
  background: url('dossier-images/fond-mer.GIF') repeat;
  background-size: 100%;
  margin: 0 auto;
  position: relative;

}


p {
  font-family: Arial, sans-serif;
  color: #300868;
  font-size: 14px
}


a {
  font-size: 14px;
  color: #31a499;
}

h1 {
  font-family: Arial, sans-serif;
  color: #682aa5;
  font-size: 30px
}


h2 {
  font-family: Arial, sans-serif;
  color: #31a499;
}

h3 {
  font-family: Arial, sans-serif;
  font-size: 25px;
  color: #ffffff;
}

h4 {
  font-family: Arial, sans-serif;
  color: #7678c4;
  font-size: 17px
}

h5 {
  font-family: Arial, sans-serif;
  color: #ff8ea3;
}

h6 {
  font-family: Arial, sans-serif;
  color: #be0000;
  font-size: 12px;
  margin: 0;
  padding: 0;
  font-weight: normal; /* facultatif, pour un rendu plus léger */
}

summary {
  font-family: Arial, sans-serif;
  color: #7678c4;
  font-size: 15px
}

.content {
  width: 850px;
  max-width: 100%;
  margin: 10px auto;
  padding: 30px 40px;
  padding: 30px 40px;
  border-radius: 10px;
  background-color: #fff9f0;
  box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.8); /* flou blanc */
}

.contenttop {
  align-content: center;
  width: 850px;
  height: 30px;
  max-width: 100%;
  margin: 10px auto;
  border: 2px dotted #8b5e3c; /* couleur marron clair */
  padding: 30px 40px;
  border-radius: 10px;
  background-color: #fff9f0;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
  line-height: 13px;
  font-size: 16px;
}

.boxcolonnegauche {
  width: 60px;
  height: 130px;
  max-width: 100%;
  margin: 2px auto;
  padding: 10px 10px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.8); /* flou blanc */
  line-height: 13px;
  font-size: 16px;
}

.ligne-avec-gif-top {
  display: flex;
  align-items: center; /* aligne verticalement */
  gap: 10px; /* espace entre le gif et le texte */
  font-size: 16px;
}

.ligne-avec-gif-diarytitre {
  display: flex;
  align-items: center; /* aligne verticalement */
  gap: 10px; /* espace entre le gif et le texte */
  font-size: 16px;
}

audio {
  display: block;
  margin: 20px auto;
}



.img-fleche {
  position: absolute;
  width: 50px;
  padding: 10px;
  font-family: Georgia, serif;
  text-align: left;
  margin: 20px;
}


.carrousel-defilement {
  display: flex;
  width: max-content;
  animation: defilement 20s linear infinite;
  align-items: center; /* ✅ Centre les images verticalement */
  height: 100%;
  object-fit: cover;

}


.main {
  display: flex;
  align-items: center; /* aligne verticalement */
  gap: 10px; /* espace entre le gif et le texte */
}

.colonne-gauche {
  width: 75px;          /* largeur */
  height: 500px;  
  align-content: right;       /* hauteur */
  background: url(dossier-images/fond-mer.GIF);
  box-shadow: 0 0 30px 10px rgba(189, 247, 255, 0.8); /* flou blanc */
  border-radius: 10px;         /* coins arrondis */
  padding: 30px 40px;               /* espace intérieur */
  margin: 10px /* ombre */
}

.box-droite {
  position: relative;
  width: 550px;          /* largeur */
  height: 285px;         /* hauteur */
  border-radius: 10px; 
  border: 2px dotted #dd0000;        /* coins arrondis */
  background: repeating-linear-gradient(rgb(255, 255, 255), white 29px, #e2e2e2 30px);
  padding: 30px 40px; 
  margin: 0 auto;              /* espace intérieur */
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  gap: 10px;
  margin: 0 auto; /* ombre */
  overflow-y: auto;
}

.box-droite2 {
  position: relative;
  width: 550px;          /* largeur */
  height: 130px;         /* hauteur */
  border-radius: 10px; 
  border: 2px dotted #dd0000;        /* coins arrondis */
  background: repeating-linear-gradient(rgb(255, 255, 255), white 29px, #e2e2e2 30px);
  padding: 30px 40px; 
  margin: 0 auto;              /* espace intérieur */
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  gap: 10px;
  margin: 0 auto; /* ombre */
  overflow-y: auto;
}

.boxes-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* pour centrer horizontalement */
  gap: 20px; /* espace entre les boîtes */
}


.carrousel-container-lecture1 {
  overflow: hidden;
  width: 100%;
  border: 1px solid #ffc400;
}

.carrousel-defilement-lecture1 {
  display: flex;
  width: max-content;
  animation: defilement 20s linear infinite;
}

.carrousel-defilement-lecture1 img {
  width: 80px;
  height: auto;
  margin: 0 1px;
  border-radius: 4px;
  border: 1px solid #ffd500;
}

@keyframes defilement {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

audio {
  position: relative;
  margin: auto
}

/* PETITES BOXES */
.box-secret {
  border: 2px dotted #6e4094;
  padding: 10px;
  border-radius: 10px;
  width: 90%;
  max-width: 300px;
  background: #f8f0ff;
  margin-bottom: 20px;
}

/* CARNET STYLE */
.scroll-carnet {
  width: 800px;
  max-width: 600px;
  height: 200px;
  padding: 15px 20px;
  background: repeating-linear-gradient(white, white 29px, #e2e2e2 30px);
  box-shadow: 4px 4px 10px rgba(0,0,0,0.1);
  overflow-y: auto;
  line-height: 23px;
  margin: 10px auto;
  position: relative;
  z-index: 1000;
}

  
.photo-box {
  width: 200px;
  background: #f7f4ff;
  padding: 10px;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.2);
  text-align: center;
  margin: 20px;

}

.photo-box img {
  width: 100%;
  display: block;
  margin-bottom: 5px;
}

.photo-box:hover {
 transform: rotate(2deg);
}

.carrousel-container-timbres {
  overflow: hidden;
  width: auto;
  border: 1px solid #ffc400;
}

.carrousel-defilement-timbres {
  display: flex;
  width: max-content;
  animation: defilement 20s linear infinite;
}

.carrousel-defilement-timbres img {
  width: 80px;
  height: 50px;
  margin: 2px;
  border-radius: 4px;
}

.box-droite3 {
  position: relative;
align-content: left;
  width: 770px;          /* largeur */
  height: 300px;         /* hauteur */
  border-radius: 10px; 
  border: 2px dotted #dd0000;        /* coins arrondis */
  background: repeating-linear-gradient(rgb(255, 255, 255), white 29px, #e2e2e2 30px);
  padding: 30px 40px; 
  margin: 0 auto;              /* espace intérieur */
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  gap: 10px;
  margin: 0 auto; /* ombre */
  overflow-y: auto;
}

  
.img-guestbook:hover {
  transform: scale(1.05);
}

.img-pal:hover {
  transform: scale(1.05);
}

.img-trefle1:hover {
  transform: scale(1.2);
}
  