.ball {
    position: absolute;
    top: 0;
    left: -20px;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background: #FF0066;
    margin-left: -5px;
    transition-property: left, top;
    transition-timing-function: cubic-bezier(.25, .1, .25, 1), cubic-bezier(.25, .1, .25, 1);
}

p {
    position: relative;
    margin: 0;
    display: inline-block;
    text-align: center;
    font-size: 4vw;
    outline: none;
    color: #eee;
}

.page {
    height: 100vh;
}

.word.lit {
    color: #FF0066;
}

.bouncer {
    max-width: 90%;
    line-height: 2;
}

.container {
    margin: 0 auto;
    text-align: center;
    max-width: 1280px;
}

html,
body {
    height: 100%;
    width: 100%;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
}

body {
    background: #eee;
    color: #222;
    font-family: 'Open Sans', sans-serif;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s ease-in-out;
}


.slide-2 {
    transform: translateY(100vh);
    /* спрятан внизу */
}

.slide-1.slide-out {
    transform: translateY(-100vh);
    /* уезжает вверх */
}

.slide-2.slide-in {
    transform: translateY(0);
}

.second-slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    background-size: cover;
    padding: 20px;
    text-align: center;
}

/* анимация текста */
#birthdayText {
    font-size: 4vw;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    min-height: 60px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}

.bLetter {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s ease;
}

.bLetter.show {
    opacity: 1;
    transform: translateY(0);
}