
.body{
  position: absolute;
 /* max-height: 1900px ;
  max-width : 1000px ;
  margin: 0 ;
  overflow: hidden;
  margin: 0px;
  display: flex ;
  flex-wrap: wrap;*/
}


@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}

body { margin: 0; }
div#slider { overflow: hidden; }
div#slider figure img { width: 20%; float: left; }
div#slider figure {
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 30s slidy infinite;
  z-index: 5;
}


.textetitre{
text-align:center;
right : 25% ;
z-index: 10 ;
position: absolute ;
max-width: 30% ;
}

.textetitre:hover  {

  z-index: 10 ;
  position: absolute ;
   right : 15%;
   transition-duration: 3s;
   transition-delay: 1;
   transform : scale(0.2) ;

 }
 h1 {
  font-size: 225px;
  color: #ffe33b;
  font-style: italic;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #20661e;
  width : 800px ;
  transform: rotate(-0.05turn);
  transform: skewY(-10deg);
  float: right;
  position: relative;
  }



.conteneur1{
  position: absolute;

 }
.conteneur2{
  z-index: 11;

}

.bouton{
  display : flex;
  align-items: center;
  justify-content: center;
}

.categories{
  font-size: 20px;
  color: white;
  background-color: #20661e;
    transform: rotate(-0.05turn);
    transform: skewY(-7deg);
    margin: 5%;
    z-index: 9 ;
    padding : 8px;
    margin-top:47%;
}

.flex div {
  width: 20%;
}


 .categories:hover{
    font-size: 20px;
  /*  font-weight: bold;*/
    color: white;
    background-color: #20661e;
    transform: rotate(0.0turn);
    transform: skewY(+0deg);
    z-index: 9 ;
    display: inline-block ;
    transition-duration: 1s;
  }

    .imgpersonne {
    height : 90% ;
    width : 90% ;
    position : absolute ;
    left : 115px ;
    top: 115px;
    z-index: 8 ;
    float: left;
    flex : 1;
  }


.description {
  font-size: 32px;
  color: white;
  font-style: italic;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #ffe33b;
  transform: rotate(-0.05turn);
  transform: skewY(-10deg);
  background-size: cover;
  text-align: bottom;
  position : absolute ;
  left : 115px ;
  top: 230px;
  z-index: 9 ;
  opacity: 0;
}

  .imgpersonne:hover .description {
opacity : 1 ;
transition : 1s;
  }


/*
@media (min-width: 200px)and(max-width: 750px)

@font-face {
	font-family: 'Swift';
	src: url(‘/Swift/Swift-07-Bolditalic.otf’) format(‘otf’)}
