:root {
  --bg: rgb(229, 236, 238);
}

html {
  hanging-punctuation: first last;
  /* color-scheme: dark light; */
}

* {
  box-sizing: border-box;
  min-width: none;
  font-family: "Inter", sans-serif;
}

/* every target has scrolling, even overflow:scroll ones */
@media (prefers-reduced-motion: no-preference) {
  :has(:target) {
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
  }
}
@font-face {
  font-family: "Material Symbols Rounded";
  font-display: block;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: #222;
}

/* better title breaking, only affects 2-4 lines */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/* prevent orphans and better text readability */
p {
  /* max-width: 70ch; */
  text-wrap: pretty;
}

img {
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 1rem;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul[class] {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  max-width: none;
  max-height: none;
}

textarea {
  resize: none;
}

a:has(> .btn), button:has(> .btn), .btn, .btn a, .btn p {
  text-decoration: none;
}

.btn {
  background-color: var(--btn-bg);
  color: var(--btn-color);
  padding: 1rem 2rem;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  flex-grow: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: all 0.15s ease-in-out;
  }
}
.btn:has(> :only-child), .btn.btn-icon {
  padding: 1rem;
  border-radius: 25%;
}
.btn:hover {
  background-color: var(--btn-bg-hover);
  color: var(--btn-color-hover);
}
.btn:hover.icon-effects {
  font-variation-settings: "FILL" 1;
}
.btn:active {
  background-color: var(--btn-bg-active);
  color: var(--btn-color-active);
}
@media (prefers-reduced-motion: no-preference) {
  .btn:active {
    scale: 0.97;
  }
}
.btn.btn-primary {
  --btn-bg: #222;
  --btn-bg-hover: color-mix(in srgb, var(--btn-bg), white 10%);
  --btn-bg-active: #000;
  --btn-color: #fff;
  --btn-color-hover: var(--btn-color);
  --btn-color-active: var(--btn-color);
}
.btn.btn-secondary {
  --btn-bg: #FFF;
  --btn-bg-hover: color-mix(in srgb, var(--btn-bg), black 10%);
  --btn-bg-active: #EEE;
  --btn-color: #222;
  --btn-color-hover: var(--btn-color);
  --btn-color-active: var(--btn-color);
}
.btn.btn-danger {
  --btn-bg: rgb(232, 0, 0);
  --btn-bg-hover: color-mix(in srgb, var(--btn-bg), black 10%);
  --btn-bg-active: rgb(232, 0, 0);
  --btn-color: #fff;
  --btn-color-hover: var(--btn-color);
  --btn-color-active: var(--btn-color);
}
.btn.btn-success {
  --btn-bg: #0f0;
  --btn-bg-hover: color-mix(in srgb, var(--btn-bg), black 10%);
  --btn-bg-active: #0c0;
  --btn-color: #fff;
  --btn-color-hover: var(--btn-color);
  --btn-color-active: var(--btn-color);
}
.btn.btn-transparent {
  --btn-bg: transparent;
  --btn-bg-hover: color-mix(in srgb, var(--btn-bg), black 10%);
  --btn-bg-active: rgba(0, 0, 0, .1);
  --btn-color: #222;
  --btn-color-hover: var(--btn-color);
  --btn-color-active: var(--btn-color);
}
.btn.btn-left {
  justify-content: flex-start;
}
.btn.btn-right {
  justify-content: flex-end;
}
.btn.btn-center {
  justify-content: center;
}
.btn.disabled, .btn[disabled] {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}
.btn.btn-full-width {
  width: 100%;
}/*# sourceMappingURL=global.css.map */