* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

body {
  background: #2b292e;
  color: #fafafa;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
}

button {
  cursor: pointer;
}

a {
  color: #6f439c;
}

/* Container */

.container {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.6rem;
}

/* Header */

header {
  padding: 1.6rem 0;
  background: #6f439c;
  color: white;
}

.hTitle {
  font-size: 3.2rem;
  margin-bottom: 0.4rem;
}

.hSubtitle {
  font-size: 1.6rem;
  font-weight: 300;
}

/* Actions Bar */

.action {
  background-color: #353239;
  border-bottom: 1px solid #dedfe0;
  padding: 1rem;
}

.actionContainer {
  align-items: center;
  display: flex;
  max-width: 60rem;
  margin: 0 auto;
  min-height: 3rem;
  padding: 0 1.6rem;
}

.actionontainer--spaced {
  justify-content: space-between;
}

/* Form Inputs */

#filter-input,
#add-task-input {
  border: none;
  font-size: 1.4rem;
  font-weight: 300;
  height: 3rem;
  margin-right: 1.6rem;
  padding: 0.4rem 0.8rem;
}

.button {
  background: #7044a0;
  border: none;
  border-bottom: 2px solid #603a88;
  color: white;
  font-size: 1.4rem;
  font-weight: 300;
  padding: 0.8rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.button:hover {
  background: #5f3a87;
}

.button--text {
  background: none;
  border: none;
  color: #aaa;
}

.button--text:hover {
  background: none;
  color: white;
  text-decoration: underline;
}

.list-title {
  font-size: 2.4rem;
  font-weight: bold;
  margin: 3.2rem 0 1.6rem;
}

/* Note List Item */

.list-item {
  text-decoration: none;
  color: #fafafa;
  cursor: pointer;
  background: #353239;
  border: 1px solid #423e47;
  margin: 1.6rem 0;
  padding: 1rem 1.6rem;
  display: block;
  transition: background 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-item:hover {
  background: #3d3941;
}

.list-item__container {
  display: flex;
  font-size: 1.8rem;
  font-weight: 300;
  align-items: baseline;
}

.list-item__container > *:first-child {
  margin-right: 0.8rem;
}
