@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');
#rotate404 {
    font-family: 'Lato', sans-serif;
    width: 100%;
    display: block;
    float: left;
    margin-top: 10%;
}
#rotate404 img {
    margin: 20px;
    -webkit-animation-name: shake;
    -webkit-animation-duration: 3000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -moz-animation-name: shake;
    -moz-animation-duration: 3000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: ease-in-out;
    -ms-animation-name: shake;
    -ms-animation-duration: 3000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: ease-in-out;

    animation-name: shake;
    animation-duration: 3000ms;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

    width: 180px;
    margin: -15px -30px;
}
#rotate404 img.tibolli {
    -webkit-animation-name:noshake;
    -ms-animation-name: noshake;
    animation-name: noshake;
}
#rotate404 h1 {
    width: 100%;
    display: block;
    font-size: 200px;
    color:#ff0000;
    margin: auto;
    text-align: center;

    -webkit-animation-name: bounceInDown;
    -webkit-animation-duration: 3000ms;
    -webkit-animation-timing-function: ease-in-out;
    -moz-animation-name: bounceInDown;
    -moz-animation-duration: 3000ms;
    -moz-animation-timing-function: ease-in-out;
    -ms-animation-name: bounceInDown;
    -ms-animation-duration: 3000ms;
    -ms-animation-timing-function: ease-in-out;
}
#rotate404 h1 span {
    margin-top: -20px;
    display: inline-block;
}
#rotate404 h1 span.tibolli {
    color: #12487F;
}
#rotate404 p {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    color: #000;
    margin: 0 auto;
    line-height: 50px;
}
#rotate404 h4{
    width: 100%;
    display: block;
    text-align: center;
    font-size:18px;
    font-weight: 700;
    color: #000;
}
#rotate404 h4 a{
    color: #ff0000;
}

.margin-top-30{
    margin-top: 30px !important;
}

@keyframes bounceInDown{
    0%,60%,75%,90%,to {
        animation-timing-function:cubic-bezier(.215,.61,.355,1)
    }
    0%{opacity:0;transform:translate3d(0px,-300px,50px)}
    60%{opacity:1;transform:translate3d(0,25px,0)}
    75%{transform:translate3d(0,-10px,0)}
    90%{transform:translate3d(0,5px,0)}
    to{transform:none}
}
@-webkit-keyframes shake {
    0%, 100% {-webkit-transform: translateY(0);}
    10%, 30%, 50%, 70%, 90% {-webkit-transform: translateY(-10px);}
    20%, 40%, 60%, 80% {-webkit-transform: translateY(5px);}
}
@keyframes shake {
    0%, 100% {transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {transform: translateY(-10px);}
    20%, 40%, 60%, 80% {transform: translateY(5px);}
}
@-webkit-keyframes noshake {
}
@keyframes noshake {
}