body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background: url('to do list.jpg') no-repeat center center fixed;
    background-size: cover;
}

@keyframes neonGlow {
    0% { box-shadow: 0 0 10px #0033ff, 0 0 20px #0033ff; }
    50% { box-shadow: 0 0 20px #0033ff, 0 0 40px #0033ff; }
    100% { box-shadow: 0 0 10px #0033ff, 0 0 20px #0033ff; }
}

.container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    border: 2px solid #0033ff;
    box-shadow: 0 0 10px #0033ff, 0 0 20px #0033ff;
    animation: neonGlow 1.5s infinite alternate;
    color: #111;
    font-weight:bold;
}

h1 {
    color: #333;
}

.input-section {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

input {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 15px;
    background: #ff7e5f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #e76b52;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    background: #f4f4f4;
    padding: 10px;
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s forwards;
}

li .delete-btn {
    background: red;
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 3px;
    transition: 0.3s;
}

li .delete-btn:hover {
    background: darkred;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}
