/***style général***/



body{
	font-family: "verdana";
	font-size: 13px;
	margin: 0px;
	padding: 0px;
    background: url(fonddegrade.jpg) no-repeat center center fixed;
 	background-size: cover;
    cursor: -webkit-url(pointeur-rond.png) 10 10,auto;
        cursor: url(pointeur-rond.png)10 10,auto;
 
}
h1{
	font-size: 17px;
	font-family: 'Varela Round', sans-serif;
	text-align: center;
	color: dimgrey;
    line-height: 1;
    letter-spacing: 0.2em;
    
}
#strong{
    color:black;
}
header{

    width: 100%;
	height: 100%;
       margin:0;
    margin-bottom: 100px;
    padding:0;
	
    /*height:950px;*/
}

/* style menu */
.menu-outer:hover ~ .menu-close {
  margin-right:-100px;
}
.menu-outer:hover .bar { background:rgba(100,200,240,.9); }
.menu-outer > nav ul { top:15%; }

/*
html, body {
  background: rgba(20,20,20,1);
}
*/
.menu-outer {
  overflow: hidden;
  position: fixed;
  top: 0;
  font-family: 'Varela Round', sans-serif;
  z-index: 998;  
  width: 100%;
  left: 100%;
  margin-left: -100px;
  height: 200%;
  background: rgba(100,200,240,.9);  
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s; 
  -webkit-transform-origin: top left;
  -moz-transform-origin: top left;
  -ms-transform-origin: top left;
  -o-transform-origin: top left;
  transform-origin: top left;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.menu-outer:hover {
  background: rgba(100,200,240,.98);
  left: 0;
  margin-left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}
.menu-icon {
  z-index: 999;
  position: absolute;
  top: 58px;
  left: 15px;
  width: 30px;
  pointer-events: none;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s;
}
.menu-icon .bar {
  background: rgba(250,250,250,1);
  width: 100%;
  height: 5px;
  margin: 0 0 5px;
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s;
}
.menu-outer:hover > .menu-icon {
  opacity: 0;
}
nav ul {
  position:absolute;
  width:100%;
  padding: 0;
  left: 10%;; /*prevents possible click when not oppened*/
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s;
}
.menu-outer:hover > nav ul {
  left: 0;
}
nav li {
  list-style:none;
  text-align: center;
  text-transform: uppercase;
}
nav li a {
  font-size: 2em;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  margin: 0 auto;
  padding: 20px;
  display:block;
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s;
}
nav li a:hover {
  color: rgba(255,255,255,1);
}
@media screen and (max-width: 600px), screen and (max-height: 600px) {
  nav ul {font-size:.75em;}
  nav ul a {padding: 10px;}
}
.menu-close {
  z-index: 9999;
  position: fixed;
  top: 0;
  right: 100%;
  width: 200px;
  height: 200px;
  background: rgba(230,27,114,1);
  cursor: pointer;
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s;
  -webkit-transform-origin: top right;
  -moz-transform-origin: top right;
  -ms-transform-origin: top right;
  -o-transform-origin: top right;
  transform-origin: top right;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.menu-close .menu-icon {
  right: 15px; left: auto;top: 68px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.menu-close .bar {
  background: rgba(250,250,250,1);
  width: 100%;
  height: 5px;
  position:absolute;
  -webkit-transform-origin: center;
  -moz-transform-origin: center;
  -ms-transform-origin: center;
  -o-transform-origin: center;
  transform-origin: center;
}
.menu-close .bar:first-child {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.menu-close .bar:last-child {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}


.logo{ 
     text-align: center;

}

#logo{
    max-width: 100px;
	height: auto;
    margin-top:20px;
    margin-bottom: 20px;
    text-align: center;
}

p{
    font-family: 'Varela Round', sans-serif;
    color: #8c9398;
    word-spacing: 1px;
    line-height: 35px;
    font-size: 20px;
}

h2{
    font-size: 30px;
	font-family: 'Varela Round', sans-serif;
	text-align: center;
	color: black;
    line-height: 2.5;
    letter-spacing: 0.2em;
    margin-top: 50px;
    margin-bottom: 50px;
}

.realisations{
    margin-left: 10%;
    margin-right: 10%;
}



#plume{
    transform: rotate(-90deg);
    width: 30px;
    margin: auto;
  vertical-align: middle;
}
.trait{
    vertical-align: middle;
    width:15%;
    height: 3px;
}

.trait {
    width: 15%;
    height: 3px;
    -webkit-animation: animateThis 2s ease;
    -webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes animateThis {
    0% {
        width: 0%;
        
    }
    100% {
        width: 15%;
        
        
    }
}

.traitplume{
    text-align: center;
    margin-top: -50px;
    margin-bottom: 20px;
}
.jaune{
    background-color: lightgoldenrodyellow;
}
.bleu{
    background-color: deepskyblue;
}


ul {
    list-style-type: none;
}

a{
    text-decoration: none;
}

.retour{
    font-size: 20px;
    width: 300px;
    border-radius:20px 20px 20px 20px;
    border:2px solid;
    outline:none;
    color: deepskyblue;
    text-shadow: 1px 1px 1px lighgrey;
    margin: auto;
    margin-bottom: 50px;
    margin-top: 60px;
}
.retour:hover{
     background: blueviolet;
    color: deeppink;
    transition: all 0.3s ease 0s;
}


/* style diapo lightbox */

*{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}
.diapo{
display:flex;
flex-direction:column;
align-items:center;
margin:2rem auto}
    
.diapo li{margin-top:1rem}
    
.diapo li a img{
display:flex;
width:250px;
height: 250px;
border:3px solid white;
box-shadow:0 0 5px hsla(0,0%,0%,.4)
background: white;
}





/*lightbox*/

/*description image*/
.des{
display:block;
position:absolute;
bottom:-100%;
padding:10px;
color:#fff;
font-size:1rem;
font-family: 'Varela Round', sans-serif;
text-align:center;
background:hsla(0,0%,0%,.5);
width:100%;
min-height:100px}


/*boutons suivant et precedent lightbox*/
.prece,
.suiva{
display:none;
text-decoration:none;
opacity:.6;
z-index:2;
font-size:54px;
position:absolute;
color:#fff;
top:45%}

.suiva{right:10%}
.prece{left:10%}

.suiva:before{content:url(suivant.png)}

.prece:before{content:url(precedent.png)}

.prece:hover,.suiva:hover{transition:.8s;opacity:1}

/*fermeture lightbox */
.ferm{
display:none;
text-decoration:none;
color:white;
position:absolute;
top:0;
right:0;
font-size:42px;
padding:60px}
    
.ferm:before{content:url(fermer.png)}
/*fin fermeture lightbox */

/*design image et effet lightbox */	
.trans-image{width:0;height:0;position:fixed;overflow:hidden;left:0;top:0;min-height:50%;z-index:1;background:hsla(0,0%,0%,.8)}
.trans-image img{display:none;
    top:10%;
    position:absolute;
    left:50%;
    margin-left:-150px;
    border:5px solid #fff;
	top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	margin: auto;
}

.trans-image:target{width:100%;height:100%}
.trans-image:target > .prece,
.trans-image:target > .suiva,
.trans-image:target > img,
.trans-image:target > .ferm{
display:block;
animation:effet .4s ease-in-out .4s backwards;
-webkit-animation:effet .4s ease-in-out .4s backwards}

.trans-image:target > .prece,
.trans-image:target > .suiva{animation-delay:.6s;-webkit-animation-delay:.6s}

.trans-image:target > .des{animation:effet1 .4s .6s forwards;-webkit-animation:effet1 .4s .6s forwards}


/*animations*/

@keyframes effet{
0%{transform:scale(0)}
50%{transform:scale(1.2)}
100%{transform:scale(1)}}
	
	
@-webkit-keyframes effet{
0%{opacity:0;-webkit-transform:scale(0)}
80%{-webkit-transform:scale(1.2)}
100%{opacity:1;-webkit-transform:scale(1))}
}	
	
	
@keyframes effet1{100%{bottom:0}}

@-webkit-keyframes effet1{100%{bottom:0}}

/*fin animations*/
  
@media screen and (min-width:37.5rem){ 
.diapo{
display:flex;
flex-flow:row wrap;
justify-content:center}

.diapo li{margin-right:auto;margin-left:auto}
}

img{
    max-width: 600px;
    height: auto;

}


.realisations img{
        cursor: -webkit-url(pointeur.png) 25 25,auto;
        cursor: url(pointeur.png)25 25,auto;
}

/* style footer */

footer{
    display: flex;
    flex: baseline;
    flex: center;
	height: 50px;
	padding-top: 0px;
	text-align: center;
	background-color: lightskyblue;
     align-items: center;
  justify-content: center;
}
#footer{
    text-align: center;
    font-size: 15px;
}


/* style animation titre h1 */

.seb {
	-webkit-animation: fade-in-left 1s 0.2s both;
	        animation: fade-in-left 1s 0.2s both;
}
@-webkit-keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
            transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
            transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}

