body{
  
  
}

h1{
  font-size: 5rem;
  text-align: center;
  margin-top: 0%;
}

h2{
align-self: center;
}

p{
  font-size: 2rem;
  text-align: center;
  margin-left: 30%;
  margin-right: 30%;
}

details{
  text-align: center;
  margin-left: 30%;
  margin-right: 30%;
  
}

img{
  align-items: center;
}

.p1{
font-size: 3rem;
margin-top: 50%;
}




.liste {
  margin: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr) );
  gap: 20px;
}

figure {
  margin: 0;
}
figure a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: currentColor;
  text-decoration: none;
  position: relative;
}
figure span {
  height: 100%;
  background: paleturquoise;
  transition: all .5s;
  overflow: hidden;
}
figure:hover img {
  filter: grayscale(0);
  transform: scale(1.1);
}
figure:hover span {
  background: white;
}
figure figcaption {
  padding-top: .5em;
}
img {
  width: 50%;
  height: 50%;
  object-fit: cover;
  flex: 1;
 
  mix-blend-mode: multiply;
  transition: all .5s;
}



summary {
  list-style-type: none; 
}
[open] summary {
  list-style-type: none; 
  background-color: rgb(212, 212, 212);
}

summary:hover{
background-color: rgb(212, 212, 212);
font-size: 105%;
transition: all .5s;
}


