/* GENERAL */

body{
    margin: 25px auto;
    width: 1000px;
    background-image: url(../images/noel.jpg);
    background-size: cover;
    overflow-x: hidden;
    font-size: 100%;
}

@font-face {
    font-family: 'Agency FB';
	/*src: url('fonts/bilbo-regular-webfont.eot');*/
    src: /*url('fonts/bilbo-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/bilbo-regular-webfont.woff2') format('woff2'),
         url('fonts/bilbo-regular-webfont.woff') format('woff'),*/
         url('fonts/AGENCYR.TTF') format('truetype')/*,
         url('fonts/bilbo-regular-webfont.svg#bilboregular') format('svg')*/;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bradley';
    src: url('fonts/bradley.eot');
    src: url('fonts/bradley.eot?#iefix') format('embedded-opentype'),
         url('fonts/bradley.woff') format('woff'), 
         url('fonts/bradley.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Maiandra';
    src: url('fonts/maiandraGD.eot');
    src: url('fonts/maiandraGD.eot?#iefix') format('embedded-opentype'),
         url('fonts/maiandraGD.woff') format('woff'),
         url('fonts/maiandraGD.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@media screen and (max-width: 1280px) {
    #flex {display: none;} 
    #intro_titre{font-size: 1.5em; text-decoration: underline;}
    #intro_text{text-align: left;font-size: 0.9em;}
    #tarifs_text{text-align: left;font-size: 0.75em;line-height: 25px;}
    #tarifs_prix{font-size: 1.9em; line-height: 0;}
}

@media screen and (min-width: 1281px) {
    #intro_titre{font-size: 1.6em;text-decoration: underline;}
    #intro_text{text-align: left;font-size: 1em;}
    #tarifs_text{text-align: left;font-size: 0.9em;line-height: 25px;}
    #tarifs_prix{font-size: 2em; line-height: 0;}
}

#intro_plaisir{font-size: 1.3em;}
#tarifs{position: absolute;z-index: 1;top: 410px;margin-left: 545px;transform: rotate(-3deg);}
#tarifs_apartirde{line-height: 10px;}


/* Encart fixe nom du site */
#entete_fixe{
    position:absolute;
    z-index: 2;
    width: 750px;
    margin-left: 125px; /* =1000(body)-750(div)/2 */
    top: 5px;
}
#entete_fixe h1{
    background-color: #c7bc8e;
    background-image: url(../images/cuir.jpg);
    background-size: cover;
    border: 2px #0f0d07 solid;
    box-shadow: 15px 20px 15px #000, -1px 0px 1px #cec8ad, 0px -1px 1px #ceccc3;
    padding: 10px;
    font-family: 'Maiandra';
    text-transform: uppercase;
    font-size: 2.2em;
    color: #261c0d;
    text-align: center;
    text-shadow: 0px 1px 1px rgba(255,255,255,.4), 0px -1px 1px rgba(0,0,0,.8), 1px 0px 1px rgba(255,255,255,.4), -1px 0px 1px rgba(0,0,0,.8);
    height: 40px;
}

#deroulant_titre{
    position:absolute;
    z-index: 2;
    width: 700px;
    margin-left: 150px; /* =1000(body)-700(div)/2 */
    top: 85px;
}

#deroulant_titre p{
    padding: 5px;
    text-transform:inherit;
    line-height: 20px;
    background-color: rgba(255,255,255,.8);
    font-family: 'Maiandra';
    font-size: 0.9em;
    text-align: center;
    color: #0f0d07;
    text-shadow: 0px 1px 1px rgba(255,255,255,.2), 0px -1px 1px rgba(0,0,0,.7), 1px 0px 1px rgba(255,255,255,.2), -1px 0px 1px rgba(0,0,0,.7);
    border: 2px #0f0d07 solid;
    border-radius: 0 0 50px 50px;
    box-shadow: 10px 15px 10px #000;
    height: 62px;
}

#menu_1{
    position:absolute;
    z-index: 4;
    width: 150px;
    margin-left: 50px; /* =1250(body)-750(div)/2 */
    top: 250px;
}

#menu_2{
    position:absolute;
    z-index: 4;
    width: 150px;
    margin-left: 50px; /* =1250(body)-750(div)/2 */
    top: 400px;
}

#menu_3{
    position:absolute;
    z-index: 4;
    width: 150px;
    margin-left: 50px; /* =1250(body)-750(div)/2 */
    top: 550px;
}

.deroulant_menu h2{
    margin: 0;
    background-color: #c7bc8e;
    background-image: url(../images/cuir.jpg);
    border: 2px #0f0d07 solid;
    box-shadow: 15px 20px 15px #000;
    padding: 10px 5px 10px 7px;
    font-family: 'Maiandra';
    font-size: 1.2em;
    color: #261c0d;
    text-align: center;
    text-shadow: 0px 1px 1px rgba(255,255,255,.4), 0px -1px 1px rgba(0,0,0,.8), 1px 0px 1px rgba(255,255,255,.4), -1px 0px 1px rgba(0,0,0,.8);
}

.deroulant_menu h2:hover{
    border: 2px #887337 solid;
    color: #64481c;
}

.deroulant_menu a{
    text-decoration: none;
}

.deroulant_menu{
    width: auto;
    height: 50px;
}

.deroulant_menu div{
    transform: scaleX(0);
    transform-origin: 0 50% ;
    transition:transform 0.8s ease;
    margin-left: 200px;
    width: 750px;
    position: fixed;
    top: 200px;
    z-index: 3;
}

.deroulant_menu div p{
    padding: 20px 25px 20px 25px;
    text-transform:inherit;
    line-height: 20px;
    background-color: rgba(255,255,255,.8);
    font-family: 'Maiandra';
    font-size: 1em;
    text-align: justify;
    color: #0f0d07;
    text-shadow: 0px 1px 1px rgba(255,255,255,.2), 0px -1px 1px rgba(0,0,0,.7), 1px 0px 1px rgba(255,255,255,.2), -1px 0px 1px rgba(0,0,0,.7);
    border: 2px #0f0d07 solid;
    box-shadow: 15px 20px 15px #000;
}

.deroulant_menu:hover div{
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

.deroulant_menu br{
    margin-bottom: 10px;
    line-height: 30px;
}

.schema{
    position: absolute;
    top: 265px;
    right: 140px;
    border: 2px #0f0d07 solid;
    border-radius: 10px;
}

.droite_caddie_commande{
    position: absolute;
    top: 260px;
    right: 50px;
}

#poster1{
    position: absolute;
    top: 295px;
    left: 270px;
    border: 1px #0f0d07 solid;
    width: 120px;
    height: 80px;
}

#poster1:hover{
    -webkit-transform: scale(4);
    -moz-transform: scale(4);
    -ms-transform: scale(4);
    transform: scale(4);
    transform-origin: 40% 70% ;
    -webkit-transition:transform 0.5s ease;
    -moz-transition:transform 0.5s ease;
    -ms-transition:transform 0.5s ease;
    transition:transform 0.5s ease;
    z-index: 5;
}

