* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: grey;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(to right, #3e2c50, #b35858);
}

.container {
  background-color: beige;
  width: 300px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 27px;
}

.input-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 21px;
}

input[type="text"] {
  width: 70%;
  padding: 10px;
  background-color: #06fdf0;
  border-radius: 5px;
  color: #0a0a0a;
  outline: none;
}

button {
  width: 25%;
  padding: 10px;
  background-color: rgb(24, 237, 35);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: rgb(235, 138, 235);
}

ul {
  list-style: none;
}

li {
  background-color: #96f006;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

li button {
  background-color: #fef607;
  padding: 5px 8px;
}

li button:hover {
  background-color: chocolate;
}
