@charset "utf-8";
/*CSS document */

@media screen and (max-width: 1200px) {
article {
	
	flex-direction: column;
}
}
body{
	 margin: auto;
	 padding-left:5em;
     padding-right:5em;
	 width:982px;
	 /* padding: 1em; haut droite bas gauche em = en fonction de la police */
     font: normal 90%  Verdana,Tahoma,Helvetica,Arial,Sans-serif; 
	 color: #444;
	 background: #CCC;
	 
}

body p {
	 font-size: 12px;
	 font: Verdana,Tahoma,Helvetica,Arial,Sans-serif;}
	 
body H1 {
	 font-size: 18px;
	 font: Verdana,Tahoma,Helvetica,Arial,Sans-serif;}
	 
body H2 {
	 font-size: 16px;
	 font: Verdana,Tahoma,Helvetica,Arial,Sans-serif;}	 

	 
   @font-face{
	font-family:'Calluna';
  src:url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/callunasansregular-webfont.woff') format('woff');
}

body { 
  font-family: Calluna, Avenir; 
 
}
summary, details, details a { 
  display: block; 
 
}
details a { 
  text-decoration: none;
  margin-left: 1rem;
  color: #333;
  margin: 1rem;
}
details { 
  visibility: hidden;
}
details > summary { 
  visibility: visible; 
  background: #222;
  color: #fff;
  padding: .5rem;
 
}      
details > summary:hover { cursor: pointer; }
details.no-det summary::before { 
  content: "►";
  padding-right: 5px;
  
  transition: .6s linear;
  display: inline-block;
}
details.no-det[open] summary::before { 
  transform: rotate(90deg); 
}
details[open] { 
  visibility: visible; 
  padding-bottom: .5rem;
}

section article p{

font-size: 16px;
text-align: justify;
margin: 10px 0 0 0;
}


details[open] p{ 
 
  font-size:16px;
}

/***

*HEADER 

*/

header {

position: relative;
margin: 0 0 0 0 ; 
padding: 0em;
background-color: #ababab;
background-image:url('../pics/background.jpg');
background-position: 0 0;
background-repeat: no-repeat;
background-size: auto auto;
border-bottom: 2px dotted #b20213; /* trois paramtres minimum paisseur style gris */
border-top: 2px solid #BBB;
border-left: 4px solid #999;
color: rgba(178, 2, 19, 0.9);
	animation: animatedBackground 40s linear;
	-webkit-animation: animatedBackground 40s linear;
height: 12em;
overflow: hidden;
}

#headerpic {
width:100%;
float: left;
margin-top:0px;
}

#headerpic2 {
width:100%;	

position: absolute; 
margin-top:0px;
}

#headeregg1 {
width:100%;	

position: absolute; 
margin-top:0px;
}

/*Yuki Onna*/
#yukionna {
width:100%;	

margin-top:0px;
}

#yukionna img{

position: absolute; 
right: 0px;
bottom: 0px;
margin-top:0px;

}

#kimono {
width:100%;	

margin-top:0px;
}

#kimono img{
opacity: 0.9;
position: absolute; 
right: 0px;
bottom: 0px;
margin-top:0px;

}



#headerhair1 {
width:100%;	

margin-top:0px;
}

#headerhair1 img{
opacity: 0.7;
position: absolute; 
right: 120px;
bottom: 90px;
margin-top:0px;

}


#yukionna a{

opacity: 1;
transition: opacity 3s ease-out 0s;
-webkit-transition: opacity 3s ease-out 0s;
	-o-transition: opacity 3s ease-out 0s;
	-ms-transition: opacity 3s ease-out 0s;
	-moz-transition: opacity 3s ease-out 0s;
}

#yukionna  a:hover{

opacity: 0.9;

}

#kimono a{

opacity: 0.9;
transition: opacity 3s ease-out 0s;
-webkit-transition: opacity 3s ease-out 0s;
	-o-transition: opacity 3s ease-out 0s;
	-ms-transition: opacity 3s ease-out 0s;
	-moz-transition: opacity 3s ease-out 0s;
}

