/*
TYPEPOST CSS
Typepost by Chuck Aligbe
url: http://chuck.aligbe.com/typepost
version: 2.4

-------------
  CSS RESET
-------------
*/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
img,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*
----------
  BASICS
----------
*/
/* Colors */
/* Fonts */
/* Dims */
/* Mixins */
html {
  font-size: 16px;
}

body {
  font-family: Inter, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5em;
  color: #333;
  background: #f0f0f0;
  overscroll-behavior-y: contain;
}

p {
  margin: 0.5em 0 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin: 0.25rem 0;
  line-height: 1.1em;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 0.75rem;
}

h6 {
  font-size: 0.75rem;
}

a {
  font-weight: 600;
  color: #09f;
  text-decoration: none;
  -webkit-transition: opacity 0.25s ease;
  -moz-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

a:hover,
a:focus {
  opacity: 0.625;
}

a > img {
  -webkit-transition: opacity 0.25s ease;
  -moz-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

a:hover > img,
a:focus > img {
  opacity: 0.625;
}

label {
  display: inline-block;
}

button {
  margin: 0;
  padding: 0.25rem 0.5rem;
  height: 3rem;
  border: 2px solid #333;
  border-radius: 2px;
  background-color: #f0f0f0;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  transition: all 0.25s ease;
  cursor: pointer;
}
button img {
  display: inline;
  vertical-align: middle;
  margin-right: 0.5rem;
}

button:hover,
button:focus {
  background-color: #ddd;
}

button:active,
button.active {
  background-color: #333;
  color: white;
}
button:active img,
button.active img {
  filter: invert(1);
}

button:disabled,
button.disabled {
  opacity: 0.5;
  pointer-events: none;
}

*:focus {
  outline: none;
}

button.icon {
  min-width: 3rem;
  width: 3rem;
  padding: 0.5rem;
}
button.icon img {
  margin: 0;
}
button.icon span {
  width: 0;
  height: 0;
  font-size: 0;
  position: absolute;
}

button.secondary {
  height: 3rem;
  border: none;
}
button.secondary:active, button.secondary.active {
  background-color: #666;
}

label.btn-label {
  position: relative;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3rem;
  padding: 0 1rem;
  border: 2px solid #333;
  border-radius: 2px;
  cursor: pointer;
  -webkit-transition: background-color 0.12s ease;
  -moz-transition: background-color 0.12s ease;
  transition: background-color 0.12s ease;
}
label.btn-label img {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
}
label.btn-label:hover, label.btn-label:focus {
  background-color: #ddd;
}
label.btn-label:active, label.btn-label.active {
  background-color: #333;
  color: #fff;
}
label.btn-label:active img, label.btn-label.active img {
  filter: invert(1);
}

@media screen and (max-width: 720px) {
  body {
    min-height: initial;
    height: 100svh;
  }
}
/*
------------
  CONTROLS
------------
*/
input[type=range] {
  width: 99%;
  -webkit-appearance: none;
  height: 3px;
  border-radius: 5px;
  background: #333;
  padding: 0;
  vertical-align: middle;
  margin: 16px 0;
  opacity: 0.85;
  -webkit-transition: all 0.12s ease;
  -moz-transition: all 0.12s ease;
  transition: all 0.12s ease;
}
input[type=range]:hover, input[type=range]:focus {
  opacity: 1;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 19px;
  height: 19px;
  background-color: #f0f0f0;
  border: 3px solid #333;
  border-radius: 50%;
  transition: transform 0.2s ease;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb:hover, input[type=range]::-webkit-slider-thumb:focus {
  transform: scale(1.25);
}
input[type=range]::-moz-range-thumb {
  width: 19px;
  height: 19px;
  background-color: #f0f0f0;
  border: 3px solid #333;
  border-radius: 50%;
  transition: transform 0.2s ease;
  cursor: pointer;
}
input[type=range]::-moz-range-thumb:hover, input[type=range]::-moz-range-thumb:focus {
  transform: scale(1.25);
}
input[type=range]::-ms-thumb {
  width: 19px;
  height: 19px;
  background-color: #f0f0f0;
  border: 3px solid #333;
  border-radius: 50%;
  transition: transform 0.2s ease;
  cursor: pointer;
}
input[type=range]::-ms-thumb:hover {
  transform: scale(1.25);
}
input[type=range]:disabled {
  opacity: 0.5;
  pointer-events: none;
}
input[type=range]:disabled::-webkit-slider-thumb {
  transform: none;
}
input[type=range]:disabled::-moz-range-thumb {
  transform: none;
}
input[type=range]:disabled::-ms-thumb {
  transform: none;
}

select {
  appearance: none;
  background-color: transparent;
  background-image: url("./img/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: center right 8px;
  width: 100%;
  height: 2.5rem;
  padding: 0.25rem 2rem 0.25rem 0.5rem;
  border: 2px solid #333;
  border-radius: 4px;
  transition: border 0.2s ease;
  cursor: pointer;
}
select:hover, select:focus {
  border: 2px dashed #333;
}
select:disabled, select.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.listbox {
  width: 100%;
  position: relative;
}
.listbox button {
  width: 100%;
  height: 2.5rem;
  background-color: transparent;
  background-image: url("./img/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: center right 8px;
  color: #333;
  font-weight: normal;
  text-align: left;
  border-radius: 0.25rem;
}
.listbox button:hover, .listbox button:focus {
  border: 2px dashed #333;
}
.listbox button:disabled, .listbox button.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.listbox .lb-options {
  width: 100%;
  position: absolute;
  top: 2.75rem;
  z-index: 9;
}
.listbox .lb-options ul {
  background-color: #ddd;
  border-radius: 0.25rem;
  box-shadow: 2px 2px 4px #c9c9c9;
  list-style: none;
  margin: 0;
  padding: 0;
  padding: 0.25rem 0;
  height: 12rem;
  overflow-y: scroll;
  scrollbar-color: rgba(154, 154, 154, 0.8) transparent;
}
.listbox .lb-options ul::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.listbox .lb-options ul::-webkit-scrollbar-thumb {
  background: rgba(154, 154, 154, 0.8);
}
.listbox .lb-options ul::-webkit-scrollbar-track {
  background: transparent;
}
.listbox .lb-options li {
  padding: 0.5rem 1rem 0.5rem 3rem;
  cursor: pointer;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.listbox .lb-options li:hover, .listbox .lb-options li:focus, .listbox .lb-options li.active {
  background-color: rgba(128, 128, 128, 0.4);
}
.listbox .lb-options .selected {
  position: relative;
}
.listbox .lb-options .selected > img {
  position: absolute;
  left: -2rem;
}

.panel {
  display: block;
  position: relative;
  margin-bottom: 2rem;
}
.panel--title {
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #999;
}
.panel h2 {
  font-size: 1.25rem;
  font-weight: 400;
}
.panel h4 {
  margin: 1rem 0;
}
.panel .emph {
  text-decoration: underline dotted;
}
.panel #txt-colors {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
}
.panel #txt-colors .cell {
  position: relative;
  flex: 1 1 auto;
}
.panel #bg-grad {
  display: block;
  width: 100%;
}
.panel #bg-duo {
  display: grid;
  grid-template-columns: 1fr 2.5rem 1fr;
  grid-gap: 0.5rem;
}
.panel #bg-duo .cell {
  position: relative;
}
.panel #bg-duo #col-swap {
  align-self: end;
}
.panel #bg-duo #col-swap label {
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
.panel #bg-duo #col-swap button {
  position: relative;
  bottom: 0.25rem;
  border: none;
  border-radius: 99px;
  min-width: 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.panel #bg-duo #col-swap button:hover, .panel #bg-duo #col-swap button:focus {
  opacity: 0.625;
  background-color: #c9c9c9;
}

