body.evolution { 
  /*background: url(../assets/bg.gif);*/
  background: #fff;
}

html { 
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
  position: relative;
  
  background-image: url(../assets/background.jpg);
  background-size: cover;

}

.lang,
#share {
display:block;
width: 60px;
height: 60px;
position: absolute;
left: 0;
top: 0;
z-index: 4;
}
#share {
left: auto;
right: 0;
}

.lang div,
#share div {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 20px;
  color: #7f7f7f;
  z-index: 2;
  font-family: sans-serif;
  left: 15px;
  text-decoration: none;
  padding-bottom: 0;
  border-bottom: 1px solid #7f7f7f;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
#share div {
  padding-bottom: 2px;
  left: auto;
  right: 15px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.eng #share div{
  top: 25px;
  right: 8px;
  font-size: 0.875em;
}

.lang:hover div,
#share:hover div {
  color: #fff;
  border-bottom: 1px solid #fff;
}
#close {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  font-size: 0;
}
#close:hover {
  cursor: pointer;
}
#close:hover .bar {
  background: #fff;
}
.bar {
  display: block;
  width: 28px;
  height: 1px;
  background: #7f7f7f;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  position: absolute;
  left: 15px;
  top: 30px;
}

.bar:nth-child(2) {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

#sharepage {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  background: #292929;
  opacity: 0.9;
  z-index: 5;

  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);

  transition: -webkit-transform 0.2s ease-in;
  transition: transform 0.2s ease-in;

}
#sharepage.open {
   -webkit-transform: translateY(0);
          transform: translateY(0);
}

.sharecontainer {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: auto;
  left: 50%;
  top: 50%;
  -webkit-transform: translate3d(-50%,-50%,0);
          transform: translate3d(-50%,-50%,0);
}
.sharetext {
  width: 220px;
  height: 110px;
  margin: 0 auto 35px;
  font-size: 0;
}
.social {
  width: 272px;
  margin: 0 auto 40px;
  padding: 0;
  text-align: center;
}

/*.social li {
  display: inline-block;
  margin: 0 10px;
  font-size: 0;
}
.social li a {
  display: block;
  width: 48px;
  height: 48px;
}
.social li a img {
  width: 100%;
}*/
.social a,
.social a:hover {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 10px;
  padding: 0!important;
  border-radius: 0!important;
}
.social a span {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.a2a_s_facebook {
  background-image: url(../assets/share-fb.png)!important;
}
.a2a_s_line {
  background-image: url(../assets/share-line.png)!important;
}
.a2a_s_whatsapp {
  background-image: url(../assets/share-whatsapp.png)!important;
}
.a2a_s_email {
  background-image: url(../assets/share-email.png)!important;
}


.border {
  position: absolute;
  background: #292929;
  z-index: 1;
}
.top,
.bottom {
  width: 102%;
  height: 45px;
  top: -1px;
  left: 0;
}
.bottom {
  top: auto;
  bottom: -1px;
  z-index: 3;
}
.left,
.right {
  width: 45px;
  height: 102%;
  top: 0;
  left: -1px;
}
.right {
  right: -1px;
  left: auto;
}


#cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 0;
}

.fast-gradient {
  background: #1e5799;
  background: linear-gradient(135deg,  #1e5799 0%,#ff0000 0%,#ffff00 25%,#27f94e 50%,#2755f9 75%,#ff11ff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#ff11ff',GradientType=1 );
  -webkit-animation: huerotator .2s infinite;

}
.slow-gradient {
  background: linear-gradient(131deg, #f7941e, #f6d537);
  background-size: 400% 400%;
}

#canvas {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

#shake,
#wish {
  background-image: url(../assets/sprite_tc.png);
  text-indent: -9999px;
  z-index: 4;
  position: absolute;
  left: 50%;
}

.eng #shake,
.eng #wish {
  background-image: url(../assets/sprite_en.png);
}

#shake {
  width: 176px;
  height: 90px;
  background-size: 200%;
  background-position: 0 226px;
  margin-left: -88px; 
  margin-top: 40px;

}
#shake.last-shake {
  margin-left: -145px;
  width: 290px;
  height: 50px;
  background-position: 0px 50px;
  background-size: 122%;
  opacity: 1!important;
  pointer-events: none;
}
#shake.second-shake {
  background-position: 0px 137px;
}
.shake{
  -webkit-animation: animationFrames linear 1s infinite;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: animationFrames linear 1s infinite;
  -moz-transform-origin: 50% 50%;
          animation: animationFrames linear 1s infinite;
          transform-origin: 50% 50%;

}

