body {
    background-color: #9fd6a6;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    overflow: hidden;
}

#timer-display {
    position: absolute;
    top: 20px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

#current-timer {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

#total-timer {
    color: #666;
    font-size: 1rem;
}

#total-timer::before {
    content: "(";
}
#total-timer::after {
    content: ")";
}

#baby-of-the-week {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.show-baby {
    opacity: 1 !important;
}

.rainbow-text {
    animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
    0% {
        color: #ff0000;
    }
    20% {
        color: #ff8800;
    }
    40% {
        color: #ffff00;
    }
    60% {
        color: #00ff00;
    }
    80% {
        color: #0000ff;
    }
    100% {
        color: #ff0000;
    }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.center-image {
    max-width: 20%;
    height: auto;
    transform-origin: center;
    will-change: transform;
}
