* {
  box-sizing: border-box;
}
body {
  font-family: Tahoma, Arial, sans-serif;
}
.todo-container {
  width: 80%;
  margin: 30px auto 0;
  background-color: #f6f6f6;
}
.todo-container .add-task {
  padding: 15px;
  background-color: #009688;
  position: relative;
}
.todo-container .add-task input {
  display: inline-block;
  padding: 10px 15px;
  border: none;
  background-color: rgba(255, 255, 255, 0.3);
  width: calc(100% - 17px);
  color: #fff;
  font-size: 20px;
}
.todo-container .add-task input:focus {
  outline: none;
}
.todo-container .add-task .plus {
  position: absolute;
  height: 43px;
  width: 43px;
  background-color: #fff;
  right: 12px;
  border-radius: 50%;
  line-height: 43px;
  text-align: center;
  color: #009688;
  cursor: pointer;
  font-size: 38px;
  transition: transform 0.3s;
}
.todo-container .add-task .plus:hover {
  transform: rotate(90deg);
}
.todo-container .tasks-content {
  padding: 15px;
}
.todo-container .tasks-content .no-tasks-message {
  color: #777;
  font-size: 15px;
}
.todo-container .tasks-content > span {
  display: block;
  background-color: #fff;
  padding: 10px;
}
.todo-container .tasks-content > span:not(:last-child) {
  margin-bottom: 10px;
}
.todo-container .tasks-content .task-box .delete {
  float: right;
  background-color: #e91e63;
  padding: 4px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}
.todo-container .tasks-content .task-box.finished {
  text-decoration: line-through;
}
.task-stats {
  display: flex;
  margin: 10px auto;
  width: 80%;
  font-size: 12px;
}
.task-stats .tasks-count {
  width: 25%;
  padding: 10px;
}
.task-stats .delete-all,
.task-stats .finish-all {
  width: 25%;
  text-align: center;
  padding: 10px;
  visibility: hidden;
}
.task-stats .delete-all span {
  background-color: #e91e63;
}
.task-stats .finish-all span {
  background-color: #03a9f4;
}
.task-stats .delete-all span,
.task-stats .finish-all span {
  color: #fff;
  padding: 5px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}
.task-stats .tasks-completed {
  width: 25%;
  padding: 10px;
  text-align: right;
}
.task-stats .tasks-count span,
.task-stats .tasks-completed span {
  color: #fff;
  padding: 1px 5px;
  font-size: 10px;
  border-radius: 4px;
  font-weight: bold;
}
.task-stats .tasks-count span {
  background-color: #e91e63;
}
.task-stats .tasks-completed span {
  background-color: #03a9f4;
}
@media (max-width: 500px) {
  .task-stats {
    flex-wrap: wrap;
  }
  .task-stats .tasks-count,
  .task-stats .delete-all,
  .task-stats .finish-all,
  .task-stats .tasks-completed {
    width: 50%;
  }
  .task-stats .tasks-count {
    order: 1;
  }
  .task-stats .tasks-completed {
    order: 2;
  }
  .task-stats .finish-all {
    order: 3;
    text-align: left;
  }
  .task-stats .delete-all {
    order: 4;
    text-align: right;
  }
}
.swal-modal {
  background-color: #009688;
  border: 3px solid white;
}
.swal-button {
  background-color: rgba(255, 255, 255, 0.3);
}
.swal-button:not([disabled]):hover {
  background-color: #009688;
}
.swal-text {
  color: #fff;
}
.swal-modal {
  border-color: #a5dc865e;
}
