body {
    background-color: #111;
    position: relative;
    left: 45%;
    top: 15px;
    overflow: hidden;
}

#top {
    height: 50px;
    background: #ff9c51;
    box-shadow: 0 0 5px #ff9c51;
    -webkit-animation: top_anim 4.5s infinite;
    animation: top_anim 4.5s infinite;
}

@-webkit-keyframes top_anim {
    0% {
        width: 0px;
    }

    30% {
        width: 250px;
    }

    70% {
        width: 250px;
    }

    100% {
        width: 0px;
    }
}

@keyframes top_anim {
    0% {
        width: 0px;
    }

    30% {
        width: 250px;
    }

    70% {
        width: 250px;
    }

    100% {
        width: 0px;
    }
}

#middle {
    height: 50px;
    background-color: white;
    box-shadow: 0 0 5px white;
    -webkit-animation: middle_anim 4.5s infinite;
    animation: middle_anim 4.5s infinite;
    -webkit-animation-delay: .2s;
    animation-delay: .2s;
}

@-webkit-keyframes middle_anim {
    0% {
        width: 0px;
    }

    30% {
        width: 250px;
    }

    70% {
        width: 250px;
    }

    100% {
        width: 0px;
    }
}

@keyframes middle_anim {
    0% {
        width: 0px;
    }

    30% {
        width: 250px;
    }

    70% {
        width: 250px;
    }

    100% {
        width: 0px;
    }
}

#middle img {
    display: block;
    width: 50px;
    height: 50px;
    margin: auto;
    -webkit-animation: img_anim 4.5s infinite linear;
    animation: img_anim 4.5s infinite;
    -webkit-animation-delay: .2s;
    animation-delay: .2s;
}

@-webkit-keyframes img_anim {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -ms-transform: rotate(0deg);
    }

    38% {
        opacity: 1;
    }

    62% {
        opacity: 1;
    }

    70% {
        opacity: 0;
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        -ms-transform: rotate(360deg);
    }

    100% {
        opacity: 0;
    }
}

@keyframes img_anim {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -ms-transform: rotate(0deg);
    }

    38% {
        opacity: 1;
    }

    62% {
        opacity: 1;
    }

    70% {
        opacity: 0;
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        -ms-transform: rotate(360deg);
    }

    100% {
        opacity: 0;
    }
}

#bottom {
    height: 50px;
    background-color: #5aad5e;
    box-shadow: 0 0 5px #5aad5e;
    -webkit-animation: bottom_anim 4.5s infinite;
    animation: bottom_anim 4.5s infinite;
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
}

@-webkit-keyframes bottom_anim {
    0% {
        width: 0px;
    }

    30% {
        width: 250px;
    }

    70% {
        width: 250px;
    }

    100% {
        width: 0px;
    }
}

@keyframes bottom_anim {
    0% {
        width: 0px;
    }

    30% {
        width: 250px;
    }

    70% {
        width: 250px;
    }

    100% {
        width: 0px;
    }
}

#rod {
    width: 10px;
    height: 450px;
    background-color: #874a21;
    position: relative;
    top: -152px;
    left: -7px;
    border-radius: 40%;
}

#text {
    font-size: 35px;
    color: white;
    line-height: 50px;
    text-align: center;
    border-top: 4px solid #FF8915;
    border-left: 4px solid white;
    border-right: 4px solid white;
    border-bottom: 4px solid #148809;
    border-radius: 4px;
    display: block;
    width: 250px;
    height: 150px;
    position: relative;
    left: -300px;
    top: -600px;
    -webkit-animation: text_anim 4.5s infinite;
    animation: text_anim 4.5s infinite;
}

@-webkit-keyframes text_anim {
    0% {
        text-shadow: 0 0 20px #6da2ff;
    }

    50% {
        text-shadow: none;
    }

    100% {
        text-shadow: 0 0 20px #6da2ff;
    }
}

@keyframes text_anim {
    0% {
        text-shadow: 0 0 20px #6da2ff;
    }

    50% {
        text-shadow: none;
    }

    100% {
        text-shadow: 0 0 20px #6da2ff;
    }

}