/* ----------------------------------------------------------------
 * ! LAYOUT */
 
.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.space-between {
  justify-content: space-between;
}

.center-cross-axis {
  align-items: center;
}

.w-fit-content {
  width: fit-content;
}

.gap {
  gap: 0.5rem
}
.gap-1 {
  gap: 1rem
}
.gap-2 {
  gap: 2rem
}

.w-full {
  width: 100%
}

.block {
  display: block
}


/* ----------------------------------------------------------------
 * ! COLOR */

.half-opacity {
  opacity: 0.5
}

.bg-max {
  background-color: var(--color--bg-max)
}


/* ----------------------------------------------------------------
 * ! SPACING */

.py-1 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}


/* ----------------------------------------------------------------
 * ! TEXT */
 
.ghost {
  color: var(--color--aa-text)
}

.text-light {
  font-weight: var(--font-weight--light)
}

.subtle-text {
  color: var(--color--aa-text)
}

.critical-text {
  color: red
}

.success-text {
  color: green
}


/* ----------------------------------------------------------------
 * ! FORMS */

/* Make button_to forms behave like regular links */
.as-link {
  display: inline;
  margin: 0;
  padding: 0;
}

.as-link button {
  background: none;
  border: none;
  color: var(--color--primary-base);
  cursor: pointer;
  display: inline;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}

/* .as-link button:hover {
  text-decoration: none;
} */
