@import url("https://fonts.googleapis.com/css2?family=Atma:wght@300;400;500;600;700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Atma", sans-serif;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100dvh;
}

.todo__card {
  height: 600px;
  width: 500px;
  border: 1px solid rgb(66, 122, 193);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-radius: 5px;
}

input {
  width: 350px;
  margin-bottom: 30px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgb(66, 122, 193);
  outline: none;
  letter-spacing: 1px;
}

input::placeholder {
  color: rgb(66, 122, 193);
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 15px;
}

button.btn {
  cursor: pointer;
  outline: none;
  font-family: "Atma";
  background-color: transparent;
  padding: 3px 10px;
  align-self: flex-end;
  transition: all 0.3s;
  font-weight: 600;
  border: 1px solid rgb(66, 122, 193);
  border-radius: 5px;
}

button.btn:hover {
  background-color: rgb(66, 122, 193);
  color: #fff;
}

.search__input {
  margin-top: 20px;
  width: 180px;
  height: 25px;
  border-color: rgba(0, 128, 0, 0.595);
}

.search__input::placeholder {
  color: rgba(0, 128, 0, 0.595);
}

.todos {
  display: flex;
  flex-direction: column;
}

.todo {
  width: 350px;
  margin-bottom: 30px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgb(66, 122, 193);
  display: flex;
  justify-content: space-between;
  color: rgb(66, 122, 193);
  transition: all 0.3s;
}

.todo img {
  width: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.todo img:hover {
  transform: scale(1.1);
}

.btn-todo {
  border: none;
  outline: none;
  background: transparent;
}

.completed {
  text-decoration: line-through;
  background-color: lightgreen;
  color: green;
}

#update-btn {
  display: none;
  color: orange;
  border-color: orange;
}

.message {
  position: fixed;
  top: 39%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(66, 122, 193, 0.95);
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 1000;
  text-align: center;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.note {
  background-color: #f0f8ff;
  text-align: center;
  font-size: 14px;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  opacity: 0.5;
}

.note p {
  margin: 5px 0;
}

.note strong {
  color: #333;
}
