
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #121212;
    color: white;
    text-align: center;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #1e1e1e;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

nav a {
    color: #00bcd4;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    transition: 0.3s;
    padding: 10px;
}

nav a:hover, nav a.active {
    color: #fff;
    border-bottom: 2px solid #00bcd4;
}

section {
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#home {
    background: #181818;
}

#add-birthday {
    background: #222;
}

#birthday-list {
    background: #282828;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
}

input, button {
    padding: 12px;
    margin: 5px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    transition: 0.3s ease-in-out;
}

input {
    background: #1e1e1e;
    color: white;
    border: 1px solid #333;
}

button {
    background: #00bcd4;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #008c9e;
    transform: scale(1.05);
}

.birthday-card {
    background: #1e1e1e;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 188, 212, 0.2);
    transform: translateY(10px);
    opacity: 0;
    animation: slideIn 0.5s ease-in-out forwards;
}

.birthday-card button {
    background: red;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.birthday-card button:hover {
    background: darkred;
}

.empty {
    color: #999;
    font-style: italic;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
