html {
  -moz-text-size-adjust: none;
  text-size-adjust: none;
  --font-size-heading-1: 2.875em;
  --font-size-heading-2: 2.125em;
  --font-size-body: .875em;
  --block-spacing: 1.5rem;
  --color-primary: #f5f5f5;
  --color-secondary-1: #e7e7e7;
  --color-secondary-2: #dcdcdc;
  --color-accent: #006eff;
  --color-text: #000;
  font-family: Inter, sans-serif, arial;
}

*, :before, :after {
  box-sizing: border-box;
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

input, button, textarea, select, button {
  font: inherit;
  color: inherit;
}

body {
  color: var(--color-text);
  height: 100vh;
}

main {
  padding: var(--block-spacing);
  background-color: var(--color-primary);
  height: 100%;
  overflow: auto;
}

h1, h2 {
  border-inline-start: 5px solid var(--color-accent);
  width: max-content;
  padding-block: .5rem;
  padding-inline: 1rem;
  display: flex;
}

h1 {
  font-size: var(--font-size-heading-1);
}

h2 {
  font-size: var(--font-size-heading-2);
}

p, input, button {
  font-size: var(--font-size-body);
}

input {
  border: 0;
}

button {
  background-color: inherit;
  border: none;
}

button:hover {
  cursor: pointer;
}

.container {
  margin-block: var(--block-spacing);
  flex-direction: column;
  gap: .25rem;
  display: flex;
}

.container > button {
  width: max-content;
}

.toolbar {
  margin-block: var(--block-spacing);
  flex-direction: row;
  justify-content: space-between;
  display: flex;
}

.toolbar > button {
  background-color: var(--color-secondary-1);
  border: none;
  border-radius: .5rem;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  gap: .25rem;
  padding: .5rem;
  display: flex;
}

.toolbar > button:hover {
  cursor: pointer;
}

.message {
  font-weight: 300;
}

.list-item {
  background-color: var(--color-secondary-1);
  opacity: 1;
  border-radius: .5rem;
  flex-direction: row;
  align-items: center;
  gap: .5rem;
  padding: .5rem;
  transition: opacity .2s ease-out;
  display: flex;
}

.list-item.hide {
  opacity: 0;
}

.list-item > button {
  flex-shrink: 0;
}

.todo-item:hover, .toolbar > button:hover {
  background-color: var(--color-secondary-2);
}

.todo-item > p, .todo-form > input {
  background-color: inherit;
  width: 100%;
}

.todo-item > p {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.todo-item > input[type="checkbox"] {
  display: none;
}

#completed-list .todo-item > p {
  text-decoration: line-through;
}

#completed-list .edit-button {
  display: none;
}

.toolbar > button:before {
  content: url("plus.48c71792.svg");
}

#todo-list .todo-item > p:before {
  content: url("checkbox-unchecked.721f088a.svg");
}

#todo-list .todo-item:hover > p:before {
  content: url("checkbox-checked.b094fd86.svg");
}

#completed-list .todo-item > p:before {
  content: url("checkbox-checked-dark.c662a343.svg");
}

.edit-button:before {
  content: url("edit.ccf89065.svg");
}

.delete-button:before {
  content: url("delete.a427e9fb.svg");
}

.save-button:before {
  content: url("save.3c6bb893.svg");
}

@media (width >= 450px) {
  .toolbar > button {
    flex-grow: 0;
  }
}

@media (width >= 750px) {
  html {
    --font-size-heading-1: 3.125em;
    --font-size-heading-2: 2.375em;
    --font-size-body: 1em;
    --block-spacing: 2rem;
  }

  main {
    padding-inline: calc(20% - 3rem);
  }
}
/*# sourceMappingURL=index.4d663569.css.map */
