.light-blue {
    background-color: #e3f2fd;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.add-div {
    width: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

a {
    text-decoration: None;
}

.task-list {
    display: flex;
    width: 50vw;
    margin: auto;
    align-items: center;
}

@media (max-width: 1920px) {
    .task-list {
        width: 60vw;
    }
}

@media (max-width: 1024px) {
    .task-list {
        width: 70vw;
    }
}

/* (tablets & phones) */
@media (max-width: 768px) {
    .task-list {
        width: 80vw;
    }
}

/* (small phones) */
@media (max-width: 480px) {
    .task-list {
        width: 90vw;
    }
}

.task-list p {
    flex-grow: 1;
    margin: auto;
}

.green {
    color: green;
}

.red{
    color: red;
}

.task-list a {
    margin: 0.5rem;
}

.strike{
    text-decoration: line-through;
}


/*add-task*/

.task-container {
    width: 90%;
    max-width: 480px;
    margin: 10vh auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.task-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-form button {
    margin: 0.1rem 0;
}

.task-form label {
    font-weight: 600;
}

.task-form input {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}


/* login and register */

/* Reuse your task-container and task-form */

.task-container h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.task-container .error {
    color: #d9534f;
    background-color: #f9d6d5;
    border: 1px solid #f3b3b2;
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
}

.task-form button {
    padding: 0.6rem;
    background-color: #4f8cff;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.task-form button:hover {
    background-color: #3c6fd1;
}

.task-container a {
    color: #4f8cff;
    text-decoration: none;
    font-weight: 500;
}

.task-container a:hover {
    text-decoration: underline;
}

/* Make sure form looks good on mobile */
@media (max-width: 600px) {
    .task-container {
        width: 85%;
        padding: 1.5rem;
    }
}


.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem auto;
    width: 50%;
}

.error-container .error {
    color: #d9534f;
    background-color: #f9d6d5;
    border: 1px solid #f3b3b2;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-align: center;
    width: 100%;
}

.tasks-ul {
    margin-bottom: 5rem;
}


/*Home page*/

/* Home page main container */
.home-page-div {
    max-width: 700px;
    margin: 80px auto;
    padding: 40px 30px;
    text-align: center;
    background-color: #f9fafc;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Heading */
.home-page-div h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Paragraph */
.home-page-div p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Link styling */
.home-page-div a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.home-page-div a:hover {
    color: #0056b3;
    text-decoration: underline;
}


