/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Container Styling */
.container {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 800px;
}

/* Header */
header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* Birthday Form */
.birthday-form {
    margin-top: 20px;
}

.birthday-form label {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.birthday-form input {
    padding: 10px;
    font-size: 1.2em;
    width: 70%;
    max-width: 400px;
    margin: 10px 0;
    border: 2px solid #fff;
    border-radius: 5px;
}

button {
    padding: 15px 30px;
    font-size: 1.2em;
    background-color: #ff6f61;
    color: white;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #ff856b;
}

/* Birthday Countdown Timer */
#timer {
    font-size: 2.5em;
    margin-top: 20px;
}

/* Fun Fact */
#funFact {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    font-size: 1.2em;
    margin-top: 20px;
}

/* Milestones Section */
#celebration {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
}

ul {
    list-style: none;
    padding: 0;
    font-size: 1.2em;
}

li {
    margin: 5px 0;
}

/* Historic Events */
#historicEvents {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    margin-top: 20px;
    border-radius: 10px;
}

#downloadCard {
    margin-top: 30px;
    padding: 12px 25px;
    background-color: #ff6f61;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s, background-color 0.2s;
}

#downloadCard:hover {
    transform: scale(1.05);
    background-color: #ff856b;
}

/* Confetti Styling */
#confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 20px;
    }
    
    .birthday-form input, button {
        width: 90%;
    }
}
