* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section,
summary {
  display: block;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  height: auto;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

*:before,
*:after {
  box-sizing: inherit;
}

/* styleguide */
.styleguide {
  width: 100%;
  min-height: 100dvh;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(
      130deg,
      rgb(var(--b) / .5) 0%,
      rgb(var(--b) / .65) 100%
    ),
    url("/assets/img/bg.webp");
  background-repeat: repeat;
  background-size: auto;
  background-position: center;
  background-blend-mode: screen;
  box-sizing: border-box;
}

.styleguide-grid {
  width: 50%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 2rem 8rem;
  align-items: start;
}

.styleguide-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1rem;
  color: rgb(var(--n) / 1);
  font-size: .75rem;
  line-height: 1;
}

.styleguide-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgb(var(--n) / .2);
}

.styleguide-type-sample {
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.styleguide-type-sample strong {
  color: rgb(var(--c1) / 1);
  font-size: 8rem;
  font-weight: 600;
  line-height: .75;
  letter-spacing: -.1em;
}

.styleguide-colors,
.styleguide-icons {
  grid-column: 1 / -1;
}

.styleguide-palette {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
}

.styleguide-color {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .4rem;
  min-width: 0;
}

.styleguide-color span,
.styleguide-color strong,
.styleguide-color small {
  display: block;
  width: 100%;
}

.styleguide-color strong {
  aspect-ratio: 1 / 1;
}

.styleguide-color-blue strong {
  background: rgb(var(--b) / 1);
}

.styleguide-color-orange strong {
  background: rgb(var(--n) / 1);
}

.styleguide-color-black strong {
  background: rgb(var(--c1) / 1);
}

.styleguide-color-gray strong {
  background: rgb(var(--c2) / 1);
}

.styleguide-color-light strong {
  background: rgb(var(--c3) / 1);
}

.styleguide-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}

.styleguide-form label {
  display: block;
  margin-bottom: .5rem;
  font-size: .75rem;
  font-weight: 600;
}

.styleguide-form input {
  display: block;
  width: 17rem;
  height: 2.4rem;
  padding: 0 .75rem;
  border: 1px solid rgb(var(--n) / 1);
  border-radius: 0;
  background: rgb(var(--b) / 1);
  font: inherit;
}

.styleguide-submit {
  margin-top: .5rem;
  border-color: rgb(var(--b) / 1);
  background: rgb(var(--c3) / 1);
  color: rgb(var(--n) / 1);
}

.styleguide-icon-groups {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: center;
  gap: 3rem;
}

.styleguide-icon-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgb(var(--c2) / 1);
  font-size: 1.5rem;
  font-weight: 700;
}

.styleguide-icon-group-primary {
  color: rgb(var(--c3) / 1);
}

.styleguide-icon-group span {
  display: inline-flex;
  width: 1.6rem;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 700px) {
  
  .styleguide {
    min-height: auto;
    padding: 2rem 1.25rem;
    align-items: flex-start;
  }

  .styleguide-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .styleguide-type-sample {
    min-height: 8rem;
  }

  .styleguide-type-sample strong {
    font-size: 6rem;
  }

  .styleguide-colors,
  .styleguide-icons {
    grid-column: auto;
  }

  .styleguide-palette {
    gap: .5rem;
  }

  .styleguide-icon-groups {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}






















