
body {
  font-family: Arial, sans-serif;
  background-color: beige;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; 
}

.container {
  background-color: #756344;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 400px; 
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  color: #EEF21F;
  font-size: 1.5rem;
}

#task-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

#add-task-btn {
  width: 100%;
  padding: 12px;
  background-color: #DBA70D;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#add-task-btn:hover {
  background-color: #997408;
}

#task-list {
  list-style: none;
  padding: 0 10px;
  margin-top: 20px;
  text-align: left;
}

.task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: black;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.completed {
  text-decoration: line-through;
  color: #28a745;
}

.delete-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.delete-btn:hover {
  background-color: #a71d2a;
}


@media (min-width: 481px) and (max-width: 768px) {
  .container {
    max-width: 600px;
  }

  h1 {
    font-size: 2rem;
  }

  #task-input {
    width: 80%;
    font-size: 1.1rem;
  }

  #add-task-btn {
    width: 70%;
    font-size: 1.1rem;
  }
}


@media (min-width: 769px) {
  .container {
    max-width: 800px;
  }

  h1 {
    font-size: 2.5rem;
  }

  #task-input {
    width: 60%;
    font-size: 1.2rem;
  }

  #add-task-btn {
    width: 40%;
    font-size: 1.2rem;
  }
}





