body {
    margin: 0px;
    width: 100%;
    font-size: 100%;
    position: relative;
}
main {
    background: white;
    background-image: url('../images/fond.png');
    background-position: bottom 10%;
    background-repeat: repeat;
	background-size: cover;
    padding-bottom: 10%;
}

        /* PARTIE AGENCE */

/* Propriété de la partie agence*/
#agence {
    width: 100%;
    margin-bottom: 8%;
}
/* Div comprends la barre et le texte */
section#agence > .titre {
    padding-top: 5%;
    padding-bottom: 40%;
    margin-bottom: -25%;
    position: relative;
    z-index: 1;
    background-color: #434343;
    display: flex;
    flex-direction: row;
    justify-content: left;
}
/* Propriété du h3 "l'équipe" */
section#agence > .titre > h3 {
    font-family: 'Oswald', sans-serif;
    color: #FF6F00;
    font-size: 3em;
    width: 20%;
    line-height: 1.3;
    text-transform: uppercase;
}
/* Barre blanche */
section#agence > .titre > div{
    background-color: white;
    height: 0.5em;
    width: 60%;
    margin: 1.6em 0.5em 0 0;
}
/* Barre grise */
section#agence > div:last-child{
    background-color: #434343;
    height: 0.5em;
    width: 60%;
    margin: 17% 0 0 auto;
}
/* La classe equipe comprends le texte et la photo */
section .presentation {
    position: relative;
    width: 100%;
    height: auto;
}
/* Image de l'agence toute entière */
section .presentation img {
    position: relative;
    margin-left: 5%;
    top:0%;
    bottom: 50%;
    z-index: 2;
    width:70%;
    height:auto;
    display: block;
}
/* Propriété de la div contenant le texte de présentation global */
section .presentation .txt {
    position: absolute;    
    display: block;
    background-color: #B5E7E6;
    z-index: 3;    
    right: 2%;
    top:0%;
    margin-top: 6%;
    width: 30%;
    height: 20%;
    padding-top: 17%;
    padding-bottom: 19%;
}
/* Propriété du texte présentation de l'agence */
section .presentation .txt p{
    text-align: right;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
    color: white;
    margin-right: 3%;
    margin-left: 10%;
}

        /* PARTIE MEMBRES */

/* Propriété de la partie membres*/
#membres {
    width: 100%;
    margin-bottom:8%;
}
/* Propriété de la section*/
#membres>section {
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
}
/* Div comprends la barre et le texte */
section#membres > .titre {
    padding-top: 5%;
    padding-right: 0;
    padding-bottom: 40%;
    margin-bottom: -28%;
    position: relative;
    z-index: 1;
    background-color: #434343;
    display: flex;
    flex-direction: row;
    justify-content: right;
}
/* Propriété du h3 "les membres" */
section#membres > .titre > h3 {
    font-family: 'Oswald', sans-serif;
    color: #FF6F00;
    font-size: 3em;
    width: 40%;
    line-height: 1.3;
    text-transform : uppercase;
    text-align: right;
}
 /* Barre blanche */
section#membres > .titre > div {
    background-color: white;
    height: 0.5em;
    width: 60%;
    margin: 1.6em 0 0 0.5em;
}
/* Propriété des img des membres*/
section#membres img {
    width: 85%;
    height: auto;
    position: relative;
    z-index: 2;
}
/* Placement des div contenant 3 à 4 photos*/
section#membres .photos {
    width: 100%;
    display:flex;
    flex-wrap: wrap;
    margin-bottom: 3%;
}
/* La 4ème div alignée à droite*/
section#membres .photos:nth-child(4) {
    width: 100%;
    display:flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
/* Les div contenues dans les grandes div photos*/
section#membres .photos div{
  text-align: center;
  vertical-align: middle;
  width: 25%;
  position: relative;
}
/* Paramètres des h4 donc des noms et prénoms*/
section#membres section .photos div > h4{
    z-index: 3;    
    opacity: 0;
    display: block;
    position: absolute;

    font-family: 'Oswald', sans-serif;
    text-transform:uppercase;
    font-size: 1.2em;
    letter-spacing: 1px;
    color: white;
    text-shadow: 0 0 0.2em black, 0 0 0.2em black;

    width: 100%;
    top: 9%;

    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    -ms-transition: opacity .5s ease-in-out;
}
/* Paramètres de la description de chaque membre*/
section#membres section .photos div > p {
    z-index: 3;    
    opacity: 0;
    display: block;
    position: absolute;

    font-family: 'Roboto', sans-serif;
    line-height: 1.3;
    font-size: 0.9em;
    color: white;
    text-shadow: 0 0 0.2em black, 0 0 0.2em black;

    width: 80%;
    height: 60%;
    margin-top: 19%;
    margin-left: 10%;

    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    -ms-transition: opacity .5s ease-in-out;
}
/* Paramètres lorsqu'on passe la souris sur h1*/
section#membres section .photos div:hover h4{
    opacity: 1;
    transition:all 0.5s;
}
/* Paramètres lorsqu'on passe la souris sur p*/
section#membres section .photos div:hover p{
    opacity: 1;
    transition:all 0.5s;
}

/* Propriété des portraits lorsqu'on passe la souris dessus, sur les images */ 
section#membres div.photos div:hover img{
    transition:all 0.5s;
    filter : blur(3px);
}

/* Barre grise */
section#membres > div:last-child{
    background-color: #434343;
    height: 0.5em;
    width: 60%;
    margin: 8em 0.5em 0 0;
}