#kimono  a:hover{

opacity: 0.1;

}

/*end yuki onna*/

/*Hiding her face*/

#miko-head {
opacity: 0.9;

right:383px;
margin-top:0px;
 z-index: 14;
}

#miko-head img{
opacity: 0.9;
right:383px;
position: absolute; 
margin-top:0px;
 z-index: 14;
}

#arms {
 top: 0px;



 z-index: 15;
}

#arms img{
 top: 0px;

position: absolute; 

}

#arms a{

 top: 0px;
 right:550px;
position: absolute; 
transition: top 10s ease-out 0s;
-webkit-transition: top 10s ease-out 0s;
	-o-transition: top 10s ease-out 0s;
	-ms-transition: top 10s ease-out 0s;
	-moz-transition: top 10s ease-out 0s;


}


#arms a:hover{

 top: 75px;
 
 position: absolute; 


}
/*end hiding her facea*/
#jinja img{
 top: 0px;
  left: 0px;
position: absolute; 

}
#jinja a{

 top: 0px;
  left: 0px;
position: absolute; 
transition: top 25s ease-out 0s;
-webkit-transition: top 25s ease-out 0s;
	-o-transition: top 25s ease-out 0s;
	-ms-transition: top 25s ease-out 0s;
	-moz-transition: top 25s ease-out 0s;


}


#jinja a:hover{

 top: -385px;
 
 position: absolute; 


}

#headeregg3 {
width:100%;	

margin-top:0px;
}

#headeregg3 img{

position: absolute; 
left: 15em;	
bottom: 0px;
margin-top:0px;

}





#headeregg3 a{

opacity: 0;
transition: opacity 10s ease-out 0s;
-webkit-transition: opacity 10s ease-out 0s;
	-o-transition: opacity 10s ease-out 0s;
	-ms-transition: opacity 10s ease-out 0s;
	-moz-transition: opacity 1s ease-out 0s;
}

#headeregg3  a:hover{

opacity: 0.9;

}


#headeregg3  a img{
transition: transform 10s ease-out 0s;
-webkit-transition: transform 10s ease-out 0s;
	-o-transition: transform 10s ease-out 0s;
	-ms-transition: transform 10s ease-out 0s;
	-moz-transition: transform 10s ease-out 0s;

}
#headeregg3  a:hover img{


transform: rotate(45deg) ;
-webkit-transform: rotate(45deg);
-o-transform: rotate(45deg) ;
-moz-transform: rotate(45deg) ;
}


#headertexte {
position: absolute; 
top: 7em;
  right: 5em;

margin-top:0px;
}

#headeregg1 a{
opacity: 0.01;
transition: opacity 20s ease-out 0s;
-webkit-transition: opacity 20s ease-out 0s;
	-o-transition: opacity 20s ease-out 0s;
	-ms-transition: opacity 20s ease-out 0s;
	-moz-transition: opacity 20s ease-out 0s;

}

#headeregg1 a:hover{
opacity: 0.5;
}

header h1 a{

color: rgba(0,0,0,0);
text-shadow: -10px 10px 1px #333;  /*distance x distance y flou couleur*/
transition: text-shadow 20s ease-out 0s ;
	-webkit-transition: text-shadow, 5s ease-out 0s ;
	-o-transition: text-shadow, 5s ease-out 0s ;
	-ms-transition: text-shadow, 5s ease-out 0s ;
	-moz-transition: text-shadow, 5s ease-out 0s ;

}


header h2 a{

text-shadow: -0px 0px 1px #333;  /*distance x distance y flou couleur*/
transition: text-shadow 5s ease-out 0s ;
	-webkit-transition: text-shadow, 5s ease-out 0s ;
	-o-transition: text-shadow, 5s ease-out 0s ;
	-ms-transition: text-shadow, 5s ease-out 0s ;
	-moz-transition: text-shadow, 5s ease-out 0s ;

}

