@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Montserrat", sans-serif;
  background-color: #222831; /* Dark blue-gray background */
  color: #eeeeee; /* Light gray text color */
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: url('Images/wallhaven-7pq2de.jpg'); /* Replace 'path_to_your_image.jpg' with your image file path */
  background-size: cover;
  background-position: center;
}

.container {
  width: 90%; /* Adjusted to be responsive */
  max-width: 900px; /* Increased maximum width for larger screens */
  background: rgba(255, 255, 255, 0.1); /* Glassmorphism effect */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

h1 {
  color: #eeeeee; /* Light gray heading color */
  margin-bottom: 20px; /* Add spacing below heading */
}

#task-form {
  display: flex;
  margin-bottom: 20px;
}

input[type="text"] {
  flex-grow: 1; /* Take remaining space */
  padding: 8px;
  margin-right: 10px;
  outline: none;
}

button {
  padding: 8px 16px;
  background-color: #00adb5; /* Light teal button color */
  color: #eeeeee; /* Light gray button text color */
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #222831; /* Dark blue-gray on hover */
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0; /* Remove default margin */
}

li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.task-text {
  flex-grow: 1;
}

.task-text.completed {
  text-decoration: line-through;
  color: #6b6b6b; /* Gray color for completed tasks */
}

.delete-btn {
  margin-left: 10px;
  background-color: #b03c32; /* Red delete button */
  color: #ffffff;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.delete-btn:hover {
  background-color: #8d2f26; /* Darker red on hover */
}

.recommendations {
  margin-top: 20px;
}

.recommendations h2 {
  color: #eeeeee; /* Light gray heading color */
  margin-bottom: 10px; /* Add spacing below heading */
}

.recommendations ul {
  list-style-type: none;
  padding: 0;
}

.recommendations li {
  margin-bottom: 8px;
}

.recommendations a {
  color: #FFC7C7;
  text-decoration: none;
}

.recommendations a:hover {
  text-decoration: underline; /* Underline on hover */
}
