#animat{
z-index:999;

 animation: logo linear 6s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards; /*when the spec is finished*/

  -webkit-animation: logo linear 6s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/ 

  -moz-animation: logo linear 6s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -moz-animation-fill-mode:forwards; /*FF 5+*/

  -o-animation: logo linear 6s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -o-animation-fill-mode:forwards; /*Not implemented yet*/

  -ms-animation: logo linear 6s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
  -ms-animation-fill-mode:forwards; /*IE 10+*/

}

@keyframes logo{
  0% {
    transform:  translate(40%,50%)  rotate(0deg) ;
  }
  100% {
    transform:  translate(-40%,50%)  rotate(360deg) ;
  }
}

@-moz-keyframes logo{
  0% {
    -moz-transform:  translate(40%,50%)  rotate(0deg) ;
  }
  100% {
    -moz-transform:  translate(-40%,50%)  rotate(360deg) ;
  }
}

@-webkit-keyframes logo {
  0% {
    -webkit-transform:  translate(40%,50%)  rotate(0deg) ;
  }
  100% {
    -webkit-transform:  translate(-40%,50%)  rotate(360deg) ;
  }
}

@-o-keyframes logo {
  0% {
    -o-transform:  translate(40%,50%)  rotate(0deg) ;
  }
  100% {
    -o-transform:  translate(-40%,50%)  rotate(360deg) ;
  }
}

@-ms-keyframes logo {
  0% {
    -ms-transform:  translate(40%,50%)  rotate(0deg) ;
  }
  100% {
    -ms-transform:  translate(-40%,50%)  rotate(360deg) ;
  }
}