:root{--h: 229;--s: 60%;--l: 64%;--accent: var(--accent-light);--text-100: hsl(var(--h), 100%, 80%);--text-200: hsl(var(--h), 43%, 21%);--text-300: hsl(var(--h), 43%, 14%);--surface-100: hsl(var(--h), var(--s), 100%);--surface-200: hsl(var(--h), var(--s), 96%);--surface-300: hsl(var(--h), 70%, 93%);--surface-400: hsl(var(--h), 70%, 90%);--surface-500: hsl(var(--h), 70%, 86%);--border-100: hsl(var(--h), 14%, 83%);--others-yellow: hsl(36deg, 99%, 63%);--others-red: hsl(12deg, 100%, 59%)}[color-scheme=dark]{--accent: var(--accent-dark);--text-100: hsl(var(--h), 14%, 90%);--text-200: hsl(var(--h), 14%, 83%);--text-300: hsl(var(--h), 85%, 80%);--border-100: hsl(207deg, 43%, 21%);--surface-100: hsl(207deg, 43%, 9%);--surface-200: hsl(207deg, 43%, 14%);--surface-300: hsl(207deg, 43%, 17%);--surface-400: hsl(207deg, 43%, 20%);--surface-500: hsl(207deg, 43%, 25%);--others-yellow: hsl(36deg, 99%, 70%);--others-red: hsl(12deg, 100%, 66%)}[color-scheme=light]{--accent: var(--accent-light);--text-100: hsl(var(--h), 100%, 80%);--text-200: hsl(var(--h), 43%, 21%);--text-300: hsl(var(--h), 43%, 14%);--surface-100: hsl(var(--h), var(--s), 100%);--surface-200: hsl(var(--h), var(--s), 96%);--surface-300: hsl(var(--h), 70%, 93%);--surface-400: hsl(var(--h), 70%, 90%);--surface-500: hsl(var(--h), 70%, 86%);--border-100: hsl(var(--h), 14%, 83%);--others-yellow: hsl(36deg, 99%, 63%);--others-red: hsl(12deg, 100%, 59%)}@media (prefers-color-scheme: dark){:root{--accent: var(--accent-dark);--text-100: hsl(var(--h), 14%, 90%);--text-200: hsl(var(--h), 14%, 83%);--text-300: hsl(var(--h), 85%, 80%);--border-100: hsl(207deg, 43%, 21%);--surface-100: hsl(207deg, 43%, 9%);--surface-200: hsl(207deg, 43%, 14%);--surface-300: hsl(207deg, 43%, 17%);--surface-400: hsl(207deg, 43%, 20%);--surface-500: hsl(207deg, 43%, 25%);--others-yellow: hsl(36deg, 99%, 70%);--others-red: hsl(12deg, 100%, 66%)}}.page__subtitle{text-transform:uppercase;letter-spacing:1px}.pages{grid-row:1/-1;grid-column:calc(var(--sidebar-span) + 1)/-1;padding:clamp(1.5rem,3vw,2rem);overflow-y:auto}@media (max-width: 1100px){.pages{grid-column:3/-2}}@media (max-width: 750px){.pages{grid-column:1/-1;grid-row:1}}.page{animation:slideIn .25s ease-in-out forwards;margin-top:clamp(1.5rem,3vw,2rem)}.page__title{margin-top:.5rem;font-size:clamp(1.25rem,3vw + 1rem,1.75rem)}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box;transition:all .15s ease-in-out;transition-property:background-color,border}body{color:var(--text-200);background-color:var(--surface-100);font-family:Lato,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}.App{--sidebar-span: 3;min-height:100vh;display:grid;grid-template-columns:repeat(12,1fr);overflow-y:hidden}@media (max-width: 750px){.App{grid-template-rows:1fr 3.5rem}}header{display:flex;justify-content:space-between}.sidebar__item{text-transform:uppercase;letter-spacing:1px}.sidebar{background-color:var(--surface-200);padding:2rem;user-select:none;grid-column:span var(--sidebar-span);max-width:18rem;position:fixed;top:0;width:100%;height:100%}.sidebar__list{display:flex;gap:1rem;list-style:none;flex-direction:column;margin-top:2rem}.sidebar__item{display:flex;height:3rem;gap:.5rem;align-items:center;cursor:pointer;background-color:var(--surface-200);border-radius:6px;padding:0 6px;transition:all .15s ease-in-out;transition-property:background-color,color}.sidebar__item:hover{background-color:var(--surface-300)}.sidebar .active{color:hsl(var(--h),90%,var(--l))}@media (max-width: 1100px){.sidebar{--sidebar-span: 1;width:max-content}.sidebar__name{display:none}.sidebar__item{padding:12px}}@media (max-width: 750px){.sidebar{height:3.5rem;inset:auto 0 0 0;width:100%;z-index:10;margin:0;padding:0;grid-column:1/-1;max-width:100%;display:flex;align-items:center;justify-content:space-around}.sidebar nav{width:100%}.sidebar__logo{display:none}.sidebar__list{flex-direction:row;justify-content:space-around;margin-top:0}}.task,.task__name,.task button{display:flex;align-items:center;line-height:0}.task__icon,.task__check{display:flex;justify-content:center;align-items:center}.task{--size: 2.5rem;--brr: .25rem;width:min(720px,100%);background-color:var(--surface-200);min-height:var(--size);border-radius:var(--brr);position:relative;animation:slideIn .2s ease-in-out forwards}.task__name{position:relative;line-height:1.25;padding:.5rem 0}.task__name:before{display:block;margin-top:2px;content:"";height:1px;background-color:var(--text-200);width:100%;position:absolute;transform:scaleX(0);transform-origin:left}.task__name.dashed{opacity:.8}.task__name.dashed:before{animation:drawLine .25s ease-in-out forwards}.task__icon{background-color:transparent;border:none;min-width:var(--size);height:var(--size);flex-shrink:0}.task__icon:hover{background-color:var(--surface-300)}.task .important-icon{margin-left:auto}.task .important-icon svg{transition:all .25s ease-in-out;transition-property:fill,stroke}.task .important-icon.important svg{stroke:none;fill:var(--others-yellow)}.task .delete-icon{border-radius:0 var(--brr) var(--brr) 0}.task+.task{margin-top:1rem}.task button{appearance:none;cursor:pointer}.task__check{--size: 1.25rem;margin:0 .75rem;height:var(--size);width:var(--size);border-radius:var(--size);border:2px solid var(--surface-400);background-color:transparent;flex-shrink:0}.task__check svg{margin-top:1px}.task__check svg path{stroke-dasharray:18;stroke-dashoffset:18;animation:drawTick .25s cubic-bezier(.215,.61,.355,1) forwards .15s}.task__check.completed{background-color:hsl(var(--h),var(--s),var(--l));border:none}.task .edit-task{position:absolute;left:2.5rem;font:inherit;background-color:var(--surface-200);color:var(--text-200);border:none;height:100%;width:calc(100% - 2.5rem);outline:2px solid var(--surface-500);padding:0 1rem;border-radius:var(--brr)}@keyframes drawTick{to{stroke-dashoffset:0}}@keyframes slideIn{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes drawLine{to{transform:scaleX(1)}}.content{text-transform:uppercase;letter-spacing:1px}.empty-state{display:flex;justify-content:center;align-items:center}.empty-state{height:50vh;flex-direction:column;gap:1.25rem}.content{font-weight:700;letter-spacing:2px;font-size:small}.toggler{display:flex;align-items:center;line-height:0}.toggle__circle{display:flex;justify-content:center;align-items:center}#theme-toggle{position:absolute;left:-999px}.toggler{height:25.6px;width:51.2px;display:inline-flex;border-radius:500px;background-color:var(--surface-200);padding:0 4px;outline:1px solid var(--surface-300);outline-offset:1px}.toggler:hover{outline:2px solid var(--surface-400)}.toggle__circle{height:18px;width:18px;border-radius:22px;background-color:var(--surface-100);transition-property:transform,color,background-color}.toggle__circle .sun-icon{margin-bottom:1px}#theme-toggle:checked~.toggle__circle{transform:translate(24px)}.task-input__btn{text-transform:uppercase;letter-spacing:1px}.task-input__btn{display:flex;align-items:center;line-height:0}.task-input{width:min(720px,100%);height:2.5rem;position:relative;margin-top:2rem}.task-input__input{width:100%;height:inherit;appearance:none;border:1px solid var(--surface-300);background-color:var(--surface-200);border-radius:4px;font:inherit;color:var(--text-200);padding:0 5.5rem 0 1rem;outline-color:var(--surface-400);outline-offset:0px}.task-input__input::placeholder{color:var(--text-200);opacity:.6}.task-input__input:focus-visible{outline:1px solid var(--surface-400);outline-offset:3px}.task-input__btn{position:absolute;inset:4px 4px 4px auto;background-color:var(--surface-300);color:inherit;min-width:2.5rem;appearance:none;border-radius:4px;border:none;gap:.25rem;padding:0 .5rem;transition-property:transform,outline,background-color,color;outline-color:var(--surface-400)}.task-input__btn:focus-visible{outline:2px solid var(--surface-400)}.task-input__btn:active{transform:scale(.96)}