/*
----------
  OUTPUT
----------
*/
div.overlay {
  position: absolute;
  z-index: 99;
  inset: 0;
  display: none;
  background-color: rgba(12, 12, 12, 0.6);
}
div.overlay.visible {
  display: grid;
  place-items: center;
}

div.modal {
  width: clamp(20rem, 50vw, 70vh);
  padding: 1rem;
  background-color: #f0f0f0;
  z-index: 199;
  border-radius: 4px;
}
div.modal div.content {
  margin-bottom: 2rem;
}
div.modal div.actions {
  display: flex;
  gap: 0.5rem;
}
div.modal div.actions > button {
  flex-basis: 50%;
}
div.modal div.actions > button.full-width {
  flex-basis: 100%;
}

div#downloader {
  display: none;
  width: 0;
  height: 0;
  overflow: hidden;
}

/*
---------------
  INTERACTION
---------------
*/
.loading {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  background: #cccccc;
}
.loading span {
  font-size: 2rem;
  font-weight: bold;
}

.color-change {
  -webkit-animation: color-change 1s ease-out infinite alternate both;
  animation: color-change 1s ease-out infinite alternate both;
}

@-webkit-keyframes color-change {
  0% {
    background: #cccccc;
  }
  100% {
    background: #eeeeee;
  }
}
@keyframes color-change {
  0% {
    background: #cccccc;
  }
  100% {
    background: #eeeeee;
  }
}
/*
-----------
  STYLIZE
-----------
*/
.sans {
  font-family: Inter, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.serif {
  font-family: "IBM Plex Serif", "Georgia", "Times New Roman", Times, serif;
}

.mono {
  font-family: "Space Mono", Monaco, SF Mono, "Courier New", Courier, monospace;
}

.geom {
  font-family: "Poppins", "Century Gothic", sans-serif;
}

.cond {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
}

.mode {
  font-family: "Archia", "Century Gothic", sans-serif;
}

.disp {
  font-family: "Chaney", "Arial Black", Helvetica, Arial, sans-serif;
}

.brut {
  font-family: "ClashDisplay", "Arial Black", Helvetica, Arial, sans-serif;
}

.slab {
  font-family: "ZillaSlab", "Rockwell", "Courier New", Courier, serif;
}

.regular {
  font-weight: normal;
  font-style: normal;
}

.bold {
  font-weight: bold;
}

.ital {
  font-style: italic;
}

.under {
  text-decoration: underline;
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

.align-justify {
  text-align: justify;
}

.single .textbox:not(#body) {
  display: none;
}
.single.align-distribute {
  grid-template-rows: 1fr;
}

.double .textbox#footer {
  display: none;
}

.double-alt .textbox#header {
  display: none;
}

.triple .textbox {
  display: block;
}
.triple.align-top {
  grid-template-rows: auto 1fr auto;
}

.align-top {
  align-content: start !important;
}

.align-middle {
  align-content: center !important;
}

.align-bottom {
  align-content: end !important;
}

.align-distribute {
  align-content: space-between !important;
}

.hidden {
  display: none;
}

.visible {
  display: initial;
}

span.placeholder {
  opacity: 0.5;
}

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