.line {
    text-decoration: line-through;
}

/* Navigation Bar */


/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}



/* Header */
header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease;
}

header h1 {
    font-size: 2.5rem;
    color: #00aaff;
}

header p {
    color: #cccccc;
    font-size: 1.1rem;
}

/* Add Task Button */
.add-task-btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: background 0.3s, transform 0.2s;
}

.add-task-btn:hover {
    background-color: #0056b3;
    transform: scale(1.03);
}

/* Task List */
ul {
    list-style-type: none;
    padding: 0;
}

.list {
    background: #121a26;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 119, 255, 0.2);
    animation: slideUp 0.6s ease forwards;
}

.list strong {
    font-size: 1.2rem;
    color: #00bfff;
}

.line strong,
.line {
    text-decoration: line-through;
    color: #999;
}

.list a {
    display: inline-block;
    margin-top: 0.5rem;
    color: #00ccff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.list a:hover {
    color: #66e0ff;
}

/* No Tasks */
.list:last-child:only-child {
    text-align: center;
    font-style: italic;
    color: #aaaaaa;
}

.no-task-div {
    height: 40vh;
}


.important-task {
    background-color: #0f1927;
    border-left: 5px solid red;
    padding-left: 10px;
}

.expired-task {
    background-color: #18202b;
    color: #888;
}

.line {
    text-decoration: line-through;
    color: #999;
}



/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .add-task-btn {
        font-size: 1rem;
    }
}