header h1 a:hover{
color: rgba(12,12,12,0);
text-shadow: 10px 0px 1px #333;  /*distance x distance y flou couleur*/

}
header h2 a:hover{
color: rgba(12,12,12,0);
text-shadow: -10px 10px 1px #333;  /*distance x distance y flou couleur*/

}




/* END HEADER */


/***

*   NAVIGATION   *

*/

nav {
margin-left:auto;/* c'tait pour que les quatre elements de menu soient centrs*/
margin-right:auto;/* c'tait pour que les quatre elements de menu soient centrs*/
margin-left:0;
margin-right:0;
border-bottom: 2px dotted #b20213; /* trois paramtres minimum paisseur style gris */
border-left: 4px solid #666;
background-color: #999;
background-image: url('../pics/pixel999.png'),  url('../pics/filigrane.png'); 
background-origin:content-box;
background-position: left,  right;
background-repeat:no-repeat, repeat-x;
background-size:48em 36px, 222px 36px;

height:36px;

/*border: 5px dotted green;  j'avais mis ca poru vori ou etaient les marges de cet lment */



}

nav ul {

/*border: 5px dotted blue;  j'avais mis ca poru vori ou etaient les marges de cet lment*/
margin-top: 0; /* indispensable poru pas que les lkments de li soient dcals par rapport a NAV*/
margin-bottom: 0; /* indispensable poru pas que les lkments de li soient dcals par rapport a NAV*/
background-color: #666;
}

nav  li {
background-color: #999;
margin: 0 2em 0 0 ;
padding: 0 0 0 0;

float: left;

list-style: none;
height:36px;
/*width: 19em; c'tait pour que les quatre elements de menu soient centrs*/
width: 10em;

line-height: 35px;
text-align: center;



}

nav li a {

text-decoration: none; 
display: block; /*ca ca a servi a faire que le lien lorsque survol prenne toute la place et en se colore pas que autour du textedu li*/
color: #444;

transition: background, color  1s ease-out 0s ;
	-webkit-transition: background, color 1s ease-out 0s ;
	-o-transition: background, color  1s ease-out 0s ;
	-ms-transition: background, color  1s ease-out 0s ;
	-moz-transition: background, color  1s ease-out 0s ;
}

nav li a:hover{
border-left: 1px dotted #666;
border-right: 1px dotted #666;
color: #b20213;

}


/****** END NAV *******/
#columnleft {
float:left;
display: block; 
width:240px;
height:800px;
background-image:url('../pics/columnleft240.png') ;
background-repeat: no-repeat;
background-color: #ababab;
color: #ababab;

}
#columnleft H1 {
font-size: 22px;
}

#columnleft H2 {
font-size: 22px;
}

#columnleft  li {
/*background-color: rgba(3, 3, 3, 0.2) ;*/
margin: -20px 10px 1px 50px ;
padding: 0 0 0 0;
float: left;
list-style: none;
height: 40px;
/*width: 19em; c'tait pour que les quatre elements de menu soient centrs*/
width: 200px;
font-size: 20px;
line-height: 25px;
text-align: center;



}

#columnleft li a {
text-shadow:1px 1px 5px #2f2d2d;
color: rgba(255,0,0,0);
text-decoration: none; 
/*ca ca a servi a faire que le lien lorsque survol prenne toute la place et en se colore pas que autour du textedu li*/

float:left;
transition: background, color, text-shadow  1s ease-out 0s ;
	-webkit-transition: background, color , text-shadow  1s ease-out 0s ;
	-o-transition: background, color , text-shadow   1s ease-out 0s ;
	-ms-transition: background, color , text-shadow   1s ease-out 0s ;
	-moz-transition: background, color, text-shadow    1s ease-out 0s ;
}

#columnleft li a:hover{


text-shadow:1px 1px 0px #2f2d2d;
}



#columnright {

padding-right: 100px;
margin-left:245px;
height:800px;
overflow:scroll;
background: #CCC;

}
#columnright H2 a{
text-shadow:1px 1px 5px #2f2d2d;
color: rgba(255,0,0,0);

