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

body {
  background: #829db7;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 350px;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.input-section {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

#taskInput {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#addBtn {
  padding: 10px 15px;
  border: none;
  background: #6a84a0;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

#addBtn:hover {
  background: #0056b3;
}

ul {
  list-style: none;
}

li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 6px;
  transition: 0.3s;
}

li.completed span {
  text-decoration: line-through;
  color: gray;
}

button.deleteBtn {
  background: transparent;
  border: none;
  color: red;
  font-size: 16px;
  cursor: pointer;
}
#front{
  color:#2d292d;
}
.time {
    font-size: 0.8em;
    color: grey;
    margin-left: 10px;
}
