body{
	display: flex;
	flex-direction: column;
	background: rgba(0,0,0,0.1);
}
#presentationteam {
    background: rgba(48, 48, 48, 0.95);
    border-radius: 12px;
    margin: 40px auto 30px auto;
    padding: 32px 44px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
#presentationteam h2{
	color:orange;
	font-size: 2vw;
	text-align: center;
}

#presentationteam h2 {
    color: orange;
    font-size: clamp(2em, 4vw, 2.8em);
    text-align: center;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
#presentationteam p {
    font-size: 1.15em;
    color: #f2f2f2;
    text-align: justify;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 1200px;
    letter-spacing: 0.02em;
    padding: 20;
}
#team{
	margin: 0 auto;
	width: 80vw;
	margin-top: 20px;
}
#team ul{
	display: grid;
	list-style: none;
	grid-template-columns: 25% 25% 25% 25%;
	padding-left: 0px;
	margin-left: 0px;
}
#team li {
    text-align: center;  /* Centre le texte et les images dans chaque <li> */
}
#team h2{
	color:orange;
}
#team h3{
	color:black;
	font-style: italic;
}
#team hr {
    border: none;  /* Retire le style par défaut */
    border-top: 2px solid black;  /* Ajoute une ligne de 2px de haut et noire */
    width: auto;  /* La ligne prend toute la largeur de la page */
    margin: 10px 0;  /* Marges en haut et en bas de la ligne */
	align-items: center;
}

#team .textecache{
	display:none;
}
#team img:hover ~ .textecache {
	display:grid;
	grid-template-columns: auto auto;
	position: absolute;
	background-color: #eaeaea;  /* Fond semi-transparent */
    color: white
    padding: 5px;
    border-radius: 5px;
	vertical-align: middle;
   	width: 50vw;  /* Largeur de la box */
   	height: 50vh;  /* Hauteur de la box */
	transform: translate(-50%, -50%);  /* Ajuste pour être parfaitement centré */
    left: 50%;  /* Centre horizontalement */

}
#team .textecache img{
	width: 80%;  /* Largeur de la box */
	margin-left: 2vw;

}
#team .textecache .texte {
	background-color: white;
}
#team .textecache .texte p{
	color: black;
	padding-right: 2vw;
	padding-left: 2vw;
	text-align: justify;
}
#team .textecache .texte h2{
	color:orange;
	padding-right: 2vw;
	padding-left: 2vw;
	text-align: center;
}
@media  screen  and (max-width:768px){
	#team ul{
		grid-template-columns: auto;
	}
    #presentationteam {
        padding: 18px 8vw;
        margin: 24px 2vw 18px 2vw;
    }
    #presentationteam h2 {
        font-size: clamp(1.3em, 7vw, 2em);
    }
    #presentationteam p {
        font-size: 1em;
        text-align: left;
        padding: 0;
    }
}