body {
  color: #555;
  font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  line-height: 1.4em;
  margin: 0 auto;
  user-select: none;
  width: clamp(230px, 90%, 320px);
}
input[type="checkbox"] {
  outline: none;
}
#todoapp {
  background: #fff;
  box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.2);
  margin: 0;
  position: relative;
}
#main {
  border-top: 1px solid #e6e6e6;
  position: relative;
  z-index: 2;
}
#toggle-all {
  border: medium none;
  height: 15px;
  left: -18px;
  margin-left: 8px;
  position: absolute;
  text-align: center;
  top: 13px;
  width: 60px;
}
#toggle-all::before {
  color: #e6e6e6;
  content: '\276F';
  display: block;
  font-size: 20px;
  margin-top: -7px;
}
#toggle-all:checked::before {
  color: #5c7e8f;
}
#todo-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
#todo-list li {
  border-bottom: 1px solid #ededed;
  font-size: 17px;
  position: relative;
}
#todo-list li:last-child {
  border-bottom: none;
}
.todo-list li .toggle {
  opacity: 0;
}
#todo-list li .toggle {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  bottom: 0;
  height: auto;
  margin: auto 0 auto 8px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 24px;
}
#todo-list li span {
  display: block;
  line-height: 1.2;
  padding: 15px 15px 15px 60px;
  transition: color 0.4s;
  word-break: break-all;
}
#todo-list li.selected span {
  color: #8ab9d1;
  text-decoration: line-through;
}
#todo-list li .toggle + span {
  background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%22-10%20-18%20100%20135%22%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2250%22%20fill%3D%22none%22%20stroke%3D%22%23ededed%22%20stroke-width%3D%223%22/%3E%3C/svg%3E');
  background-position: center left;
  background-repeat: no-repeat;
}
#todo-list li .toggle:checked + span {
  background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%22-10%20-18%20100%20135%22%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2250%22%20fill%3D%22none%22%20stroke%3D%22%238AB9D1%22%20stroke-width%3D%223%22/%3E%3Cpath%20fill%3D%22%238AB9D1%22%20d%3D%22M72%2025L42%2071%2027%2056l-4%204%2020%2020%2034-52z%22/%3E%3C/svg%3E');
}
#footer {
  border-top: 1px solid #e6e6e6;
  color: #777;
  height: 20px;
  padding: 10px 15px;
  text-align: center;
}
#footer::before {
  bottom: 0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2),
      0 8px 0 -3px #f6f6f6,
      0 9px 1px -3px rgba(0, 0, 0, 0.2),
      0 16px 0 -6px #f6f6f6,
      0 17px 2px -6px rgba(0, 0, 0, 0.2);
  content: '';
  height: 50px;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
}
#todo-count {
  float: left;
  text-align: left;
}
#todo-count strong {
  font-weight: 400;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  #toggle-all, #todo-list li .toggle {
    background: none;
  }
  #todo-list li .toggle {
    height: 24px;
  }
  #toggle-all {
    -webkit-appearance: none;
    appearance: none;
    transform: rotate(90deg);
  }
}
li#header {
  color: #777;
  font-size: inherit;
}