* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Varela Round", sans-serif;
}

body {

    background-color: #8bc9ee;
    color: #333;
    line-height: 1.6;
    padding: 1rem;
    display: flex;

}

.container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #e3f0fb;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

#todo-form {
    display: flex;
    margin-bottom: 1.5rem;
}

#todo-input {
    flex-grow: 1;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    width: 100%;
}

#todo-form button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #1875b1;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
}

#todo-form button:hover {
    background-color: #2980b9;
}

#todo-list {
    list-style-type: none;
}

.todo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: #b7dcf4;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
}

.todo-item:hover {
    background-color: #f1f1f1;
}

.todo-item.completed {
    text-decoration: line-through;
    opacity: 0.6;
}

.todo-item button {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;

}

.todo-item button:hover {
    background-color: #c0392b;
}

@media (max-width: 600px) {
    .container {
        margin: 1rem;
        padding: 1rem;
    }

    #todo-form {
        flex-direction: column;
    }

    #todo-input {
        width: 100%;
    }

    #todo-form button {
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (min-width: 601px) {
    #todo-form {
        flex-direction: row;
    }

    #todo-input {
        width: auto;
    }

    #todo-form button {
        width: auto;
        margin-top: 0;
    }
}