/* Default spacing remove */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style body */
body {
    font-family:Georgia, 'Times New Roman', Times, serif;
    background-color: rosybrown;
    padding: 20px;
}

/* Style main container */
.container {
    max-width: 500px;
    margin: auto;
    background-color: aliceblue;
    padding: 20px;
    border-radius: 10px;
}

/* Style heading */
h1 {
    text-align: center;
    margin-bottom: 20px;
    color:darkcyan;
}

/* Input-section */
.input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

/* Style input feild */
input {
    flex: 1;
    padding: 12px;
    font-size: 16px;
}

/* Style Button */
button {
    padding: 12px 20px;
    border: none;
    background-color:darkcyan;
    color:floralwhite;
    cursor: pointer;
    border-radius: 5px;
}

/* Button hover */
button:hover {
    background-color:powderblue;
    color: dimgrey;
}

/* Task list */
ul {
    list-style: none;
}

/* Single task */
li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #eee;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}


/* Left side checkbox + text */
.task-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.empty-message {
    text-align: center;
    padding: 10px;
    color:aliceblue;
    background-color: cadetblue;
    font-style: italic;
}

.completed {
    text-decoration: line-through;
    opacity: 0.5;
}

/* Desktop responsive */
@media (min-width:768px) {
    .container {
        max-width: 700px;
    }
} 