@import url("https://fonts.googleapis.com/css2?family=Delius&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Delius", cursive;
}

body {
  width: 100%;
  min-height: 100vh;
  background: #cce6ff;
  background: linear-gradient(
    90deg,
    rgba(204, 230, 255, 1) 0%,
    rgba(204, 153, 255, 1) 100%
  );
  padding-top: 2rem;
  display: flex;
  justify-content: center;
}

.container {
  background-color: #dde8e9;
  width: 75%;
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0rem 1rem 4rem rgba(0, 0, 0, 0.2);
  border: 1px solid #cce6ff;
  border-radius: 2rem;
  padding: 1rem 0rem;
}

.input_container {
  margin: 2rem auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1rem;
}

.input_box {
  background-color: #eeffff;
  border: 1px solid #c2e2e2;
  outline: none;
  padding: 0.7rem 1rem;
  width: 50%;
  border-radius: 0.5rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 16px;
}

.add_btn {
  outline: none;
  background-color: #3e56dd;
  border: 1px solid #3e56dd;
  padding: 0.7rem 2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  color: #eeffff;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}
.add_btn:hover {
  background-color: #203de6;
}

.todo_list_container {
  width: 75%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.todo_list {
  background-color: #f2ffff;
  padding: 1rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 0.3rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.5s;
}

.task {
  display: flex;
  align-items: center;
  gap: 1rem;
}

input[type="checkbox"] {
  width: 1.5rem;
  height: 1.5rem;
  accent-color: rgb(40, 167, 69);
  cursor: pointer;
}

.content_wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.delete_btn {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  color: #d62222;
}