#poster2{
    position: absolute;
    top: 295px;
    left: 420px;
    border: 1px #0f0d07 solid;
    width: 120px;
    height: 80px;
}

#poster2:hover{
    -webkit-transform: scale(4);
    -moz-transform: scale(4);
    -ms-transform: scale(4);    
    transform: scale(4);
    transform-origin: 80% 70% ;
    -webkit-transition:transform 0.5s ease;
    -moz-transition:transform 0.5s ease;
    -ms-transition:transform 0.5s ease;    
    transition:transform 0.5s ease;
    z-index: 5;
}

#arbre{
    position:absolute;
    z-index: 2;
    margin-top: 360px;
    margin-left: 790px;
}
#arbre img{
    border: 5px #0f0d07 solid;
    border-radius: 55px;
    box-shadow: 15px 20px 15px #000;
    width: 95px;
    height: 100px;
    -webkit-transform: rotateX(25deg) rotateZ(15deg);
    -moz-transform: rotateX(25deg) rotateZ(15deg);
    -ms-transform: rotateX(25deg) rotateZ(15deg);
    transform: rotateX(25deg) rotateZ(15deg);
}

#loupe{
    position:absolute;
    z-index: 4;
    top: 308px;
    margin-left: 175px;
    border: 0px red solid;
    border-radius: 45px;
    width: 90px;
    height: 90px;
    overflow: hidden;
}

#flare{
	height: 100%;
	width: 20%;
    background-image: linear-gradient(
        to bottom,
		rgba(255, 255, 255, 0.4) 15%,
		rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 75%
	);
	animation: 6s ease-in-out 0s infinite alternate move_eye;
}

@keyframes move_eye {
	from {
		margin-left: -20%; 
	}
	to {
		margin-left: 100%;
        transform: rotate(45deg) translateY(-12px);
	}
}

#boussole{
    position:absolute;
    z-index: 5;
    margin-top: 730px;
    margin-left: 25px;
}
#boussole img{
    box-shadow: 15px 20px 15px #000;
    border: 2px #0f0d07 solid;
    border-radius: 25px;
    width: 50px;
    height: 50px;
}
#boussole div{
    height: 10px; 
    transform: scaleX(0);
    transform-origin: 12% 0;
    transition:transform 0.5s ease;
    position: absolute;
    bottom: 60px;
}
#boussole div p{
    padding: 10px 30px;
    text-transform:inherit;
    line-height: 20px;
    background-color: rgba(255,255,255,.7);
    font-family: 'Maiandra';
    font-size: 1em;
    text-align: center;
    color: #0f0d07;
    text-shadow: 0px 1px 1px rgba(255,255,255,.2), 0px -1px 1px rgba(0,0,0,.7), 1px 0px 1px rgba(255,255,255,.2), -1px 0px 1px rgba(0,0,0,.7);
    border: 2px #0f0d07 solid;
    box-shadow: 15px 20px 15px #000;
    width: 680px;
    margin-left: 100px;

}
#boussole:hover div{
    transform: scaleX(1);
}
#boussole br{
    margin-bottom: 12px;
}
#boussole div img{
    position: relative;
    width: 44px;
    height: 15px;
    margin-right: 2px;
    margin-left: 2px;
    border-radius: 0px;
    box-shadow: none;
    border: none;
}

#fond img{
    position: absolute;
    z-index: 0;
}

#vue_bureau{
    border: 5px #0f0d07 solid;
    width: 1000px;
    margin-top: 50px;
    margin-left: 0px; /* =1000(body)-1000(div)/2 */
}

#blog_intro { /*page d'accueil*/
    position: absolute;
    z-index: 2;
    top: 375px;
    margin-left: 360px;
    transform: rotate(1deg);
}

#mentions { /*page d'accueil*/
    position: absolute;
    z-index: 2;
    top: 1410px;
    margin-left: 360px;
    transform: rotate(1deg);
}

#mentions_intro { /*page d'accueil*/
    position: absolute;
    z-index: 2;
    top: 375px;
    margin-left: 360px;
    transform: rotate(1deg);
}

#intro { /*page d'accueil*/
    position: relative;
    z-index: 2;
    top: 555px;
    margin-left: 360px;
    transform: rotate(1deg);
}

#blog { /*page du blog*/
    position: absolute;
    z-index: 2;
    top: 400px;
    margin-left: 360px;
    transform: rotate(1deg);
}

#services { /*page du blog*/
    position: relative;
    z-index: 2;
    top: 920px;
    margin-left: 360px;
    transform: rotate(1deg);
}

#article1 { /*page du blog*/
    position: relative;
    z-index: 2;
    top: 500px;
    margin-left: 320px;
}

#article2 { /*page du blog*/
    position: relative;
    z-index: 2;
    top: 500px;
    margin-left: 520px;
}

#article3 { /*page du blog*/
    position: relative;
    z-index: 2;
    top: 500px;
    margin-left: 720px;
}

#article4 { /*page du blog*/
    position: relative;
    z-index: 2;
    top: 500px;
    margin-left: 920px;
}

#article5 { /*page du blog*/
    position: relative;
    z-index: 2;
    top: 700px;
    margin-left: 520px;
}

#article6 { /*page du blog*/
    position: relative;
    z-index: 2;
    top: 700px;
    margin-left: 720px;
}


.livre p {
    font-family: 'Bradley';
    text-align: center;
    font-weight: bolder;
    color: saddlebrown;
}


.livre div{
    margin-left: -108px;
    width: 675px;
    position: absolute;
    z-index: 2;
    top: /*-100px*/ -80px;
    transform: scaleY(1);
    transform-origin: 50% 0;
    transition:transform 0.5s ease;
}

.livre:hover div{
     transform: scaleY(1);
}


.encart p {
    font-family: 'Bradley';
    text-align: center;
    font-weight: bolder;
    color: saddlebrown;
}

.encart div{
    margin-left: -108px;
    width: 150px; /*taille des encarts*/
    position: absolute;
    z-index: 2;
    top: /*-100px*/ -80px;
}

#blog_survol div{
    padding: 0px 10px;
    text-transform:inherit;
    line-height: 20px;
    height: auto; 
    background-color: rgba(255,255,255,.8);
    font-family: 'Maiandra';
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    color: #0f0d07;
    text-shadow: 0px 1px 1px rgba(255,255,255,.2), 0px -1px 1px rgba(0,0,0,.7), 1px 0px 1px rgba(255,255,255,.2), -1px 0px 1px rgba(0,0,0,.7);
    border: 2px #0f0d07 solid;
    box-shadow: 15px 20px 15px #000;
    transform: rotate(-1deg);
    border-radius: 50px;
}

#blog_survol li{
    text-align: justify;
    padding-right: 30px;
}