transition: background, color, text-shadow  1s ease-out 0s ;
	-webkit-transition: background, color, text-shadow 1s ease-out 0s ;
	-o-transition: background, color, text-shadow  1s ease-out 0s ;
	-ms-transition: background, color, text-shadow  1s ease-out 0s ;
	-moz-transition: background, color, text-shadow  1s ease-out 0s ;
}
#columnright H2 a:hover{
text-shadow:1px 1px 0px #2f2d2d;

}

}

#positionfb {

margin: 560px 0 0 0px;

}
/***

*   SECTION  *

*/

aside {
display: block;
float: left; 
width: 200px; 
padding: 2px; 
margin: 2px; 
border: 2px solid grey; 

}



section {
background-color: #ccc;
display: block;
float:left;

}

section aside {
background-color: #e3d4e1;
display: block;
float: left;
background-image: url('../pics/trame.png') ;
background-position: center;
background-repeat: repeat;
margin: 3em 3em 25em 3em;
border: 2px solid green;
}
section article

{

display: block;
float:left;
border-top: 1px dotted grey;
border-right: 0px dotted grey;
border-bottom: 0px dotted grey;
border-left: 0px dotted grey;
background: #CCC;
padding: 20px 4px 20px 4px;
margin: 0 0 0 0;
width: 100%;
}

section article header{
background-color: #e3d4e1;
display: inline;
height: auto;
float:left;
margin: 0px 10px 10px 0px ; 
border: none;
background: #CCC;
font-size: 18px;
color: #36254b;
font-style: italic;
}

section article figure{
background-color: #e3d4e1;
display: block;
float:left;
margin: 0px 20px 5px 0px ; 
background-position: center;
background-repeat: repeat;
background-size: auto auto;
border: none;
background: #CCC;

}
section article figcaption{

background: #CCC;
margin: 0px 0px 5px 0px;
}

section article aside{
background-color: #e3d4e1;
display: block;
float:left;
margin: 5px 5px 5px 5px;
padding: 5px 5px 5px 5px ; 
background-position: center;
background-repeat: repeat;
background-size: auto auto;
border: none;

}



section article a{
color:black;
font-size: 16px;
text-align: justify;
margin: 10px 0 0 0;
font: Verdana,Tahoma,Helvetica,Arial,Sans-serif;
transition: background, color  1s ease-out 0s ;
	-webkit-transition: background, color 1s ease-out 0s ;
	-o-transition: background, color  1s ease-out 0s ;
	-ms-transition: background, color  1s ease-out 0s ;
	-moz-transition: background, color  1s ease-out 0s ;
}

section article a:hover{

color: #b20213;
}

footer {
color: grey;
font-size: 16px;
text-align: justify;
margin: 20px 0 0 0;
font: Verdana,Tahoma,Helvetica,Arial,Sans-serif;
font-style: italic;
}



/* END SECTION */

/***

*   ASIDE  *

*/







/* END ASIDE */

/*DEFINITION ANIMATION */


header img.lune1 {
	
	
	
	animation:moonrot1 800s ease-out infinite;
	-webkit-animation:moonrot1 800s ease-out infinite;
	-moz-animation:moonrot1 800s ease-out infinite;
	-o-animation:moonrot1 800s ease-out infinite;
	-ms-animation:moonrot1 800s ease-out infinite;
}

header img.lune2 {
	
	
    margin-top: 10em;
	animation:moonrot2 20s ease-out infinite 3s;
	-webkit-animation:moonrot2 20s ease-out infinite 3s;
	-moz-animation:moonrot2 20s ease-out infinite 3s;
	-o-animation:moonrot2 20s ease-out infinite 3s;
	-ms-animation:moonrot2 20s ease-out infinite 3s;
}

