﻿.scrollingText {
    height: 100px;
    overflow: hidden;
    position: relative;
}

    .scrollingText h3 {
        font-size: 3em;
       /* color: #90277d;*/
        /*font-size: 3em;
        color: blue;*/
        position: absolute;
        width: 100%;
        height: 100%;
        margin-top: 20px;
        line-height: 50px;
        text-align: center;
        /* Starting position */
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        /* Apply animation to this element */
        -moz-animation: scrollingText 15s linear infinite;
        -webkit-animation: scrollingText 15s linear infinite;
        animation: scrollingText 15s linear infinite;
    }
/* Move it (define the animation) */
@-moz-keyframes scrollingText {
    0% {
        -moz-transform: translateX(100%);
    }

    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes scrollingText {
    0% {
        -webkit-transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes scrollingText {
    0% {
        -moz-transform: translateX(100%); /* Firefox bug fix */
        -webkit-transform: translateX(100%); /* Firefox bug fix */
        transform: translateX(100%);
    }

    100% {
        -moz-transform: translateX(-100%); /* Firefox bug fix */
        -webkit-transform: translateX(-100%); /* Firefox bug fix */
        transform: translateX(-100%);
    }
}

.text {
    font-size: xx-large;
    color: #90277d
}
