/* styles.css */
body {
  font-family: Arial, sans-serif;
  background-color: #e3e3f7;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-image: url("todo\ 2.jpg");
  background-blend-mode: soft-light;
  background-size: cover; /* Ensure the image covers the entire screen */
  background-position: center; /* Center the image */
  background-attachment: fixed; /* Fix the background image in place */
  background-repeat: no-repeat; /* Prevent the image from repeating */
  /* Fading effect using a semi-transparent overlay */
  position: relative;
}

.container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  margin: 20px;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-size: 2em;
  color: #333;
}

.input-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#taskInput {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1em;
}

#addTaskBtn {
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

#addTaskBtn:hover {
  background-color: #0056b3;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 1em;
  color: #333;
}

li:last-child {
  border-bottom: none;
}

.task-text {
  flex: 1;
}

.remove-btn {
  background: #ff4d4d;
  border: none;
  color: white;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.9em;
}

.remove-btn:hover {
  background: #cc0000;
}

/* Responsive design */
@media (max-width: 600px) {
  .input-container {
    flex-direction: column;
  }

  #addTaskBtn {
    width: 100%;
  }
}

.footer {
  position: absolute;
  bottom: 5%;
  left: 45%;
  color: #777;
}

.footer a:link,
.footer a:visited {
  text-decoration: none;
  color: #333;
}