header img.hair1 {
	
	
    margin-top: 10em;
	animation:hairrot1 4s ease-out infinite 3s;
	-webkit-animation:hairrot1 4s ease-out infinite 3s;
	-moz-animation:hairrot1 5s ease-out infinite 3s;
	-o-animation:hairrot1 5s ease-out infinite 3s;
	-ms-animation:hairrot1 5s ease-out infinite 3s;
}





@keyframes hairrot1{
	
	from {transform:rotate(0deg) scale(1) ;}
	25%  {transform:rotate(-8deg) scale(1) ;}
	50% {transform:rotate(0deg) scale(1) ;}
	75%{transform:rotate(8deg) scale(1) ;}	
	to{transform:rotate(1deg) scale(1) ;}	
	
}

@-webkit-keyframes hairrot1{
	
	from {transform:rotate(0deg) scale(1) ;}
	25%  {transform:rotate(-8deg) scale(1) ;}
	50% {transform:rotate(0deg) scale(1) ;}
	75%{transform:rotate(8deg) scale(1) ;}	
	to{transform:rotate(1deg) scale(1) ;}	
}	

@keyframes moonrot2{
	
	from {transform:rotate(0deg) scale(1) ;}
	25% {transform:rotate(-50deg) scale(10) ;}
	50%  {transform:rotate(-180deg) scale(50) ;}
	to {-transform:rotate(-360deg) scale(15) ;}	
}
@-webkit-keyframes moonrot2{
	
	from {transform:rotate(0deg) scale(1) ;}
	25% {transform:rotate(-50deg) scale(10) ;}
	50%  {transform:rotate(-180deg) scale(50) ;}
	to {-transform:rotate(-360deg) scale(15) ;}	
}

@-o-keyframes moonrot2{
	
	from {transform:rotate(0deg) scale(1) ;}
	25% {transform:rotate(-50deg) scale(10) ;}
	50%  {transform:rotate(-180deg) scale(50) ;}
	to {-transform:rotate(-360deg) scale(15) ;}	
}@-moz-keyframes moonrot2{
	
	from {transform:rotate(0deg) scale(1) ;}
	25% {transform:rotate(-50deg) scale(10) ;}
	50%  {transform:rotate(-180deg) scale(50) ;}
	to {-transform:rotate(-360deg) scale(15) ;}		
}

@keyframes moonrot1{
	
	from {transform:rotate(0deg) scale(10);}
	50%  {transform:rotate(180deg) scale(15);}
	
	to {transform:rotate(360deg) scale(10);}
	
	
}
@-webkit-keyframes moonrot1{
	
	from {-webkit-transform:rotate(0deg) scale(10);}
	50%  {-webkit-transform:rotate(180deg) scale(15);}
	to {-webkit-transform:rotate(360deg) scale(10);}
	
}

@-webkit-keyframes moonrot1{
	
	from {-webkit-transform:rotate(0deg) scale(10);}
	50%  {-webkit-transform:rotate(180deg) scale(15);}
	to {-webkit-transform:rotate(360deg) scale(10);}
	
}

@-moz-keyframes moonrot1{
	
	from {-moz-transform:rotate(0deg) scale(10);}
	50%  {-moz-transform:rotate(180deg) scale(15);}
	to {-moz-transform:rotate(360deg) scale(10);}
	
}@-o-keyframes moonrot1{
	
	from {-o-transform:rotate(0deg) scale(10);}
	50%  {-o-transform:rotate(180deg) scale(15);}
	to {-o-transform:rotate(360deg) scale(10);}
	
}





@-moz-keyframes moonrot1{
	/*from, 11%, to {margin-left:-140px;}  raccourci*/
	from, 15% {transform:rotate(5deg) scale(0.8);}
	15%, 26% {transform:rotate(10deg) scale(0.8);}
	30%, 41% {margin-left:-420px;}
	45%, 56% {margin-left:-560px;}
	65%, 76% {margin-left:-700px;}
	80%,91%   {margin-left:-840px;}
	to  {margin-left:-980px;}
	
	
}

@keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position:  0 90%; }
}

@-webkit-keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position:  0 90%; }
}

