@keyframes showTopText {
    0% {
        transform: translate3d(0, 100%, 0);
    }

    40%, 60% {
        transform: translate3d(0, 50%, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes showBottomText {
    0% {
        transform: translate3d(0, -100%, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.container-title {
    margin-top: -2vh;
    height: 85vh;
}

.animated-title {
    color: #222;
    font-family: Roboto, Arial, sans-serif;
    height: 40vmin;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 23vmin;
}

    .animated-title > div {
        height: 50%;
        overflow: hidden;
        position: absolute;
        width: 100%;
    }

        .animated-title > div div {
            padding: 1vmin 0;
            position: absolute;
        }

            .animated-title > div div span {
                display: block;
            }

        .animated-title > div.text-top {
            border-bottom: 1vmin solid #0f1d93;
            top: 0;
        }

            .animated-title > div.text-top div {
                animation: showTopText 1s;
                animation-delay: 0.5s;
                animation-fill-mode: forwards;
                bottom: 0;
                transform: translate(0, 100%);
                color: #5294E2;
            }

                .animated-title > div.text-top div span:first-child {
                    color: #767676;
                }

        .animated-title > div.text-bottom {
            bottom: 0;
        }

            .animated-title > div.text-bottom div {
                animation: showBottomText 0.5s;
                animation-delay: 1.75s;
                animation-fill-mode: forwards;
                top: 0;
                transform: translate(0, -100%);
            }

.text-shadow {
    color: yellowgreen;
    padding-top: 15px;
    font-size: 50px;
    text-shadow: 0.075em 0.08em 0.1em rgba(0, 0, 0, 1);
}
