body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to bottom, #ffcccc, #ff6666); /* Gradient from light to dark red */
}

.moving-text {
    font-weight: bold;
    color: red;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bounce 5s infinite alternate, moveOnResize 1s infinite;
}

@keyframes bounce {
    0% { transform: translate(-50%, -50%) translateY(0); }
    100% { transform: translate(-50%, -50%) translateY(50px); } /* Move text up and down */
}

@keyframes moveOnResize {
    from {
        left: 0;
    }
    to {
        left: calc(100% - 200px);
    }
}

