@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
.start {
  display: none;
  padding: 0 1.25rem;
}
.start form input {
  outline: none;
  border: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  background-color: transparent;
  padding: 0.4rem;
  border-bottom: 0.125rem solid #00bac0;
}
.start form input:focus {
  filter: brightness(1.4);
}
.start form button {
  outline: none;
  border: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  background-color: transparent;
  padding: 0.4rem;
  border-bottom: 0.125rem solid #80b150;
  cursor: pointer;
  transition: filter 0.2s ease-in-out;
}
.start form button i {
  color: #80b150;
}
.start form button:hover {
  filter: brightness(1.4);
}

.task-list {
  max-width: 48rem;
  padding: 1rem;
  margin: 0 auto;
  display: none;
}
.task-list ul {
  list-style-type: none;
}
.task-list ul li {
  margin-top: 0.5rem;
  padding: 0.625rem;
  border-radius: 10px;
  background-color: #242222;
  text-align: left;
  display: flex;
  justify-content: space-between;
}
.task-list ul li:first-child {
  margin-top: 0;
}
.task-list ul li label {
  display: flex;
  align-items: center;
  transition: transform 0.15s ease-in-out;
  margin-right: 1rem;
  word-break: break-word;
  cursor: pointer;
}
.task-list ul li label:hover {
  transform: translateX(0.25rem);
}
.task-list ul li label input[type=checkbox] {
  appearance: none;
  border-radius: 50%;
  margin-right: 0.5rem;
  color: inherit;
  border: 0.125rem solid currentColor;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.task-list ul li label input[type=checkbox]::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  transform: scale(0);
  transition: transform 0.1s ease-in-out;
  border-radius: 50%;
}
.task-list ul li label input[type=checkbox]:checked::before {
  transform: scale(1);
}
.task-list ul li .icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.task-list i.fa-xmark {
  color: #a70202;
  transition: 0.15s ease-in-out;
}
.task-list i.fa-xmark:hover {
  color: #fc1313;
  cursor: pointer;
}

.task-form {
  display: none;
  width: max-content;
  margin: 0.625rem auto;
}
@media (max-width: 40rem) {
  .task-form {
    width: 90vw;
  }
}
.task-form form {
  display: flex;
}
@media (max-width: 40rem) {
  .task-form form {
    flex-direction: column;
  }
}
.task-form form input {
  outline: none;
  border: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  background-color: transparent;
  padding: 0.4rem;
  border: 0.125rem solid #80b150;
  background-color: #1e1e1e;
  border-top-left-radius: 15px;
  border-right: none;
}
.task-form form input:focus {
  box-shadow: 0 0 10px 0 #80b150;
}
@media (max-width: 40rem) {
  .task-form form input {
    border: 0.125rem solid #80b150;
    border-bottom: none;
    padding: 0.625rem;
  }
}
.task-form form select {
  outline: none;
  border: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  background-color: transparent;
  padding: 0.4rem;
  border: 0.125rem solid #00bac0;
  background-color: #181818;
  border-right: none;
  text-align: left;
  padding: 0.625rem;
}
.task-form form select:focus {
  box-shadow: 0 0 10px 0 #00bac0;
}
@media (max-width: 40rem) {
  .task-form form select {
    border: 0.125rem solid #00bac0;
    border-bottom: none;
  }
}
.task-form form button {
  outline: none;
  border: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  background-color: transparent;
  padding: 0.4rem;
  border: 0.125rem solid #80b150;
  background-color: rgba(128, 177, 80, 0.2);
  transition: filter 0.2s ease-in-out;
  border-bottom-right-radius: 15px;
  color: #80b150;
  padding: 0.625rem;
}
.task-form form button > i {
  color: #80b150;
}
.task-form form button:hover {
  cursor: pointer;
  filter: brightness(1.4);
}

* {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: "Roboto", sans-serif;
  padding: 0;
  margin: 0;
}

body {
  background-color: #181818;
  color: #c4c4c4;
  font-size: 1.125rem;
  text-align: center;
}

h2 {
  padding-top: 1.2rem;
}

header p {
  padding: 1rem 0;
}

footer {
  color: #5f5f5f;
  font-size: 0.9rem;
  margin-top: 1.8rem;
}
footer div {
  display: none;
}
footer button {
  outline: none;
  border: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  background-color: transparent;
  padding: 0.4rem;
  border-right: 0.125rem solid #5f5f5f;
  color: rgba(128, 177, 80, 0.6);
  transition: color 0.15s ease-in-out;
  padding: 0 0.6rem;
}
footer button:last-child {
  border-right: none;
}
footer button:hover {
  cursor: pointer;
  color: #80b150;
}
footer p {
  display: block;
  margin-top: 0.6rem;
}

.finished {
  text-decoration: line-through;
  color: #5f5f5f;
}
.finished + div > i:not(:last-child) {
  color: #5f5f5f;
}
.finished input[type=checkbox]:before {
  box-shadow: inset 10px 10px #5f5f5f;
}

.during {
  color: #fff;
}
.during + div > i:not(:last-child) {
  color: #fff;
}
.during input[type=checkbox]:before {
  box-shadow: inset 10px 10px #80b150;
}

.info {
  margin: 0.625rem auto;
  color: #00bac0;
}

.display-none {
  display: none;
}

.display-block {
  display: block;
}

.primary-color {
  color: #00bac0;
}

.secondary-color {
  color: #80b150;
}