.web {
	-webkit-animation: fade-in-right 1s 0.4s both;
	        animation: fade-in-right 1s 0.4s both;
}

@-webkit-keyframes fade-in-right {
  0% {
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-in-right {
  0% {
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}

/* style icones description */

#iconeA{
    max-width: 50px;
    height: auto;
    border: none;
    margin: 10px;
    display: block;
    padding-top: 25px;
    margin: auto;
    margin-top: 13px;

}

#iconeB{
    max-width: 50px;
    height: auto;
    border: none;
    margin: 10px;
    display: inline-block;
    position: static;
    
   margin-top: 15px;
    

}
.icone{
    display: block;
    text-align: center;
    
}

#motiondesign{
   position: absolute;
top: 50%;
left: 50%; 
    margin-left:-280px;
    margin-top:-157.5px;
   
    
}

/* style mentions légales */
.mentions-legales{
    padding:0% 10% 0% 10%;
    text-align: justify;
}
    p.mentions-legales{
        font-size:15px;
        line-height: 25px;
    }
h3.mentions-legales{
    font-family: 'Varela Round', sans-serif;
    font-size: 18px;
}
.lienmentions{
    text-decoration: none;
    color:#8c9398;
}

@media screen and (min-width: 480px) and (max-width: 960px){
    .mentions-legales{
        padding: 0;
    }
}
@media screen and (min-width: 0px) and (max-width: 479px){
    .mentions-legales{
        padding: 0;
        
    }
    p.mentions-legales{
        font-size:12px;
        line-height:15px;
    }
    h3.mentions-legales{
        font-size:14px;
    }
}


/*style page mtion design*/
.motion{
    text-align: center;
}
#motion{
    margin-top: 20px;
}

.container1{
    width: 100%;
	height: 100%;
	background: url(fonddesk.jpg) no-repeat center center fixed;
 	background-size: cover;
  
    
    margin:0;
    padding:0;
}
#qui-suis-je{
    /*
    background-image: url(fonddesk.jpg);
    background-size: fixed;
    background-repeat: no-repeat;
    background-position: top center;*/
    width:100%;
    height:100%;
    display: inline-block;
    /*margin-top: 200px;*/
    /*padding: 20px;*/
    padding-top: 20px;
    padding-bottom: 20px;
}
