@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #f7f0ff, #fceff9);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    align-items: center;
    flex-direction: column;
}

.page {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 600px;
    margin: 2rem auto;
}

h1, h2, h3 {
    color: #6c4f84;
    text-align: center;
}

input, textarea, button {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 0.7rem;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

button {
    background-color: #b48fc9;
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #9c77b3;
}

.task-card {
    background: #fdfaff;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 5px solid #b48fc9;
    border-radius: 0.5rem;
    position: relative;
}

.task-card.done {
    opacity: 0.6;
    text-decoration: line-through;
}

.task-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

a {
    text-decoration: none;
    color: #6c4f84;
    font-weight: 600;
}
@media (max-width: 500px) {
    .container {
        padding: 1rem;
    }

    input, textarea, button {
        font-size: 0.9rem;
    }
}
