.slide-from-left:first-of-type {
    animation: showup 7s infinite;
}

.show-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    font-size: 1.5rem;
}

.show-text:first-of-type {
    /* For increasing performance 
                         ID/Class should've been used. 
                         For a small demo 
                         it's okaish for now */
    animation: showup 7s infinite;
}

.show-text:last-of-type {
    width: 0px;
    animation: reveal 7s infinite;
}

.show-text:last-of-type span {
    margin-left: -155px;
    animation: slidein 7s infinite;
}

@keyframes showup {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes slidein {
    0% {
        margin-left: -800px;
    }
    20% {
        margin-left: -800px;
    }
    35% {
        margin-left: 0px;
    }
    100% {
        margin-left: 0px;
    }
}

@keyframes reveal {
    0% {
        opacity: 0;
        width: 0px;
    }
    20% {
        opacity: 1;
        width: 0px;
    }
    30% {
        width: 355px;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        width: 355px;
    }
}

.reveal-text {
    font-size: 0.8rem;
    color: #999;
    margin-top: 200px;
}

@media (max-width: 992px) {
    .show-text {
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        font-size: 1rem;
    }
}