* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  height: 100%;
  font-size: 20px;
  max-width: 500px;
  margin: 0 auto;
}

html {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
}

/* header styles */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  margin-bottom: 1rem;
  background-color: hsl(33, 100%, 72%);
}

/* .navBtn {
  width: 100%;
  height: 30px;
  text-align: center;
  padding-top: 4px;
} */
/* possible colors::after
  4adaf2, f5a199, c4c9cb

*/
.notes {
  /* background-color: rgb(130, 217, 246); */
  background-color: hsl(200, 100%, 75%);
}
.reminders {
  /* background-color: rgb(134 219 134); */
  background-color: hsl(104, 60%, 80%);
}
.todos {
  /* background-color: rgb(235 173 86); */
  background-color: hsl(33, 100%, 72%);
}

main {
  display: flex;
  flex-direction: column;
  height: 87vh;
  padding: 0 1rem 1rem;
}

.todos-container {
  flex: 1;
  overflow-y: auto;
}

img {
  width: 30px;
  height: 30px;
}

.todo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 40px;
  font-size: 20px;
  margin-bottom: 1rem;
}
.todo .type {
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-weight: bold;
  width: 37px;
  height: 40px;
  background-color: hsl(33, 100%, 72%);
  clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
}

.todo .desc {
  display: flex;
  align-items: center;
  justify-content: left;
  flex: 1;
}
.actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* font awesome icons */
.action {
  background: none;
  border: none;
}
.fa-trash {
  color: red;
  font-size: 1rem;
}
.fa-pen-to-square {
  color: green;
  font-size: 1rem;
}

/* input components */
.inputElement {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.inputElement label {
  font-weight: bold;
  margin-bottom: 0.4rem;
}
.inputElement input {
  outline: 0;
  border-width: 0 0 1px;
  border-color: hsl(33, 100%, 72%);
  font-size: 18px;
}

.addBtn {
  align-self: flex-end;
  width: 100%;
  height: 3rem;
  font-size: 1rem;
  background-color: hsl(33, 100%, 72%);
  border-radius: 8px;
  border: none;
}

.addForm {
  display: none;
}

/* addForm buttons */
#cancel,
#addTodo {
  padding: 5px 10px;
  border-radius: 4px;
  border: none;
}
#addTodo {
  background-color: hsl(33, 100%, 72%);
}

.addFormBtns {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.disabled-button {
  cursor: not-allowed;
  opacity: 0.5;
}
