:root {
  --dark-green: lch(13 14.8 197);
  /* From LAB: 13, -13, -4 */
  --midnight-green: lch(27 18.7 199);
  /* From LAB: 27, -17, -6 */
  --yellow-green: lch(74 78.4 117);
  /* From LAB: 74, -37, 69 */
  --persimmon: lch(56 81.4 50);
  /* From LAB: 56, 52, 62 */
  --radish: lch(56 81.4 20);
  /* From LAB: 56, 52, 62 */
  --alabaster: lch(92 7.1 82);
  /* From LAB: 92, 1, 7 */
  /* Primary */
  --primary-shade: lch(33.91% 50.49 285.96);
  /* Twilight Blue */
  --twilight-blue-shade: lch(98.54% 5.38 199.35);
  /* Neutral */
  --neutral-shade: lch(5.46% 0 134.54);
  /* Success */
  --success-shade: lch(80.84% 79.48 114.02);
  /* Caution */
  --caution-shade: lch(79.2% 78.44 89.96);
  /* Danger */
  --danger-shade: lch(59.26% 83.69 48.2);
  /* Info */
  --info-shade: lch(49.76% 42.37 255.37);
}
:root {
  --contentBg: white;
  --textColor: var(--dark-green);
  --textHighlight: var(--yellow-green);
}
body,
html {
  min-height: 100%;
}
body {
  background-color: var(--contentBg);
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  text-align: center;
  color: var(--textColor);
}
h1 {
  font-weight: 100;
  font-size: 3em;
  color: lch(19.5% 34.7 285.96);
}
h1:after {
  content: ".";
  color: lch(49.12% 70.78 18.83);
}
button {
  cursor: pointer;
  appearance: none;
  transition: transform 300ms;
  font-family: inherit;
}
button:active {
  transform: scale(90%);
}
* {
  outline: 3px solid transparent;
}
*:focus {
  outline: 3px solid lch(49.12% 70.78 18.83 / 0.3);
  border-color: lch(49.12% 70.78 18.83) !important;
}
#new-note {
  background: lch(90% 9.7 285.96);
  color: lch(19.5% 34.7 285.96);
  border: 2px solid lch(19.5% 34.7 285.96);
  font-weight: 200;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 24px;
  transition: 300ms;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
#new-note svg {
  width: 24px;
  height: 24px;
}
#new-note svg path {
  fill: lch(19.5% 34.7 285.96);
}
#new-note:active {
  box-shadow: 0 0 15px lch(19.5% 34.7 285.96 / 0.5);
}
.articles-button {
  background: var(--midnight-green);
  color: var(--alabaster);
  padding: 10px 15px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  display: block;
  margin-top: auto;
  font-family: inherit;
  font-weight: 300;
}
.articles-button:after {
  content: "";
  background: url("/img/article.svg") no-repeat center center / contain;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  vertical-align: middle;
}
main {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  justify-content: center;
}
main nav {
  flex: 300px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
main nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.note-preview {
  background: lch(0 0 0/0.02);
  border-radius: 10px;
  padding: 15px;
  text-align: left;
  box-shadow: inset 0 0px 5px 0 lch(0 0 0/0.05), inset 0 2px 7px 0 lch(0 0 0/0.05), 0 0px 5px 2px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}
.notes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-grow: 1;
}
.notes .note {
  --theme: lch(83.53% 70.03 84.71);
  background: lch(from var(--theme) 95% 35% h);
  border-radius: 10px;
  border: 1px solid transparent;
  outline: 3px solid transparent;
  padding: 15px;
  text-align: left;
  box-shadow: inset 0 0 5px 0 lch(0 0 0/0.05), inset 0 2px 7px 0 lch(0 0 0/0.05);
  backdrop-filter: blur(10px);
  flex: 100% 1 1;
  display: flex;
}
.notes .note:focus-within {
  background: lch(from var(--theme) 95% 35% h / 0.8);
  outline: 3px solid lch(from var(--theme) l c h / 0.3);
  border-color: var(--theme);
  box-shadow: none;
}
.notes .note .drawer {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.notes .note .drawer button {
  cursor: pointer;
}
.notes .note .drawer .delete {
  background: var(--radish);
  border-radius: 10px;
  width: 20px;
  height: 20px;
  border: none;
  font-family: inherit;
  mask: url("/img/delete.svg") no-repeat center center / contain;
}
.notes .note .drawer .color {
  border-radius: 10px;
  width: 24px;
  height: 24px;
  border: none;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notes .note .drawer .color::after {
  content: "";
  mask: url("/img/color.svg") no-repeat center center / contain;
  background: var(--theme);
  width: 20px;
  height: 20px;
}
.notes .note .content {
  min-height: 3em;
  word-break: break-word;
  flex-grow: 1;
  cursor: text;
}
.notes .note .content:focus {
  outline: none;
}
.notes .note .content:empty::before {
  content: "Your note here";
  font-style: italic;
  color: lch(0 0 0/0.5);
}
@media screen and (max-width: 850px) {
  main {
    flex-direction: column-reverse;
  }
  nav {
    width: 100%;
  }
}

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