* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

html, body {
  padding: 0;
  margin: 0;
  line-height: 1.15;
  color: #334;
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Adwaita Sans, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: calc(100% - 10vw);
  max-width: 890px;
  margin: 0 auto;
}

.block {
  margin-bottom: 0.5rem;
}

.main {
  margin-bottom: 3rem;
}

body, html {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
  color: #334;
}

h1 {
  font-size: clamp(28.56px, 3vw, 35.7px);
  font-weight: 800;
}

h2 {
  font-size: clamp(20.4px, 2.5vw, 25.5px);
  font-weight: 700;
}

h3 {
  font-size: clamp(16.32px, 2vw, 20.4px);
  font-weight: 650;
}

h4 {
  font-size: clamp(13.6px, 1.5vw, 17px);
  font-weight: 650;
}

p, a, li, button {
  font-size: clamp(13.6px, 1.5vw, 17px);
  font-weight: 400;
}

small {
  font-size: clamp(12.24px, 1vw, 15.3px);
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list .list-item {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  border-radius: 0.5rem;
}
.list .list-item[data-checkable-status-value=true] .list-item-header-checkbox {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0.35rem;
  border: 1px solid #309030;
  background-color: #309030;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="3.5" stroke="white"><path stroke-linecap="square" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg>');
  box-shadow: 0 1px 5px rgba(0.5, 0.5, 0.5, 0.35);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80%;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.list .list-item[data-collapsible-collapsed-value=true] .list-item-header-collapsible {
  transform: rotateZ(0deg);
}
.list .list-item[data-collapsible-collapsed-value=true] > .list-item-body {
  height: 0;
}
.list .list-item-header {
  display: flex;
  align-items: center;
  font-size: clamp(28.56px, 3vw, 35.7px);
}
.list .list-item-header > * {
  flex: none;
}
.list .list-item-header .list-item-header-action {
  flex: none;
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0.25rem;
}
.list .list-item-header .list-item-header-checkbox {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0.35rem;
  border: 1px solid #9a9a9a;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="3.5" stroke="rgb(242,242,242)"><path stroke-linecap="square" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg>');
  box-shadow: 0 1px 4px rgba(0.5, 0.5, 0.5, 0.25);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80%;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.list .list-item-header .list-item-header-collapsible {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="3" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="m8.25 4.5 7.5 7.5-7.5 7.5" /></svg>');
  transition: transform 0.35s ease;
  transform: rotateZ(90deg);
}
.list .list-item-header .list-item-header-label {
  flex: 1;
  font-size: clamp(16.32px, 2vw, 20.4px);
  font-weight: 500;
  color: #333;
  text-decoration: underline;
}
.list .list-item-header .list-item-header-label-hover {
  transition: color 0.5s ease;
}
.list .list-item-header .list-item-header-label-hover:hover {
  color: #33f;
}
.list .list-item-body {
  transition: height 0.5s ease;
  overflow: hidden;
  margin-left: 2rem;
}
.list .list-item-body .list-item-body-content {
  margin-top: 0.5rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}
.modal-overlay.show {
  opacity: 0.5;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: clamp(20vw, 5vw + 30rem, 90vw);
  background-color: white;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.25s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}
.modal.show {
  transition: transform 0.25s ease-in-out;
  transform: translateX(0);
}

html[data-prevent-scroll=true] {
  overflow: hidden;
}

.task-view {
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  line-height: 1.3;
}
.task-view-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.task-view-header h2 {
  margin: 0;
  font-size: clamp(16.32px, 2vw, 20.4px);
}
.task-view-header-actions {
  display: flex;
  flex-direction: row;
  align-items: top;
  gap: 0.5rem;
}
.task-view-header-actions-edit, .task-view-header-actions-delete {
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0.5, 0.5, 0.5, 0.35);
  border: 0.15rem solid rgb(77, 77, 77);
  display: flex;
  padding: 0.15rem;
  height: 2.4rem;
  cursor: pointer;
  color: rgb(77, 77, 77);
}
.task-view-header-actions-edit:hover, .task-view-header-actions-delete:hover {
  background-color: rgb(242, 242, 242);
}
.task-view-header-actions-edit svg, .task-view-header-actions-delete svg {
  margin: 0.15rem;
  width: 1.5rem;
  height: 1.5rem;
}

.add-task-container {
  margin-bottom: 1rem;
}

.add-task {
  display: flex;
  width: 100%;
  flex-direction: column;
  background-color: rgb(230, 230, 230);
  border-radius: 0.5rem;
  padding: 1rem;
}
.add-task .add-task-field {
  display: flex;
  width: 100%;
  margin-bottom: 1rem;
}
.add-task .add-task-field:last-child {
  margin-bottom: 0;
}
.add-task .add-task-field:first-child {
  margin-bottom: 0;
}
.add-task .add-task-field > input[type=text] {
  width: 100%;
  font-size: clamp(16.32px, 2vw, 20.4px);
  padding: 0.5rem;
  border: 1px solid #c2c2c2;
  border-radius: 0.3333333333rem;
}
.add-task .add-task-field > textarea {
  width: 100%;
  height: 6rem;
  font-size: clamp(13.6px, 1.5vw, 17px);
  padding: 0.5rem;
  border: 1px solid #c2c2c2;
  border-radius: 0.3333333333rem;
}
.add-task .add-task-field > input[type=submit] {
  font-size: clamp(13.6px, 1.5vw, 17px);
  font-weight: 600;
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: #309030;
  color: rgb(255, 255, 255);
  border: 0;
  border-radius: 0.3333333333rem;
}
.add-task .add-task-textarea {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.add-task .add-task-collapsible {
  transition: height 0.5s ease;
  overflow: hidden;
  height: 0;
}

.edit-task {
  display: flex;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  border-radius: 0.5rem;
  padding: 1rem;
}
.edit-task-title {
  margin: 0 0 1rem 0;
  font-size: clamp(20.4px, 2.5vw, 25.5px);
}
.edit-task .edit-field {
  margin-bottom: 1rem;
}
.edit-task .edit-field > input[type=text] {
  width: 100%;
  font-size: clamp(16.32px, 2vw, 20.4px);
  padding: 0.5rem;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 0.3333333333rem;
}
.edit-task .edit-field > textarea {
  width: 100%;
  height: 6rem;
  font-size: clamp(13.6px, 1.5vw, 17px);
  padding: 0.5rem;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 0.3333333333rem;
}
.edit-task .edit-field > input[type=submit] {
  font-size: clamp(13.6px, 1.5vw, 17px);
  font-weight: 600;
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: #309030;
  color: rgb(255, 255, 255);
  border: 0;
  border-radius: 0.3333333333rem;
}
.edit-task .edit-field-name > textarea {
  resize: none;
}
.edit-task .edit-field-description {
  flex: 1;
}
.edit-task .edit-field-description > textarea {
  height: 100%;
  resize: none;
}
.edit-task .edit-field-submit {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
.edit-task .edit-field-submit > .cancel {
  font-size: clamp(12.24px, 1vw, 15.3px);
}

.form .field > label {
  display: block;
}
.form .field > input[type=text] {
  width: 100%;
  font-size: clamp(16.32px, 2vw, 20.4px);
  padding: 0.5rem;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 0.3333333333rem;
  margin-bottom: 1rem;
}
.form .field > textarea {
  width: 100%;
  font-size: clamp(16.32px, 2vw, 20.4px);
  padding: 0.5rem;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 0.3333333333rem;
  margin-bottom: 1rem;
}
.form .field > input[type=submit] {
  font-size: clamp(13.6px, 1.5vw, 17px);
  font-weight: 600;
  padding: 0.5rem 1rem;
  background-color: #309030;
  color: rgb(255, 255, 255);
  border: 0;
  border-radius: 0.3333333333rem;
}

.button {
  font-size: clamp(13.6px, 1.5vw, 17px);
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  background-color: #309030;
  color: rgb(255, 255, 255);
  border: 0;
  border-radius: 0.3333333333rem;
}

.landing-page {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.landing-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.landing-page-header > h1 {
  display: flex;
  padding: 0;
  margin: 0;
  border: 2px solid rgb(242, 242, 242);
  border-radius: 1rem;
  text-shadow: -10px -10px 0 white, 10px -10px 0 white, -10px 10px 0 white, 10px 10px 0 white;
}
.landing-page-header > h1 span {
  background: repeating-linear-gradient(45deg, rgb(242, 242, 242), rgb(242, 242, 242) 2px, transparent 0px, transparent 10px);
  margin: 0.5rem;
  padding: 1rem 2rem;
  font-size: clamp(43.52px, 6vw, 68px);
}
.landing-page-subheader {
  margin-bottom: 5rem;
}
.landing-page-subheader p {
  line-height: 1.4;
  font-size: clamp(16.32px, 2vw, 20.4px);
}

.landing-page-hero-list {
  border: 1px solid rgb(230, 230, 230);
  border-radius: 1rem;
  box-shadow: 0 0 20px rgb(230, 230, 230);
  padding-top: 2.5rem;
  padding-bottom: 5rem;
  padding-top: 3vw;
  padding-bottom: 5vw;
  width: calc(100% - 10vw);
  max-width: calc(890px + 10vw);
  margin: 0 auto;
  margin-bottom: 4rem;
}

footer {
  background-color: rgb(216, 222, 230);
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: rgb(127, 127, 127);
}
footer a {
  color: rgb(77, 77, 77);
  font-weight: 500;
}
footer a:hover {
  color: rgb(127, 127, 127);
}
footer .text-align-right {
  text-align: right;
}

.content-privacy {
  line-height: 1.4;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.grid-column {
  min-width: 0;
}
