/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Page 1 Styles */
.black-bg {
    background-color: black;
}

.yellow-button {
    background-color: yellow;
    border: none;
    padding: 20px 40px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s, background-color 0.3s;
}

.yellow-button:hover {
    transform: scale(1.1);
    background-color: gold;
}

/* Centering */
.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Page 2 Styles */
.confetti-bg {
    background: url('confetti.jpg') center/cover no-repeat;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: confettiAnimation 10s infinite linear;
}

.motivation-box {
    background-color: black;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.black-box {
    color: white;
}

.motivational-text {
    font-family: 'Literata', serif;
    font-size: 36px;
    font-weight: bold;
}

/* Cool Animation */
@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 5px #ff0000, 0 0 10px #ff7300, 0 0 15px #ffeb00, 0 0 20px #73ff00, 0 0 25px #00ffee, 0 0 30px #0073ff, 0 0 35px #8a00ff;
    }
    50% {
        text-shadow: 0 0 15px #ff7300, 0 0 20px #ffeb00, 0 0 25px #73ff00, 0 0 30px #00ffee, 0 0 35px #0073ff, 0 0 40px #8a00ff, 0 0 45px #ff0000;
    }
}

.animate-text {
    animation: glow 2s infinite;
}

/* Button Styles */
.top-right {
    position: absolute;
    top: 10px;
    right: 10px;
}

.small-button {
    background-color: white;
    border: 1px solid black;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

.small-button:hover {
    background-color: lightgray;
}

/* Confetti Animation for Background */
@keyframes confettiAnimation {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 100% 100%;
    }
}
