body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e0f7fa, #e1bee7);
    font-family: 'Poppins', sans-serif;
}

#todo_container {
    width: 420px;
    padding: 25px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-in-out;
}

#todo_container h1 {
    text-align: center;
    color: white;
    margin-bottom: 20px;
    font-size: 28px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    animation: slideDown 1s ease-in-out;
}

#todo_input {
    width: calc(100% - 24px);
    padding: 12px;
    font-size: 16px;
    border: 2px solid #fff;
    border-radius: 10px;
    outline: none;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transition: 0.3s;
}

#todo_input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#todo_input:focus {
    border-color: #ffeb3b;
    box-shadow: 0 0 10px #ffeb3b;
    background: rgba(255, 255, 255, 0.25);
}

#btn,
#deleteAll {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease-in-out;
}

#btn {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

#btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #0072ff, #00c6ff);
}

#deleteAll {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

#deleteAll:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
}

#todo_list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

#todo_list li {
    padding: 12px 14px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: white;
    backdrop-filter: blur(8px);
    transition: 0.3s;
    animation: fadeInUp 0.5s ease-in-out;
}

#todo_list li:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.3);
}

.deletebtn,
.editBtn {
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.deletebtn {
    background: #ff4d4d;
    color: white;
}

.deletebtn:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.editBtn {
    background: #17a2b8;
    color: white;
    margin-left: 10px;
}

.editBtn:hover {
    background: #117a8b;
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}