body {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(-45deg, #dceefb, #b3daff, #97c9f8);
    background-size: 400% 400%;
    animation: gradientMove 10s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    background-color:white;
    padding: 40px;
    border-radius: 20px;
    /*box-shadow: 0 4px 10px rgba(0,0,0,0.2);*/
    width: 80vw;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
}

h1 {
    text-align: center;
    font-size: 80px;
}

.input-box {
    display: flex;
    gap: 8px;
}

#taskInput {
    flex: 1;
    padding: 8px;
    font-size: 1.3rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

#addBtn {
    background-color: #57cc99;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.3rem;
    transition: 0.2s;
}

#addBtn:hover {
    background-color: #38a67a;
    transform: scale(1.05);
  }

#taskList {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

li {
    background-color: #dceefb;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
}

li:hover {
    transform: scale(1.02);
    transition: 0.2s;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background-color: #94e4f4;
    border-radius: 10px;
}

.completed {
    text-decoration: line-through;
    color: gray;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    background-color: #dceefb;
    border: none;
    color: #333;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s;
}

.filter-btn:hover {
    background-color: #b3daff;
    transform: scale(1.05);
}

.filter-btn.active {
    background-color: #97c9f8;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

#clearAll {
    background-color: #dceefb;
    color: black;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

#clearAll:hover {
    background-color: #b3daff;
    transform: scale(1.05);
}

.edit-input {
    width: 90%;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #5dade2;
    outline: none;
    background-color: #ecf6fc;
    padding: 5px;
    border-radius: 5px;
}

#taskDate {
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: white;
}