.articles_survol div{
    padding: 0 10px 10px 10px;
    text-transform:inherit;
    line-height: 20px;
    height: auto; 
    background-color: rgba(255,255,255,.8);
    font-family: 'Maiandra';
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    color: #0f0d07;
    text-shadow: 0px 1px 1px rgba(255,255,255,.2), 0px -1px 1px rgba(0,0,0,.7), 1px 0px 1px rgba(255,255,255,.2), -1px 0px 1px rgba(0,0,0,.7);
    border: 2px #0f0d07 solid;
    box-shadow: 15px 20px 15px #000;
    border-radius: 20px;
}

#blog_intro_survol div{
    padding: 15px 10px 5px 10px;
    text-transform:inherit;
    line-height: 20px;
    height: auto; 
    background-color: rgba(255,255,255,.8);
    font-family: 'Maiandra';
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    color: #0f0d07;
    text-shadow: 0px 1px 1px rgba(255,255,255,.2), 0px -1px 1px rgba(0,0,0,.7), 1px 0px 1px rgba(255,255,255,.2), -1px 0px 1px rgba(0,0,0,.7);
    border: 2px #0f0d07 solid;
    box-shadow: 15px 20px 15px #000;
    transform: rotate(-1deg);
    border-radius: 50px;
}

#blog_intro_survol li{
    text-align: justify;
    padding-right: 30px;
}

#mentions_survol div{
    padding: 15px 10px 15px 10px;
    text-transform:inherit;
    line-height: 20px;
    height: auto; 
    background-color: rgba(255,255,255,.8);
    font-family: 'Maiandra';
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    color: #0f0d07;
    text-shadow: 0px 1px 1px rgba(255,255,255,.2), 0px -1px 1px rgba(0,0,0,.7), 1px 0px 1px rgba(255,255,255,.2), -1px 0px 1px rgba(0,0,0,.7);
    border: 2px #0f0d07 solid;
    box-shadow: 15px 20px 15px #000;
    transform: rotate(-1deg);
    border-radius: 50px;
}

#mentions_intro_survol div{
    padding: 15px 10px 5px 10px;
    text-transform:inherit;
    line-height: 20px;
    height: auto; 
    background-color: rgba(255,255,255,.8);
    font-family: 'Maiandra';
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    color: #0f0d07;
    text-shadow: 0px 1px 1px rgba(255,255,255,.2), 0px -1px 1px rgba(0,0,0,.7), 1px 0px 1px rgba(255,255,255,.2), -1px 0px 1px rgba(0,0,0,.7);
    border: 2px #0f0d07 solid;
    box-shadow: 15px 20px 15px #000;
    transform: rotate(-1deg);
    border-radius: 50px;
}

#mentions_intro_survol li{
    text-align: justify;
    padding-right: 30px;
}

#tarifs_survol div{
    padding: 20px 10px;
    text-transform:inherit;
    line-height: 20px;
    height: auto; 
    background-color: rgba(255,255,255,.8);
    font-family: 'Maiandra';
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    color: #0f0d07;
    text-shadow: 0px 1px 1px rgba(255,255,255,.2), 0px -1px 1px rgba(0,0,0,.7), 1px 0px 1px rgba(255,255,255,.2), -1px 0px 1px rgba(0,0,0,.7);
    border: 2px #0f0d07 solid;
    box-shadow: 15px 20px 15px #000;
    transform: rotate(-1deg);
    border-radius: 50px;
}

#tarifs_survol li{
    text-align: justify;
    padding-right: 30px;
}

#photos_gauche {
    position: absolute;
    z-index: 1;
    margin-left: 198px;
    top: 186px;
} 
#photos_gauche img {
    width: 90px;
    height: 95px;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    transform: perspective(1000px) rotateX(35deg) rotateZ(-62deg);
    border: 8px #f8f4e8 solid;
    border-bottom: 18px #f8f4e8 solid;
    box-shadow: 0 2px 3px #000;
    filter: sepia(80%);
}

#photos_milieu {
    position: absolute;
    z-index: 1;
    margin-left: 224px;
    top: 170px;
} 
#photos_milieu img {
    width: 85px;
    height: 80px;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    transform: perspective(1000px) rotateX(25deg) rotateZ(-45deg);
    border: 8px #f8f4e8 solid;
    border-bottom: 18px #f8f4e8 solid;
    box-shadow: 0 2px 3px #000;
    filter: sepia(80%);
}

#photos_droite {
    position: absolute;
    z-index: 1;
    margin-left: 294px;
    top: 160px;
} 
#photos_droite img {
    width: 87px;
    height: 82px;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    transform: perspective(1000px) rotateX(20deg) rotateZ(-4deg);
    border: 8px #f8f4e8 solid;
    border-bottom: 18px #f8f4e8 solid;
    box-shadow: 2px 2px 3px #000;
    filter: sepia(90%);
}

.top {
    animation-name: photosFadeInOut;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
.top:hover {opacity:0;}

#droite {animation-duration: 4.8s}
#milieu {animation-duration: 6.5s}
#gauche {animation-duration: 8.2s}

@keyframes photosFadeInOut {
    0% {opacity:1;}
    15% {opacity:0,5;}
    85% {opacity:0,5;}
    100% {opacity:0;}
}

@keyframes hide {
    0%,99% {opacity:1;}
    100% {opacity:0;}
}

#flame_1{
  top: 717px;
  margin-left: 508px;
  position:absolute;
  z-index: 1;
  transform-origin:center bottom;
  animation-name: flicker;
  animation-duration:3ms;
  animation-delay:200ms;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

#flame_2{
  top: 702px;
  margin-left: 641px;
  position:absolute;
    z-index: 1;
  transform-origin:center bottom;
  animation-name: flicker;
  animation-duration:3ms;
  animation-delay:200ms;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.flame{
  top:0;
  position:absolute;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  border-top-left-radius: 50%;
  transform:rotate(135deg) ;
}

.red1{
  left:1px;
  width: 4px;
  height: 4px;
  background:OrangeRed;
  box-shadow: 0px 0px 2px 2px OrangeRed;
}

.orange1{
  left:2px; 
  width: 3px;
  height: 3px;
  background:orange;
  box-shadow: 0px 0px 2px 2px orange;
}

.yellow1{
  left:2px; 
  width: 2px;
  height: 2px;
  background:gold;
  box-shadow: 0px 0px 2px 2px gold;
}

.white1{
  left:3px; 
  top:-2px;
  width: 1px;
  height: 1px;
  background:white;
  box-shadow: 0px 0px 2px 2px white;
}

.red2{
  left:1px;
  width: 3px;
  height: 3px;
  background:OrangeRed;
  box-shadow: 0px 0px 2px 2px OrangeRed;
}

.orange2{
  left:2px; 
  width: 2px;
  height: 2px;
  background:orange;
  box-shadow: 0px 0px 2px 2px orange;
}

.yellow2{
  left:2px; 
  width: 1px;
  height: 1px;
  background:gold;
  box-shadow: 0px 0px 2px 2px gold;
}

.circle{
  border-radius: 30%;
  position:absolute;  
}

.blue{
  width: 1px;
  height: 1px;
  left:3px;
  top:-1px; 
  background: SlateBlue;
  box-shadow: 0px 0px 2px 1px SlateBlue;
}

.black{
  width: 1px;
  height: 1px;
  left:3px;
  top:-2px;  
  background: black;
  box-shadow: 0px 0px 2px 1px black;
}

@keyframes flicker{
  0%   {transform: rotate(-5deg);}
  20%  {transform: rotate(5deg);}
  40%  {transform: rotate(-5deg);}
  60%  {transform: rotate(5deg) scaleY(1.2);}
  80%  {transform: rotate(-10deg) scaleY(0.8);}
  100% {transform: rotate(5deg);}
}


#blinking-glow {
  position: absolute;
  z-index: 0;
  width: 100px;
  height: 180px;
  margin-left: 955px;
  top: 680px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #ff6000;
  -webkit-filter: blur(50px);
  -moz-filter: blur(60px);
  -o-filter: blur(60px);
  -ms-filter: blur(60px);
  filter: blur(60px);
  animation: blinkIt .1s infinite;
}

