html, body {
    margin: 0;
    padding: 0;
    background: #000;
    width: 100%;
    height: 100%;
    position: relative;
}
body {
    font-family: 'Special Elite';
}

p {
    margin: 0;
    padding: 0;
}

.top, .bottom {
    background: #000;
    position: fixed;
    width: 100%;
    height: 50%;
    cursor: pointer;
    z-index: 2;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    -ms-transition: all .4s ease;
    transition: all .4s ease;
}
.top {
    top: 0;
    margin-top: -10px;
}
.bottom {
    top: 50%;
    left: 0;
}
.wrap-404 {
    display: table;
    width: 100%;
    height: 100%;
    position: relative;
}
.msg-404 {
    display: table-cell;
    vertical-align: middle;
    font-size: 52px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    letter-spacing: 4px;
}
.msg-404 p {
    opacity: 0;
}
.open .top {
    top: -50%;
}
.open .bottom {
    top: 100%;
}
.bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url(../images/bg-distort.gif);
    background-size: cover;
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }
    50% {
        -webkit-transform: scale(0.8);
        -moz-transform: scale(0.8);
        -o-transform: scale(0.8);
        -ms-transform: scale(0.8);
        transform: scale(0.8);
    }
    100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

.pulse {
    -webkit-animation: pulse 1s linear infinite;
    -moz-animation: pulse 1s linear infinite;
    -ms-animation: pulse 1s linear infinite;
    animation: pulse 1s linear infinite;
}

.logo {
    display: inline-block;
    width: 40px;
    height: 46px;
    background: url(../images/hway.png) center center no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0.5;
}

@keyframes movement-up {
    0% {
        margin-top: -10px;
    }
    50% {
        margin-top: -20px;
    }
    100% {
        margin-top: -10px;
    }
}

@keyframes movement-down {
    0% {
        margin-top: 0px;
    }
    50% {
        margin-top: 10px;
    }
    100% {
        margin-top: 0px;
    }
}

.top {
    -webkit-animation: movement-up 1s ease infinite;
    -moz-animation: movement-up 1s ease infinite;
    -ms-animation: movement-up 1s ease infinite;
    animation: movement-up 1s ease infinite;
}
.bottom {
    -webkit-animation: movement-down 1s ease infinite;
    -moz-animation: movement-down 1s ease infinite;
    -ms-animation: movement-down 1s ease infinite;
    animation: movement-down 1s ease infinite;
}

