html {
  background-color: #fcfcfc;
  min-height: 100%;
}
body {
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.6;
  color: #444;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  height: 100vh;
}
body,
input {
  font-family: Muli, Avenir, sans-serif;
  font-size: 18px;
}
input[type='submit'] {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: 500;
}
header {
  margin-bottom: 0.5em;
}
main {
  flex: 1 0 auto;
}
footer {
  font-size: smaller;
  margin: 2em 0 1em;
}
h1 {
  font-weight: normal;
}
.center {
  text-align: center;
}
.task-list {
  margin: 0;
  padding: 0;
}
.task-list li {
  list-style: none;
  margin: 0.75em 0 0.75em 1.5em;
}
.task-list input[type='checkbox'],
.ornament {
  margin-left: -1.5em;
}
.ornament {
  text-align: center;
  display: inline-block;
  min-width: 16px;
  padding-left: 5px;
  margin-right: 3px;
}
li.new-task {
  margin-bottom: 1em;
}
.new-task input {
  width: calc(100% - 16px - 5px - 3px); /* subtract ornament size */
}
.actions {
  text-align: right;
  margin: 1em 0;
}
.login {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
.login label {
  font-weight: bold;
}
.login > * {
  margin: 0.25em 0;
}
.logout {
  display: inline-block;
}
.logout input {
  font-size: 0.5rem;
  font-weight: 600;
}
.flash {
  color: black;
  background-color: hsl(349.5, 100%, 90.6%);
  border-radius: 3px;
  padding-bottom: 2px;
}
@media screen and (min-width: 375px) {
  .login {
    max-width: 300px;
  }
  input[type='submit'] {
    min-height: 2.5em;
  }
}

