body {

    padding: 20px;
    padding: 0;
    background: url('dossier-images/papierbleu.jpg') repeat;
    background-size: 50%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    scrollbar-color: rgb(152, 178, 255)
  
  }
  
  
  p {
    font-family: Arial, sans-serif;
    color: #300868;
    font-size: 14px
  }
  
  
  a {
    font-family: Arial, sans-serif;
    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; 
    margin: 0;
    padding: 0;
  }
  
  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 */
  }
  
  
  .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;
  }
  
  .ligne-avec-gif-top {
    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: #ffffff;
    border: 2px dotted #dd0000;  /* bordure */
    border-radius: 10px;         /* coins arrondis */
    padding: 30px 40px;               /* espace intérieur */
    margin: 10px /* ombre */
  }
  
  .box-droite { /* bienvenue, infos deroulantes */
    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;
  }
  
  .box-droite2 { /* box portfolio */
    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;
  }
  
  .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: #fffbe6;
    padding: 10px;
    border: 2px solid #d1bfa7;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.2);
    font-family: Georgia, serif;
    text-align: center;
    margin: 20px;
  
  }
  
  .photo-box img {
    width: 100%;
    display: block;
    margin-bottom: 5px;
  }
  
    
  .img-guestbook:hover {
    transform: scale(1.05);
  }

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

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




.carrousel-wrapper-portfolio {
    position: relative;
    width: 100%; /* ou la taille que tu veux pour ta galerie visible */
    height: auto;
    overflow: visible; /* ❗ permet aux bulles de sortir */
}

.carrousel-container-portfolio {
    overflow: hidden; /* ✅ masque uniquement les images qui dépassent */
    width: 100%;
    position: relative;
    border: 1px solid #ffffff;
    background: url(dossier-images/papierbleuclair2.jpg);
}
  
  .carrousel-defilement-portfolio {
    display: flex;
    width: max-content;
    animation: defilement 40s linear infinite;
    overflow: visible; /* <- très important */
    position: relative; /* <- si nécessaire */
  }
  
  .carrousel-defilement-portfolio img {
    align-items: center;
    width: 170px;
    height: auto;
    margin: 2px;
    border-radius: 4px;
  }

  /* tooltip pour portfolio dans la galerie */

.image-tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip {
    visibility: hidden;
    width: 100px;
    background: url(dossier-images/papiercarnetjaune.JPG);
    background-size: 100px;
    color: #11003b;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 0 30px 10px rgba(255, 170, 170, 0.8); /* flou blanc */
    padding: 8px;
    position: absolute;
    bottom: 20px; /* au-dessous */
    top: auto;
    left: 60%;
    transform: translateX(-50%);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
}

.image-tooltip-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
}



  /* tooltip pour toute la page */

.image-tooltip-container2 {
    position: relative;
    display: inline-block;
}

.tooltip2 {
    visibility: hidden;
    background: url(dossier-images/papiercarnetjaune.JPG);
    background-size: 100px;
    color: #11003b;
    text-align: center;
    border-radius: 6px;
    border: 2px dotted #dd0000;  /* bordure */
    padding: 2px 10px; /* plus compact encore */
    position: absolute;
    bottom: -40px; /* au-dessous */
    top: auto;
    left: 100%;
    transform: translateX(-50%);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;

}

.tooltip2::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
}

.image-tooltip-container2:hover .tooltip2 {
    visibility: visible;
    opacity: 1;
}


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

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