body {
    margin: 0;
    height: 100vh;
    font-family: "Montserrat", sans-serif;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    color: white;
    font-size: 32px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.flip {
    height: 40px;
    overflow: hidden;
    margin-top: 10px;
}


.flip>div {
    animation: slide 6s infinite;
}


.flip div div {
    height: 40px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #429ec5;
}

.flip div div:nth-child(2) {
    background: #0b4c20;
}

.flip div div:nth-child(3) {
    background: #6a1428;
}


@keyframes slide {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(-40px);
    }

    65% {
        transform: translateY(-40px);
    }

    70% {
        transform: translateY(-80px);
    }

    100% {
        transform: translateY(-80px);
    }
}