body {
    width: 90%;
    display: flex;
    flex-flow: column nowrap;
    margin: auto;
}

.proj_main {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.proj_title {
    text-align: center;
}

.proj_title p {
    margin-top: 0px;
}

.proj_content {
    width: 95%;
    margin-top: 100px;
    display: flex;
    flex-flow: row;
    justify-content: center;
}

.slider-wrapper {
    font-size: 40px;
    color: #aaa;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: flex-end;
}

.slider {
    font-size: 40px;
    height: 50px;
    padding-left: 15px;
    overflow: hidden;
    align-items: flex-start;
    justify-content: center;
}

.slider div {
    color: #fff;
    height: 50px;
    margin-bottom: 50px;
    padding: 2px 15px;
    text-align: center;
    box-sizing: border-box;
}

.slider-text1 {
    background: lightgreen;
    animation: slide 6s linear infinite;
}

.slider-text2 {
    background: skyblue;
}

.slider-text3 {
    background: lightcoral;
}

.slider-text4 {
    background: lightsteelblue;
}

.slider-text5 {
    background: lightsalmon;
}

@keyframes slide {
    0% {
        margin-top: -500px;
    }
    2% {
        margin-top: -400px;
    }
    18% {
        margin-top: -400px;
    }
    22% {
        margin-top: -300px;
    }
    38% {
        margin-top: -300px;
    }
    42% {
        margin-top: -200px;
    }
    58% {
        margin-top: -200px;
    }
    62% {
        margin-top: -100px;
    }
    78% {
        margin-top: -100px;
    }
    82% {
        margin-top: 0px;
    }
    98% {
        margin-top: 0px;
    }
    100% {
        margin-top: 100px;
    }
}

@media screen and (max-width: 479px) {
    /* start of phone styles */

    .proj_content {
        width: 95%;
        margin-top: 100px;
        display: flex;
        flex-flow: column;
        justify-content: center;
    }
    .slider-wrapper {
        align-items: center;
        justify-content: center;
    }
    .slider {
        padding-left: 0;
        align-items: center;
        justify-content: center;
    }
}
