*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
  font-family: sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

body > div {
  flex: 1;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

label,
input,
textarea {
  display: block;
}

input,
textarea {
  font: inherit;
  padding: 0.2rem 0.4rem;
  width: 100%;
  border: 1px solid #ccc;
}

input:focus,
textarea:focus {
  outline: none;
  background: #fff5f9;
}

button {
  font: inherit;
  background: #ff0062;
  border: 1px solid #ff0062;
  cursor: pointer;
  color: white;
  padding: 0.75rem 1rem;
}

button:focus {
  outline: none;
}

button:hover,
button:active {
  background: #a80041;
  border-color: #a80041;
}

.title {
  text-align: center;
}

.form {
  margin: 1rem auto 2.5rem;
  padding: 1rem;
  border: 1px solid #ff0062;
  background: #f7f7f7;
  max-width: 35rem;
}

.form-control {
  margin: 0.5rem 0;
}

.tasks {
  max-width: 35rem;
  margin: 1rem auto;
  border: 1px solid #ff0062;
}

.tasks header {
  background: #ff0062;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#finished-tasks {
  border-color: #0044ff;
}

#finished-tasks header {
  background: #0044ff;
}

.tasks h2 {
  margin: 0;
  color: white;
}

.tasks ul {
  list-style: none;
  margin: 0;
  padding: 1rem;
}

.tasks li {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  margin: 1rem;
  background-color: white;
  cursor: move;
}

.tasks li h2 {
  color: #ff0062;
  margin: 0.5rem 0;
}

#finished-tasks li h2 {
  color: #0044ff;
}

.tasks li h3 {
  color: #575757;
  font-size: 1rem;
}

.task li p {
  margin: 0;
}

.droppable {
  background: #ffe3ee;
}

#finished-tasks .droppable {
  background: #d6e1ff;
}
