/* -------------------------------- 

File#: _1_note
Title: Note
Descr: A brief piece of information given to the user
Usage: codyhouse.co/license

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

* {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background-color: hsl(0, 0%, 100%);
  font-family: system-ui, sans-serif;
  color: hsl(230, 7%, 23%);
  font-size: 1rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: hsl(230, 13%, 9%);
  font-weight: 700;
}

h1 {
  font-size: 2.0736rem;
}

h2 {
  font-size: 1.728rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.2rem;
}

ol, ul, menu {
  list-style: none;
}

button, input, textarea, select {
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  line-height: inherit;
  appearance: none;
}

textarea {
  resize: vertical;
  overflow: auto;
  vertical-align: top;
}

a {
  color: hsl(250, 84%, 54%);
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

@media (min-width: 64rem) {
  body {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 3.051rem;
  }

    h2 {
    font-size: 2.44rem;
  }

    h3 {
    font-size: 1.75rem;
  }

    h4 {
    font-size: 1.5625rem;
  }
}

/* variables */
:root {
  /* colors */
  --ns0-color-primary-hsl: 250, 84%, 54%;
  --ns0-color-bg-hsl: 0, 0%, 100%;
  --ns0-color-contrast-high-hsl: 230, 7%, 23%;
  --ns0-color-contrast-higher-hsl: 230, 13%, 9%;
  --ns0-color-success-hsl: 170, 78%, 36%;
  --ns0-color-warning-dark-hsl: 35, 79%, 56%;
  --ns0-color-warning-hsl: 35, 79%, 66%;
  --ns0-color-error-hsl: 342, 89%, 48%;
  --ns0-color-bg-light-hsl: 0, 0%, 100%;
  --ns0-color-accent-hsl: 342, 89%, 48%;
  --ns0-color-contrast-lower-hsl: 240, 4%, 85%;

  /* spacing */
  --ns0-space-3xs: 0.25rem;
  --ns0-space-sm: 0.75rem;
  --ns0-space-md: 1.25rem;
  --ns0-space-xs: 0.5rem;

  /* typography */
  --ns0-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --ns0-space-3xs: 0.375rem;
    --ns0-space-sm: 1.125rem;
    --ns0-space-md: 2rem;
    --ns0-space-xs: 0.75rem;

    /* typography */
    --ns0-text-sm: 1rem;
  }
}

/* icons */
.ns0-icon {
  height: var(--ns0-size, 1em);
  width: var(--ns0-size, 1em);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

.ns0-icon--md {
  --ns0-size: 32px;
}

/* component */
.note {
  background-color: hsl(var(--ns0-color-bg-light-hsl));
  border-left: 3px solid hsl(var(--ns0-color-primary-hsl));
  box-shadow: 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
  /* 👇 you can ovveride this padding using the padding utility classes */
}
.note:not([class^=padding-]):not([class*=" padding-"]) {
  padding: var(--ns0-space-sm);
}

.note--warning {
  border-left-color: hsl(var(--ns0-color-warning-hsl));
}

.note--error {
  border-left-color: hsl(var(--ns0-color-error-hsl));
}

.note--success {
  border-left-color: hsl(var(--ns0-color-success-hsl));
}

.ns0-text-component {
  /* reset in case the component is used inside a .ns0-text-component */
}
.ns0-text-component .note__content > *:last-child {
  margin-bottom: 0;
}
.ns0-text-component .note__title {
  margin-bottom: 0;
}

/* utility classes */
.ns0-text-component :where(h1, h2, h3, h4) {
  line-height: var(--ns0-heading-line-height, 1.2);
  margin-top: calc(var(--ns0-space-md) * var(--ns0-space-multiplier, 1));
  margin-bottom: calc(var(--ns0-space-sm) * var(--ns0-space-multiplier, 1));
}

.ns0-text-component :where(p, blockquote, ul li, ol li) {
  line-height: var(--ns0-body-line-height, 1.4);
}

.ns0-text-component :where(ul, ol, p, blockquote, .ns0-text-component__block) {
  margin-bottom: calc(var(--ns0-space-sm) * var(--ns0-space-multiplier, 1));
}

.ns0-text-component :where(ul, ol) {
  padding-left: 1.25em;
}

.ns0-text-component ul :where(ul, ol), .ns0-text-component ol :where(ul, ol) {
  padding-left: 1em;
  margin-bottom: 0;
}

.ns0-text-component ul {
  list-style-type: disc;
}

.ns0-text-component ol {
  list-style-type: decimal;
}

.ns0-text-component img {
  display: block;
  margin: 0 auto;
}

.ns0-text-component figcaption {
  margin-top: calc(var(--ns0-space-xs) * var(--ns0-space-multiplier, 1));
  font-size: var(--ns0-text-sm);
  text-align: center;}

.ns0-text-component em {
  font-style: italic;
}

.ns0-text-component strong {
  font-weight: bold;
}

.ns0-text-component s {
  text-decoration: line-through;
}

.ns0-text-component u {
  text-decoration: underline;
}

.ns0-text-component mark {
  background-color: hsla(var(--ns0-color-accent-hsl), 0.2);
  color: inherit;
}

.ns0-text-component blockquote {
  padding-left: 1em;
  border-left: 4px solid hsl(var(--ns0-color-contrast-lower-hsl));
  font-style: italic;
}

.ns0-text-component hr {
  margin: calc(var(--ns0-space-md) * var(--ns0-space-multiplier, 1)) auto;
  background: hsl(var(--ns0-color-contrast-lower-hsl));
  height: 1px;
}

.ns0-text-component > *:first-child {
  margin-top: 0;
}

.ns0-text-component > *:last-child {
  margin-bottom: 0;
}

.ns0-text-component.ns0-line-height-xs {
  --ns0-heading-line-height: 1;
  --ns0-body-line-height: 1.1;
}

.ns0-text-component.ns0-line-height-sm {
  --ns0-heading-line-height: 1.1;
  --ns0-body-line-height: 1.2;
}

.ns0-text-component.ns0-line-height-md {
  --ns0-heading-line-height: 1.15;
  --ns0-body-line-height: 1.4;
}

.ns0-text-component.ns0-line-height-lg {
  --ns0-heading-line-height: 1.22;
  --ns0-body-line-height: 1.58;
}

.ns0-text-component.ns0-line-height-xl {
  --ns0-heading-line-height: 1.3;
  --ns0-body-line-height: 1.72;
}

.ns0-margin-right-sm {
  margin-right: var(--ns0-space-sm);
}

.ns0-margin-top-3xs {
  margin-top: var(--ns0-space-3xs);
}

.ns0-flex {
  display: flex;
}

.ns0-color-contrast-higher {
  --ns0-color-o: 1;
  color: hsla(var(--ns0-color-contrast-higher-hsl), var(--ns0-color-o, 1));
}

.ns0-items-center {
  align-items: center;
}