@keyframes blinkIt {
  50% { opacity: .8;}
}

#particle-container{
    position: absolute;
    margin-left: -375px;
}

.particle {
  position: absolute;
  border-radius: 50%;
}

@-webkit-keyframes particle-animation-1 {
  100% {
    transform: translate3d(90vw, 34vh, 95px);
  }
}

@keyframes particle-animation-1 {
  100% {
    transform: translate3d(90vw, 34vh, 95px);
  }
}
.particle:nth-child(1) {
  -webkit-animation: particle-animation-1 60s infinite;
          animation: particle-animation-1 60s infinite;
  opacity: 0.2;
  height: 10px;
  width: 10px;
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s;
  transform: translate3d(58vw, 80vh, 94px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-2 {
  100% {
    transform: translate3d(76vw, 90vh, 30px);
  }
}

@keyframes particle-animation-2 {
  100% {
    transform: translate3d(76vw, 90vh, 30px);
  }
}
.particle:nth-child(2) {
  -webkit-animation: particle-animation-2 60s infinite;
          animation: particle-animation-2 60s infinite;
  opacity: 0.76;
  height: 8px;
  width: 8px;
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s;
  transform: translate3d(13vw, 43vh, 81px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-3 {
  100% {
    transform: translate3d(78vw, 1vh, 64px);
  }
}

@keyframes particle-animation-3 {
  100% {
    transform: translate3d(78vw, 1vh, 64px);
  }
}
.particle:nth-child(3) {
  -webkit-animation: particle-animation-3 60s infinite;
          animation: particle-animation-3 60s infinite;
  opacity: 0.45;
  height: 7px;
  width: 7px;
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s;
  transform: translate3d(55vw, 16vh, 8px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-4 {
  100% {
    transform: translate3d(11vw, 71vh, 63px);
  }
}

@keyframes particle-animation-4 {
  100% {
    transform: translate3d(11vw, 71vh, 63px);
  }
}
.particle:nth-child(4) {
  -webkit-animation: particle-animation-4 60s infinite;
          animation: particle-animation-4 60s infinite;
  opacity: 0.57;
  height: 9px;
  width: 9px;
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s;
  transform: translate3d(56vw, 67vh, 66px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-5 {
  100% {
    transform: translate3d(33vw, 19vh, 78px);
  }
}

@keyframes particle-animation-5 {
  100% {
    transform: translate3d(33vw, 19vh, 78px);
  }
}
.particle:nth-child(5) {
  -webkit-animation: particle-animation-5 60s infinite;
          animation: particle-animation-5 60s infinite;
  opacity: 0.42;
  height: 7px;
  width: 7px;
  -webkit-animation-delay: -1s;
          animation-delay: -1s;
  transform: translate3d(40vw, 61vh, 29px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-6 {
  100% {
    transform: translate3d(67vw, 75vh, 42px);
  }
}

@keyframes particle-animation-6 {
  100% {
    transform: translate3d(67vw, 75vh, 42px);
  }
}
.particle:nth-child(6) {
  -webkit-animation: particle-animation-6 60s infinite;
          animation: particle-animation-6 60s infinite;
  opacity: 0.66;
  height: 8px;
  width: 8px;
  -webkit-animation-delay: -1.2s;
          animation-delay: -1.2s;
  transform: translate3d(43vw, 20vh, 51px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-7 {
  100% {
    transform: translate3d(40vw, 88vh, 97px);
  }
}

@keyframes particle-animation-7 {
  100% {
    transform: translate3d(40vw, 88vh, 97px);
  }
}
.particle:nth-child(7) {
  -webkit-animation: particle-animation-7 60s infinite;
          animation: particle-animation-7 60s infinite;
  opacity: 0.46;
  height: 7px;
  width: 7px;
  -webkit-animation-delay: -1.4s;
          animation-delay: -1.4s;
  transform: translate3d(77vw, 19vh, 60px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-8 {
  100% {
    transform: translate3d(38vw, 55vh, 88px);
  }
}

@keyframes particle-animation-8 {
  100% {
    transform: translate3d(38vw, 55vh, 88px);
  }
}
.particle:nth-child(8) {
  -webkit-animation: particle-animation-8 60s infinite;
          animation: particle-animation-8 60s infinite;
  opacity: 0.04;
  height: 10px;
  width: 10px;
  -webkit-animation-delay: -1.6s;
          animation-delay: -1.6s;
  transform: translate3d(15vw, 50vh, 12px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-9 {
  100% {
    transform: translate3d(63vw, 3vh, 37px);
  }
}

@keyframes particle-animation-9 {
  100% {
    transform: translate3d(63vw, 3vh, 37px);
  }
}
.particle:nth-child(9) {
  -webkit-animation: particle-animation-9 60s infinite;
          animation: particle-animation-9 60s infinite;
  opacity: 0.28;
  height: 9px;
  width: 9px;
  -webkit-animation-delay: -1.8s;
          animation-delay: -1.8s;
  transform: translate3d(8vw, 47vh, 24px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-10 {
  100% {
    transform: translate3d(31vw, 50vh, 70px);
  }
}

@keyframes particle-animation-10 {
  100% {
    transform: translate3d(31vw, 50vh, 70px);
  }
}
.particle:nth-child(10) {
  -webkit-animation: particle-animation-10 60s infinite;
          animation: particle-animation-10 60s infinite;
  opacity: 0.28;
  height: 7px;
  width: 7px;
  -webkit-animation-delay: -2s;
          animation-delay: -2s;
  transform: translate3d(47vw, 55vh, 82px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-11 {
  100% {
    transform: translate3d(9vw, 42vh, 22px);
  }
}

@keyframes particle-animation-11 {
  100% {
    transform: translate3d(9vw, 42vh, 22px);
  }
}
.particle:nth-child(11) {
  -webkit-animation: particle-animation-11 60s infinite;
          animation: particle-animation-11 60s infinite;
  opacity: 0.92;
  height: 9px;
  width: 9px;
  -webkit-animation-delay: -2.2s;
          animation-delay: -2.2s;
  transform: translate3d(68vw, 34vh, 96px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-12 {
  100% {
    transform: translate3d(55vw, 70vh, 26px);
  }
}

@keyframes particle-animation-12 {
  100% {
    transform: translate3d(55vw, 70vh, 26px);
  }
}
.particle:nth-child(12) {
  -webkit-animation: particle-animation-12 60s infinite;
          animation: particle-animation-12 60s infinite;
  opacity: 0.94;
  height: 7px;
  width: 7px;
  -webkit-animation-delay: -2.4s;
          animation-delay: -2.4s;
  transform: translate3d(40vw, 28vh, 9px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-13 {
  100% {
    transform: translate3d(25vw, 21vh, 69px);
  }
}

@keyframes particle-animation-13 {
  100% {
    transform: translate3d(25vw, 21vh, 69px);
  }
}
.particle:nth-child(13) {
  -webkit-animation: particle-animation-13 60s infinite;
          animation: particle-animation-13 60s infinite;
  opacity: 0.87;
  height: 7px;
  width: 7px;
  -webkit-animation-delay: -2.6s;
          animation-delay: -2.6s;
  transform: translate3d(32vw, 54vh, 98px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-14 {
  100% {
    transform: translate3d(79vw, 89vh, 58px);
  }
}

@keyframes particle-animation-14 {
  100% {
    transform: translate3d(79vw, 89vh, 58px);
  }
}
.particle:nth-child(14) {
  -webkit-animation: particle-animation-14 60s infinite;
          animation: particle-animation-14 60s infinite;
  opacity: 0.06;
  height: 8px;
  width: 8px;
  -webkit-animation-delay: -2.8s;
          animation-delay: -2.8s;
  transform: translate3d(82vw, 85vh, 65px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-15 {
  100% {
    transform: translate3d(23vw, 20vh, 81px);
  }
}

@keyframes particle-animation-15 {
  100% {
    transform: translate3d(23vw, 20vh, 81px);
  }
}
.particle:nth-child(15) {
  -webkit-animation: particle-animation-15 60s infinite;
          animation: particle-animation-15 60s infinite;
  opacity: 0.75;
  height: 10px;
  width: 10px;
  -webkit-animation-delay: -3s;
          animation-delay: -3s;
  transform: translate3d(34vw, 50vh, 13px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-16 {
  100% {
    transform: translate3d(17vw, 82vh, 25px);
  }
}

@keyframes particle-animation-16 {
  100% {
    transform: translate3d(17vw, 82vh, 25px);
  }
}
.particle:nth-child(16) {
  -webkit-animation: particle-animation-16 60s infinite;
          animation: particle-animation-16 60s infinite;
  opacity: 0.62;
  height: 6px;
  width: 6px;
  -webkit-animation-delay: -3.2s;
          animation-delay: -3.2s;
  transform: translate3d(77vw, 52vh, 29px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-17 {
  100% {
    transform: translate3d(54vw, 85vh, 26px);
  }
}

@keyframes particle-animation-17 {
  100% {
    transform: translate3d(54vw, 85vh, 26px);
  }
}
.particle:nth-child(17) {
  -webkit-animation: particle-animation-17 60s infinite;
          animation: particle-animation-17 60s infinite;
  opacity: 0.02;
  height: 9px;
  width: 9px;
  -webkit-animation-delay: -3.4s;
          animation-delay: -3.4s;
  transform: translate3d(34vw, 42vh, 22px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-18 {
  100% {
    transform: translate3d(72vw, 37vh, 46px);
  }
}

@keyframes particle-animation-18 {
  100% {
    transform: translate3d(72vw, 37vh, 46px);
  }
}
.particle:nth-child(18) {
  -webkit-animation: particle-animation-18 60s infinite;
          animation: particle-animation-18 60s infinite;
  opacity: 0.89;
  height: 9px;
  width: 9px;
  -webkit-animation-delay: -3.6s;
          animation-delay: -3.6s;
  transform: translate3d(80vw, 9vh, 53px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-19 {
  100% {
    transform: translate3d(77vw, 31vh, 19px);
  }
}

@keyframes particle-animation-19 {
  100% {
    transform: translate3d(77vw, 31vh, 19px);
  }
}
.particle:nth-child(19) {
  -webkit-animation: particle-animation-19 60s infinite;
          animation: particle-animation-19 60s infinite;
  opacity: 0.92;
  height: 6px;
  width: 6px;
  -webkit-animation-delay: -3.8s;
          animation-delay: -3.8s;
  transform: translate3d(18vw, 41vh, 74px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-20 {
  100% {
    transform: translate3d(73vw, 11vh, 10px);
  }
}

@keyframes particle-animation-20 {
  100% {
    transform: translate3d(73vw, 11vh, 10px);
  }
}
.particle:nth-child(20) {
  -webkit-animation: particle-animation-20 60s infinite;
          animation: particle-animation-20 60s infinite;
  opacity: 0.25;
  height: 9px;
  width: 9px;
  -webkit-animation-delay: -4s;
          animation-delay: -4s;
  transform: translate3d(40vw, 38vh, 41px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-21 {
  100% {
    transform: translate3d(17vw, 82vh, 64px);
  }
}

@keyframes particle-animation-21 {
  100% {
    transform: translate3d(17vw, 82vh, 64px);
  }
}
.particle:nth-child(21) {
  -webkit-animation: particle-animation-21 60s infinite;
          animation: particle-animation-21 60s infinite;
  opacity: 0.89;
  height: 10px;
  width: 10px;
  -webkit-animation-delay: -4.2s;
          animation-delay: -4.2s;
  transform: translate3d(34vw, 14vh, 57px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-22 {
  100% {
    transform: translate3d(74vw, 43vh, 20px);
  }
}

@keyframes particle-animation-22 {
  100% {
    transform: translate3d(74vw, 43vh, 20px);
  }
}
.particle:nth-child(22) {
  -webkit-animation: particle-animation-22 60s infinite;
          animation: particle-animation-22 60s infinite;
  opacity: 0.11;
  height: 10px;
  width: 10px;
  -webkit-animation-delay: -4.4s;
          animation-delay: -4.4s;
  transform: translate3d(36vw, 65vh, 88px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-23 {
  100% {
    transform: translate3d(55vw, 83vh, 27px);
  }
}

@keyframes particle-animation-23 {
  100% {
    transform: translate3d(55vw, 83vh, 27px);
  }
}
.particle:nth-child(23) {
  -webkit-animation: particle-animation-23 60s infinite;
          animation: particle-animation-23 60s infinite;
  opacity: 0.22;
  height: 7px;
  width: 7px;
  -webkit-animation-delay: -4.6s;
          animation-delay: -4.6s;
  transform: translate3d(71vw, 24vh, 11px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-24 {
  100% {
    transform: translate3d(86vw, 3vh, 35px);
  }
}

@keyframes particle-animation-24 {
  100% {
    transform: translate3d(86vw, 3vh, 35px);
  }
}
.particle:nth-child(24) {
  -webkit-animation: particle-animation-24 60s infinite;
          animation: particle-animation-24 60s infinite;
  opacity: 0.96;
  height: 7px;
  width: 7px;
  -webkit-animation-delay: -4.8s;
          animation-delay: -4.8s;
  transform: translate3d(43vw, 77vh, 60px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-25 {
  100% {
    transform: translate3d(49vw, 57vh, 25px);
  }
}

@keyframes particle-animation-25 {
  100% {
    transform: translate3d(49vw, 57vh, 25px);
  }
}
.particle:nth-child(25) {
  -webkit-animation: particle-animation-25 60s infinite;
          animation: particle-animation-25 60s infinite;
  opacity: 0.47;
  height: 9px;
  width: 9px;
  -webkit-animation-delay: -5s;
          animation-delay: -5s;
  transform: translate3d(39vw, 65vh, 47px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-26 {
  100% {
    transform: translate3d(1vw, 48vh, 89px);
  }
}

@keyframes particle-animation-26 {
  100% {
    transform: translate3d(1vw, 48vh, 89px);
  }
}
.particle:nth-child(26) {
  -webkit-animation: particle-animation-26 60s infinite;
          animation: particle-animation-26 60s infinite;
  opacity: 0.6;
  height: 7px;
  width: 7px;
  -webkit-animation-delay: -5.2s;
          animation-delay: -5.2s;
  transform: translate3d(64vw, 2vh, 38px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-27 {
  100% {
    transform: translate3d(50vw, 49vh, 35px);
  }
}

@keyframes particle-animation-27 {
  100% {
    transform: translate3d(50vw, 49vh, 35px);
  }
}
.particle:nth-child(27) {
  -webkit-animation: particle-animation-27 60s infinite;
          animation: particle-animation-27 60s infinite;
  opacity: 0.71;
  height: 9px;
  width: 9px;
  -webkit-animation-delay: -5.4s;
          animation-delay: -5.4s;
  transform: translate3d(55vw, 65vh, 67px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-28 {
  100% {
    transform: translate3d(1vw, 74vh, 51px);
  }
}

@keyframes particle-animation-28 {
  100% {
    transform: translate3d(1vw, 74vh, 51px);
  }
}
.particle:nth-child(28) {
  -webkit-animation: particle-animation-28 60s infinite;
          animation: particle-animation-28 60s infinite;
  opacity: 0.2;
  height: 8px;
  width: 8px;
  -webkit-animation-delay: -5.6s;
          animation-delay: -5.6s;
  transform: translate3d(69vw, 5vh, 90px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-29 {
  100% {
    transform: translate3d(82vw, 64vh, 43px);
  }
}

@keyframes particle-animation-29 {
  100% {
    transform: translate3d(82vw, 64vh, 43px);
  }
}
.particle:nth-child(29) {
  -webkit-animation: particle-animation-29 60s infinite;
          animation: particle-animation-29 60s infinite;
  opacity: 0.48;
  height: 10px;
  width: 10px;
  -webkit-animation-delay: -5.8s;
          animation-delay: -5.8s;
  transform: translate3d(28vw, 82vh, 94px);
  background: rgba(255,255,255,.2);
}

@-webkit-keyframes particle-animation-30 {
  100% {
    transform: translate3d(50vw, 37vh, 48px);
  }
}

@keyframes particle-animation-30 {
  100% {
    transform: translate3d(50vw, 37vh, 48px);
  }
}
.particle:nth-child(30) {
  -webkit-animation: particle-animation-30 60s infinite;
          animation: particle-animation-30 60s infinite;
  opacity: 0.8;
  height: 8px;
  width: 8px;
  -webkit-animation-delay: -6s;
          animation-delay: -6s;
  transform: translate3d(70vw, 51vh, 83px);
  background: rgba(255,255,255,.2);
}


#flex {
  position: absolute;
    z-index: 1;
  top: 145px;
  margin-left: 720px;
    -webkit-transform: perspective(1000px) rotateX(35deg);
    -moz-transform: perspective(1000px) rotateX(35deg);
    -ms-transform: perspective(1000px) rotateX(35deg);
  transform: perspective(1000px) rotateX(35deg);
    -webkit-backface-visibility: hidden;
}
.iris-container {
  font-size: 4.7em;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    -ms-perspective: 1000px;
  perspective: 1000px;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  overflow: hidden;
  border-radius: 100%;
  width: 1em;
  height: 1em;
  display: inline-block;
  position: relative;
  margin: 0 auto;
  color: #000;
  border: 5px solid #111;
  box-shadow: 0 5px 20px -10px;
    -webkit-backface-visibility: hidden;
}
.iris {
  width: 1em;
  height: 1em;
  background-size: 100% auto;
  border-radius: 100%;
  position: absolute;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;    
  transform-style: preserve-3d;
  left: 0;
  top: 0;
    -webkit-backface-visibility: hidden;
}

:root {
  --rotation:0;
}

.blade {
  background: #333;
  width: 1em;
  height: 0.5em;
  position: absolute;
  transform-origin: 0.5em 0.5em;
  --rotation:0;
  box-shadow: 0 0 2px, 0 0 2px inset;
    -webkit-backface-visibility: hidden;
}
.iris-container.animated .blade {
  animation: clickBlades 5s ease-in-out infinite;
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(1) {
  --rotation:calc(1 * (1turn/12));
  -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(2) {
  --rotation:calc(2 * (1turn/12));
      -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
  transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(3) {
  --rotation:calc(3 * (1turn/12));
      -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
  transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(4) {
  --rotation:calc(4 * (1turn/12));
      -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
  transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(5) {
  --rotation:calc(5 * (1turn/12));
      -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
  transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(6) {
  --rotation:calc(6 * (1turn/12));
      -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
  transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(7) {
  --rotation:calc(7 * (1turn/12));
      -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
  transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(8) {
  --rotation:calc(8 * (1turn/12));
      -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
  transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(9) {
  --rotation:calc(9 * (1turn/12));
      -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
  transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(10) {
  --rotation:calc(10 * (1turn/12));
      -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
  transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(11) {
  --rotation:calc(11 * (1turn/12));
      -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
  transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}
.blade:nth-child(12) {
  --rotation:calc(12 * (1turn/12));
      -webkit-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -moz-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -ms-transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
  transform: rotateZ(var(--rotation)) rotateY(-10deg) scaleX(1.5) translateZ(100px);
    -webkit-backface-visibility: hidden;
}

@keyframes clickBlades {
  0%, 40% {
    -webkit-transform: rotate(var(--rotation)) rotateY(-10deg) translateY(0) scaleX(1.5) translateZ(100px);
      -moz-transform: rotate(var(--rotation)) rotateY(-10deg) translateY(0) scaleX(1.5) translateZ(100px);
      -ms-transform: rotate(var(--rotation)) rotateY(-10deg) translateY(0) scaleX(1.5) translateZ(100px);
      transform: rotate(var(--rotation)) rotateY(-10deg) translateY(0) scaleX(1.5) translateZ(100px);
      -webkit-backface-visibility: hidden;
  }
  20% {
    -webkit-transform: rotate(var(--rotation)) rotateY(-10deg) translateY(-80%) scaleX(1.5) translateZ(100px);
      -moz-transform: rotate(var(--rotation)) rotateY(-10deg) translateY(-80%) scaleX(1.5) translateZ(100px);
      -ms-transform: rotate(var(--rotation)) rotateY(-10deg) translateY(-80%) scaleX(1.5) translateZ(100px);
      transform: rotate(var(--rotation)) rotateY(-10deg) translateY(-80%) scaleX(1.5) translateZ(100px);
      -webkit-backface-visibility: hidden;
  }
}


/* ///////////////////////////////////////////////////

HARDCOVER
Table of Contents

1. container
2. background & color
3. opening cover, back cover and pages
4. position, transform y transition
5. events
6. Bonus
	- Cover design
	- Ribbon
	- Figcaption
7. mini-reset

/////////////////////////////////////////////////////*/

::before,
::after {
	content: "";
}

figure ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.btn {
	display: inline-block;
	text-transform: uppercase;
	margin-top: 15px;
    margin-left: 18px;
	font-size: 0.8em;
	font-weight: 700;
    font-family: "Maiandra";
	text-align: center;
    color: black;
    text-decoration: none;
}

.btn:hover {
	border-color: #16a085;
	color: #462a08;
}

/*
	1. container
*/

.book {
	position: relative;
    top: 0px;
    margin-left: 300px;
    z-index: 98;
	width: 65px; 
	height: 125px;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	perspective: 1000px;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
    box-shadow: 5px 5px 5px #000;
    animation-name: shadow;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

@keyframes shadow {
  from {box-shadow: 5px 5px 5px #000;}
  to {box-shadow: 5px 5px 5px darkgreen;}
}

/*
	2. background & color
*/

/* HARDCOVER FRONT */
.hardcover_front li:first-child {
	background-color: #04311b;
    background-image: url(../images/arbre_small.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* reverse */
.hardcover_front li:last-child {
	background: #888;
}

/* HARDCOVER BACK */
.hardcover_back li:first-child {
	background: #888;
}

/* reverse */
.hardcover_back li:last-child {
	background: #fffbec;
}

.book_spine li:first-child {
	background: grey;
}
.book_spine li:last-child {
	background: #111;
}

/* thickness of cover */
.hardcover_front li:first-child:after,
.hardcover_front li:first-child:before,
.hardcover_front li:last-child:after,
.hardcover_front li:last-child:before,
.hardcover_back li:first-child:after,
.hardcover_back li:first-child:before,
.hardcover_back li:last-child:after,
.hardcover_back li:last-child:before,
.book_spine li:first-child:after,
.book_spine li:first-child:before,
.book_spine li:last-child:after,
.book_spine li:last-child:before {
    /*background: #666;*/
}

/* page */
.page > li {
	background: -webkit-linear-gradient(to left, #c7c4c0 0%, #fffbf6 100%);
	background: -moz-linear-gradient(to left, #c7c4c0 0%, #fffbf6 100%);
	background: -ms-linear-gradient(to left, #c7c4c0 0%, #fffbf6 100%);
	background: linear-gradient(to left, #c7c4c0 0%, #fffbf6 100%);
	box-shadow: inset 0px -1px 2px rgba(50, 50, 50, 0.5), inset -1px 0px 1px rgba(150, 150, 150, 0.5);
	border-radius: 0px 5px 5px 0px;
}

/*
	3. opening cover, back cover and pages
*/

.hardcover_front {
	-webkit-transform: rotateY(-34deg) translateZ(8px);
	-moz-transform: rotateY(-34deg) translateZ(8px);
	transform: rotateY(-34deg) translateZ(8px);
	z-index: 100;
}

.hardcover_back {
	-webkit-transform: rotateY(-15deg) translateZ(-8px);
	-moz-transform: rotateY(-15deg) translateZ(-8px);
	transform: rotateY(-15deg) translateZ(-8px);
}

.page li:nth-child(1) {
	-webkit-transform: rotateY(-28deg);
	-moz-transform: rotateY(-28deg);
	transform: rotateY(-28deg);
}

.page li:nth-child(2) {
	-webkit-transform: rotateY(-30deg);
	-moz-transform: rotateY(-30deg);
	transform: rotateY(-30deg);
}

.page li:nth-child(3) {
	-webkit-transform: rotateY(-32deg);
	-moz-transform: rotateY(-32deg);
	transform: rotateY(-32deg);
}

.page li:nth-child(4) {
	-webkit-transform: rotateY(-34deg);
	-moz-transform: rotateY(-34deg);
	transform: rotateY(-34deg);
}

.page li:nth-child(5) {
	-webkit-transform: rotateY(-36deg);
	-moz-transform: rotateY(-36deg);
	transform: rotateY(-36deg);
}

/*
	4. position, transform & transition
*/

.hardcover_front,
.hardcover_back,
.book_spine,
.hardcover_front li,
.hardcover_back li,
.book_spine li {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.hardcover_front,
.hardcover_back {
	-webkit-transform-origin: 0% 100%;
	-moz-transform-origin: 0% 100%;
	transform-origin: 0% 100%;
}

.hardcover_front {
	-webkit-transition: all 0.8s ease, z-index 0.6s;
	-moz-transition: all 0.8s ease, z-index 0.6s;
	transition: all 0.8s ease, z-index 0.6s;
}

/* HARDCOVER front */
.hardcover_front li:first-child {
	cursor: default;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	-webkit-transform: translateZ(2px);
	-moz-transform: translateZ(2px);
	transform: translateZ(2px);
}

.hardcover_front li:last-child {
	-webkit-transform: rotateY(180deg) translateZ(2px);
	-moz-transform: rotateY(180deg) translateZ(2px);
	transform: rotateY(180deg) translateZ(2px);
}

/* HARDCOVER back */
.hardcover_back li:first-child {
	-webkit-transform: translateZ(2px);
	-moz-transform: translateZ(2px);
	transform: translateZ(2px);
}

.hardcover_back li:last-child {
	-webkit-transform: translateZ(-2px);
	-moz-transform: translateZ(-2px);
	transform: translateZ(-2px);
}

/* thickness of cover */
.hardcover_front li:first-child:after,
.hardcover_front li:first-child:before,
.hardcover_front li:last-child:after,
.hardcover_front li:last-child:before,
.hardcover_back li:first-child:after,
.hardcover_back li:first-child:before,
.hardcover_back li:last-child:after,
.hardcover_back li:last-child:before,
.book_spine li:first-child:after,
.book_spine li:first-child:before,
.book_spine li:last-child:after,
.book_spine li:last-child:before {
	position: absolute;
	top: 0;
	left: 0;
}

/* HARDCOVER front */
.hardcover_front li:first-child:after,
.hardcover_front li:first-child:before {
	width: 4px;
	height: 100%;
}

.hardcover_front li:first-child:after {
	-webkit-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	-moz-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	transform: rotateY(90deg) translateZ(-2px) translateX(2px);
}

.hardcover_front li:first-child:before {
	-webkit-transform: rotateY(90deg) translateZ(158px) translateX(2px);
	-moz-transform: rotateY(90deg) translateZ(158px) translateX(2px);
	transform: rotateY(90deg) translateZ(158px) translateX(2px);
}

.hardcover_front li:last-child:after,
.hardcover_front li:last-child:before {
	width: 4px;
	height: 100px;
}

.hardcover_front li:last-child:after {
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(-2px) translateY(-78px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(-2px) translateY(-78px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(-2px) translateY(-78px);
}
/*.hardcover_front li:last-child:before {
	box-shadow: 0px 0px 10px 5px #333;
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(-2px) translateY(-78px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(-2px) translateY(-78px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(-2px) translateY(-78px);
}

/* thickness of cover */

.hardcover_back li:first-child:after,
.hardcover_back li:first-child:before {
	width: 4px;
	height: 100%;
}

.hardcover_back li:first-child:after {
	-webkit-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	-moz-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	transform: rotateY(90deg) translateZ(-2px) translateX(2px);
}
.hardcover_back li:first-child:before {
	-webkit-transform: rotateY(90deg) translateZ(158px) translateX(2px);
	-moz-transform: rotateY(90deg) translateZ(158px) translateX(2px);
	transform: rotateY(90deg) translateZ(158px) translateX(2px);
}

.hardcover_back li:last-child:after,
.hardcover_back li:last-child:before {
	width: 4px;
	height: 100px;
}

.hardcover_back li:last-child:after {
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(2px) translateY(-78px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(2px) translateY(-78px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(2px) translateY(-78px);
}

/*.hardcover_back li:last-child:before {
	box-shadow: 10px -1px 80px 20px #666;
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(2px) translateY(-78px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(2px) translateY(-78px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(2px) translateY(-78px);
}

/* BOOK SPINE */
.book_spine {
	-webkit-transform: rotateY(60deg) translateX(-5px) translateZ(-12px);
	-moz-transform: rotateY(60deg) translateX(-5px) translateZ(-12px);
	transform: rotateY(60deg) translateX(-5px) translateZ(-12px);
	width: 20px;
	z-index: 0;
}

.book_spine li:first-child {
	-webkit-transform: translateZ(2px);
	-moz-transform: translateZ(2px);
	transform: translateZ(2px);
}

.book_spine li:last-child {
	-webkit-transform: translateZ(-2px);
	-moz-transform: translateZ(-2px);
	transform: translateZ(-2px);
}

/* thickness of book spine */
.book_spine li:first-child:after,
.book_spine li:first-child:before {
	width: 4px;
	height: 100%;
}

.book_spine li:first-child:after {
	-webkit-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	-moz-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	transform: rotateY(90deg) translateZ(-2px) translateX(2px);
}

.book_spine li:first-child:before {
	-webkit-transform: rotateY(-90deg) translateZ(-12px);
	-moz-transform: rotateY(-90deg) translateZ(-12px);
	transform: rotateY(-90deg) translateZ(-12px);
}

.book_spine li:last-child:after,
.book_spine li:last-child:before {
	width: 4px;
	height: 16px;
}

.book_spine li:last-child:after {
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(8px) translateX(2px) translateY(-6px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(8px) translateX(2px) translateY(-6px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(8px) translateX(2px) translateY(-6px);
}

/*.book_spine li:last-child:before {
	box-shadow: 5px -1px 100px 40px rgba(0, 0, 0, 0.2);
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-210px) translateX(2px) translateY(-6px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(-210px) translateX(2px) translateY(-6px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(-210px) translateX(2px) translateY(-6px);
}*/

.page,
.page > li {
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.page {
	width: 100%;
	height: 98%;
	top: 1%;
	left: 3%;
	z-index: 10;
}

.page > li {
	width: 100%;
	height: 100%;
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	transform-origin: left center;
	-webkit-transition-property: transform;
	-moz-transition-property: transform;
	transition-property: transform;
	-webkit-transition-timing-function: ease;
	-moz-transition-timing-function: ease;
	transition-timing-function: ease;
}

.page > li:nth-child(1) {
	-webkit-transition-duration: 0.6s;
	-moz-transition-duration: 0.6s;
	transition-duration: 0.6s;
}

.page > li:nth-child(2) {
	-webkit-transition-duration: 0.6s;
	-moz-transition-duration: 0.6s;
	transition-duration: 0.6s;
}

.page > li:nth-child(3) {
	-webkit-transition-duration: 0.4s;
	-moz-transition-duration: 0.4s;
	transition-duration: 0.4s;
}

.page > li:nth-child(4) {
	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

.page > li:nth-child(5) {
	-webkit-transition-duration: 0.6s;
	-moz-transition-duration: 0.6s;
	transition-duration: 0.6s;
}

/*
	5. events
*/

.book:hover > .hardcover_front {
	-webkit-transform: rotateY(-145deg) translateZ(0);
	-moz-transform: rotateY(-145deg) translateZ(0);
	transform: rotateY(-145deg) translateZ(0);
	z-index: 0;
}

.book:hover > .page li:nth-child(1) {
	-webkit-transform: rotateY(-30deg);
	-moz-transform: rotateY(-30deg);
	transform: rotateY(-30deg);
	-webkit-transition-duration: 1.5s;
	-moz-transition-duration: 1.5s;
	transition-duration: 1.5s;
}

.book:hover > .page li:nth-child(2) {
	-webkit-transform: rotateY(-35deg);
	-moz-transform: rotateY(-35deg);
	transform: rotateY(-35deg);
	-webkit-transition-duration: 1.8s;
	-moz-transition-duration: 1.8s;
	transition-duration: 1.8s;
}

.book:hover > .page li:nth-child(3) {
	-webkit-transform: rotateY(-118deg);
	-moz-transform: rotateY(-118deg);
	transform: rotateY(-118deg);
	-webkit-transition-duration: 1.6s;
	-moz-transition-duration: 1.6s;
	transition-duration: 1.6s;
}

.book:hover > .page li:nth-child(4) {
	-webkit-transform: rotateY(-130deg);
	-moz-transform: rotateY(-130deg);
	transform: rotateY(-130deg);
	-webkit-transition-duration: 1.4s;
	-moz-transition-duration: 1.4s;
	transition-duration: 1.4s;
}

.book:hover > .page li:nth-child(5) {
	-webkit-transform: rotateY(-140deg);
	-moz-transform: rotateY(-140deg);
	transform: rotateY(-140deg);
	-webkit-transition-duration: 1.2s;
	-moz-transition-duration: 1.2s;
	transition-duration: 1.2s;
}


