body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  padding: 40px;
}

.container {
  width: 100%;
  max-width: 500px;
  margin: auto;
  background: #6f6e6e;
  padding: 25px;
  border-radius: 11px;
  box-shadow: 0 0 10px #c4c3c3;
}

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

form {
  display: flex;
  gap: 10px;
}

input[type="text"] {
  flex: 1;
  padding: 10px;
  font-size: 17px;
}
input:hover{
    border: 0.1rem solid rgb(46, 44, 50)
}

button {
  padding: 10px 15px;
  background-color: #010a14;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
    border: 0.08rem solid white;
  background-color: #010d1b;
}

ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

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

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

.actions button {
  margin-left: 5px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* after the task created for the pop up */
#toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #1e7e34b2;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  display: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  z-index: 999;
  animation: fadeOut 2s ease-in-out forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}
