* {
   text-align: center;
}

div.entete{
height: 450px;
}

div#slider { 
  max-height: 550px;
  }

div.desc{
  margin:10%;
  align-items:flex-start;
}


div.desc > p > img{
  width: 50%;
  float: right;
  margin-left:10px;
  max-height: 300px;
  border:solid 2px;
  border-color: grey;
  border-radius: 5px;
}

@media screen and (max-width:1200px){
div.desc > p > img{
width: 80%;
float: none;
align-self: center;
margin:5%;
}
}


div.desc > p {

color:grey;
line-height: 1.5;
text-align: justify;
}

.bouton{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

#ns{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0px 0px;
}

#ns > h3{
font-size: 70px;
color: #A66EFF;
}

#ns > h3:hover{
  cursor: pointer;
}

.bouton > h3 {
  font-size: 10px;
}

@media screen and (max-width:600px){
#ns > h3 {
  display: none;
}
}

.serv{
  font-size: 20px;
  color: #A66EFF;
}

#button{
width: 60px;
height: 60px;
align-self: center;
}

#button:hover{
  cursor:pointer;
}

div.boiboite{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 5%;
}

div.boiboite > article{
  background-color:#F3F3F3;
  width: 400px;
  min-width: 400px;
  min-height: 400px;
  margin: 10px;
  display: none;
  opacity: 0;
  justify-content: flex-start;
  box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

@media screen and (max-device-width:800px){
  div.boiboite > article{
    display: flex;
    opacity: 1;
  }
}

div.boiboite > article > div > figure {
  width: 100%;
  display: flex;
  max-height: 250px;
  margin-left: 0px;
  margin-top: 0px;

}

div.boiboite > article > div > figure > img{
  width: 90%;
  margin:5%;
  margin-bottom:0px;
  -moz-transition: all 0.5s ease-in-out 0s;
    -webkit-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    -ms-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
    opacity: 0.9;
    border-radius: 5px;
}

div.boiboite > article > div > figure > img:hover{
-moz-transform:  scale(1.05);
    -webkit-transform:  scale(1.05);
    -o-transform:  scale(1.05);
    -ms-transform:  scale(1.05);
    transform:  scale(1.05);
    opacity: 1;
}

div.boiboite > article > div > p{
font-size:80%;
margin:3%;
margin-top: 0px;
color: grey;
text-align: justify;
}

div.boiboite > article > div > a{
text-decoration: none;
font-size:120%;
color: white;
padding: 5px 5px;
background-color: #333;
 box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.7);
}


div.boiboite > article > div > a:hover{
background-color: #A66EFF;
color:black;
transition: all 0.7s ease-in-out;
}

div.boiboite > article > div> h1#soustitre {
color:#4C4CCF;
padding: 0px 30px;
margin-bottom: 0px;
margin-top: 10px;
font-size: 25px;
}

span.span{
font-size:15px;
}

div.connect{
  margin-top: 8%;
}


