* {
  box-sizing: border-box;
}

body {
  background-image: linear-gradient(135deg, tomato 10%, #F6416C 100%);
  min-height: 100vh;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
}

::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #fff;
}

.all {
  display: grid;
  height: 100vh;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "form search" "form list";
}
@media (max-width: 860px) {
  .all {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: "form" "search" "list";
    height: auto;
  }
}

.form {
  grid-area: form;
  font-family: sans-serif;
  box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.02), 0 6.7px 5.3px rgba(0, 0, 0, 0.028), 0 12.5px 10px rgba(0, 0, 0, 0.035), 0 22.3px 17.9px rgba(0, 0, 0, 0.042), 0 41.8px 33.4px rgba(0, 0, 0, 0.05), 0 100px 80px rgba(0, 0, 0, 0.07);
  padding: 2rem;
  background: #fff;
}
@media (max-width: 600px) {
  .form {
    padding: 1rem;
  }
}

.form-row {
  margin-bottom: 1rem;
}

.form-row-last {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  color: #777;
  font-size: 0.9rem;
}

.form-control {
  padding: 0 1rem;
  height: 3rem;
  width: 100%;
  border: 1px solid #aaa;
  margin-bottom: 0.5rem;
  font-family: inherit;
  border-radius: 3px;
}

.form-control-textarea {
  height: 10rem;
  padding: 1rem;
  resize: vertical;
}

.button {
  padding: 0.8rem 2rem;
  background: none;
  border: 2px solid #000;
  color: #000;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 0.188rem;
  transition: 0.4s all;
  cursor: pointer;
}

.button-secondary {
  border-color: #aaa;
  color: #aaa;
}

.task-list-search {
  grid-area: search;
  padding: 1rem;
}
.task-list-search input {
  border: 1px solid #fff;
  background: #fff;
  background-image: url(../images/icon-search.svg);
  background-position: 15px center;
  background-repeat: no-repeat;
  background-size: 17px;
  border-radius: 5px;
  height: 3rem;
  padding: 0 1rem 0 2.7rem;
  width: 100%;
}
.task-list-search input:focus {
  outline: none;
  border: 1px solid #000;
  box-shadow: inset 0 0 0 1px #000;
}

.task-list {
  grid-area: list;
  padding-right: 1rem;
  padding-left: 1rem;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.task {
  overflow: hidden;
  box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.02), 0 6.7px 5.3px rgba(0, 0, 0, 0.028), 0 12.5px 10px rgba(0, 0, 0, 0.035), 0 22.3px 17.9px rgba(0, 0, 0, 0.042), 0 41.8px 33.4px rgba(0, 0, 0, 0.05), 0 100px 80px rgba(0, 0, 0, 0.07);
  background: #fff;
  margin-bottom: 1rem;
  border-radius: 5px;
}
.task-inside {
  margin: 1.6rem;
}
.task-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.task .row {
  margin-bottom: 5px;
}
.task-date {
  margin: 0;
  font-size: 0.9rem;
  font-weight: normal;
}
.task-title {
  font-weight: bold;
  margin-bottom: 1rem;
}
.task-body {
  color: #777;
  font-size: 0.8rem;
}
.task-edit, .task-delete {
  border: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  text-indent: -999px;
  overflow: hidden;
  outline: none;
}
.task-edit:hover, .task-delete:hover {
  opacity: 0.7;
}
.task-edit[disabled], .task-delete[disabled] {
  opacity: 0.1;
  cursor: default;
}
.task-edit {
  background-image: url(../images/icon-edit.svg);
}
.task-delete {
  background-image: url(../images/icon-trash.svg);
}
.task-footer {
  margin-top: 20px;
}
.task label {
  font-size: 12px;
  display: block;
  position: relative;
  color: #888;
}
.task label span {
  pointer-events: none;
  position: absolute;
  left: 10px;
  top: 0;
  transform: translate(0, -50%);
  padding: 0 2px;
  background: #fff;
}
.task input.task-date,
.task input.task-title,
.task textarea.task-body {
  padding: 0 1rem;
  height: 3rem;
  border: 1px solid #aaa;
  font-family: inherit;
  border-radius: 3px;
}
.task input.task-title {
  width: 100%;
}
.task textarea.task-body {
  padding: 1rem;
  width: 100%;
  height: 10rem;
}

.task-edit-mode {
  box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.02), 0 6.7px 5.3px rgba(0, 0, 0, 0.028), 0 12.5px 10px rgba(0, 0, 0, 0.035), 0 22.3px 17.9px rgba(0, 0, 0, 0.042), 0 41.8px 33.4px rgba(0, 0, 0, 0.05), 0 100px 80px rgba(0, 0, 0, 0.07), inset 0 0 0 5px black;
}
.task-edit-mode .task-footer {
  display: block;
}

/*# sourceMappingURL=/app.c3f9f951.css.map */