@keyframes animationFrames{
  0% {
    -webkit-transform:  translate(0px,0px)  rotate(0deg) ;
            transform:  translate(0px,0px)  rotate(0deg) ;
  }
  15% {
    -webkit-transform:  translate(-25px,0px)  rotate(-5deg) ;
            transform:  translate(-25px,0px)  rotate(-5deg) ;
  }
  30% {
    -webkit-transform:  translate(20px,0px)  rotate(3deg) ;
            transform:  translate(20px,0px)  rotate(3deg) ;
  }
  45% {
    -webkit-transform:  translate(-15px,0px)  rotate(-3deg) ;
            transform:  translate(-15px,0px)  rotate(-3deg) ;
  }
  60% {
    -webkit-transform:  translate(10px,0px)  rotate(2deg) ;
            transform:  translate(10px,0px)  rotate(2deg) ;
  }
  75% {
    -webkit-transform:  translate(-5px,0px)  rotate(-1deg) ;
            transform:  translate(-5px,0px)  rotate(-1deg) ;
  }
  100% {
    -webkit-transform:  translate(0px,0px)  rotate(0deg) ;
            transform:  translate(0px,0px)  rotate(0deg) ;
  }
}

@-webkit-keyframes animationFrames {
  0% {
    -webkit-transform:  translate(0px,0px)  rotate(0deg) ;
  }
  15% {
    -webkit-transform:  translate(-25px,0px)  rotate(-5deg) ;
  }
  30% {
    -webkit-transform:  translate(20px,0px)  rotate(3deg) ;
  }
  45% {
    -webkit-transform:  translate(-15px,0px)  rotate(-3deg) ;
  }
  60% {
    -webkit-transform:  translate(10px,0px)  rotate(2deg) ;
  }
  75% {
    -webkit-transform:  translate(-5px,0px)  rotate(-1deg) ;
  }
  100% {
    -webkit-transform:  translate(0px,0px)  rotate(0deg) ;
  }
}


#wish {
  bottom: 35px;
  margin-left: -180px;
  width: 360px;
  height: 240px;
  background-position: 0 0px;
  background-size: 100%;
  pointer-events: none;
}

#copyright {
  color: #7f7f7f;
  position: absolute;
  left: 15px;
  bottom: 15px;
  font-size: 0.875em;
  font-family: sans-serif;
  z-index: 10;
}

#copyright a {
  color: #7f7f7f;
  text-decoration: none;
}
#copyright a:hover {
  color: #fff;
}

.hidden {
  opacity: 0;
}

.float-up {
  -webkit-animation: float-up 2s;
          animation: float-up 2s;
}

@-webkit-keyframes float-up {
  0%   { -webkit-transform: translateY(0);}
  10%  { -webkit-transform: translateY(50px);}
  20%  { -webkit-transform: translateY(0px);}
  30%  { -webkit-transform: translateY(50px); }
  70%  { -webkit-transform: translateY(-800px);}
  100%  { -webkit-transform: translateY(0);}
}
@keyframes float-up {
  0%   { -webkit-transform: translateY(0); transform: translateY(0);}
  10%  { -webkit-transform: translateY(50px); transform: translateY(50px);}
  20%  { -webkit-transform: translateY(0px); transform: translateY(0px);}
  30%  { -webkit-transform: translateY(50px); transform: translateY(50px); }
  70%  { -webkit-transform: translateY(-800px); transform: translateY(-800px);}
  100%  { -webkit-transform: translateY(0); transform: translateY(0);}
}

@-webkit-keyframes huerotator {
  0% {
    -webkit-filter: hue-rotate(0deg);
  }

  100% {
    -webkit-filter: hue-rotate(360deg);
  }
}
@keyframes huerotator {
  0% {
    -webkit-filter: hue-rotate(0deg);
            filter: hue-rotate(0deg);
  }

  100% {
    -webkit-filter: hue-rotate(360deg);
            filter: hue-rotate(360deg);
  }
}
