@import url("https://fonts.googleapis.com/css2?family=Tulpen+One&display=swap");@import url("https://fonts.googleapis.com/css2?family=Roboto:wdth,wght@75,100..900&display=swap");@import url("https://fonts.googleapis.com/css2?family=Rationale&display=swap");@import url("https://fonts.googleapis.com/css2?family=Codystar:wght@300;400&display=swap");



.tulpen-one-regular {
  font-family: "Tulpen One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 75;
}

.rationale-regular {
  font-family: "Rationale", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.codystar-light {
  font-family: "Codystar", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.codystar-regular {
  font-family: "Codystar", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.flex-fill {
  flex: 1 1 auto;
}

.flex-grow {
  flex-grow: 1;
}

.flex-shrink {
  flex-shrink: 1;
}

.flex-row,
.flex-horz {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.flex-column,
.flex-vert {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
}

.gap-5 {
  gap: 5px;
}

.gap-10 {
  gap: 10px;
}

.gap-25 {
  gap: 25px;
}

.gap-0 {
  gap: 0;
}

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

.justify-center {
  justify-content: center;
}

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

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

.align-start {
  align-items: start;
}

.justify-start {
  justify-content: start;
}

.align-center.justify-center,
.centered {
  align-items: center;
  justify-content: center;
}

.ms-5px,
.ml-5px {
  margin-left: 5px;
}

.ms-10px,
.ml-10px {
  margin-left: 10px;
}

.ms-25px,
.ml-25px {
  margin-left: 25px;
}

.ms-50px,
.ml-50px {
  margin-left: 50px;
}

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

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

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

.ta-start,
.text-start {
  text-align: start;
}

.ta-end,
.text-end {
  text-align: end;
}

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

.no-select {
  user-select: none;
}

.no-mouse {
  pointer-events: none;
}

.d-flex {
  display: flex;
}

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

.d-flex-row {
  display: flex;
  flex-direction: row;
}

.d-grid {
  display: grid;
}

.d-inline {
  display: inline;
}

.d-inline-block {
  display: inline-block;
}

.d-none {
  display: none;
}

.d-content,
.d-contents {
  display: contents;
}

.d-block {
  display: block;
}

.d-inline-flex {
  display: inline-flex;
}

.d-inline-flex-column {
  display: inline-flex;
  flex-direction: column;
}

.d-inline-flex-row {
  display: inline-flex;
  flex-direction: row;
}

* {
  box-sizing: border-box;
}

:root {
  color-scheme: light dark;
  --dark-fill: #111;
  --dark-text: #9ca3af;
  --light-fill: #fff;
  --light-text: #6b6375;
  --dark-fill-wip: black;
  --dark-text-wip: slategray;
  --light-fill-wip: black;
  --light-text-wip: white;
  --dark-accent: slategray;
  --light-accent: orangered;
  --dark-shade: #222;
  --light-shade: #f4f3ec;
  --text: #6b6375;
  --text-h: #08060d;
  --bg: #fff;
  --border: #e5e4e7;
  --code-bg: #f4f3ec;
  --accent: orangered;
  --accent-bg: orangered;
  --accent-border: orangered;
  --shadow: rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: light-dark(var(--light-fill), var(--dark-fill));
  color: light-dark(var(--light-text), var(--dark-text));
  background-repeat: repeat;
  background-attachment: fixed;
  background-position: center middle;
  background-image: url("/loops/dark/simple_dashed.png");
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #111;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: orangered;
    --accent-bg: rgba(0, 0, 0, 0.5);
    --accent-border: orangered;
    --social-bg: rgba(47, 48, 58, 0.5);
    --shadow:
    	rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }
}
.light {
  color-scheme: light;
}

.dark {
  color-scheme: dark;
}

body,
html {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
}

body,
input,
textarea,
button,
select {
  font-size: 1.5rem;
  min-width: 0;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  gap: 1rem;
}

h1 {
  font-size: 5rem;
  line-height: 4.5rem;
  margin: 0rem 0;
  user-select: none;
  border-bottom: 1px dashed color-mix(in srgb, var(--dark-text), black 50%);
  font-weight: 100;
}
@media (max-width: 1024px) {
  h1 {
    font-size: 3.5rem;
    line-height: 2.5rem;
  }
}

h2.subtitle {
  font-size: 1.25rem;
  margin: 0 2.5rem;
  color: var(--text);
  opacity: 0.5;
  transition: all 0.5s ease-in-out;
  user-select: none;
  font-weight: 400;
  letter-spacing: -0.5px;
  text-align: center;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  display: inline-block;
  background-color: light-dark(var(--light-shade), var(--dark-shade));
}
h2.subtitle:hover {
  opacity: 0.75;
}

p {
  font-size: 1.25rem;
  color: #555;
}

input[type=text],
input[type=password] {
  padding: 5px 10px;
  outline: none;
  border: 1px solid grey;
  opacity: 0.5;
  transition: all 0.25s ease-in-out;
  letter-spacing: 0px;
  border-radius: 5px;
  background-color: light-dark(var(--light-shade), var(--dark-shade));
}
input[type=text]:hover,
input[type=password]:hover {
  opacity: 0.75;
}
input[type=text]:focus,
input[type=password]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 5px 5px color-mix(in srgb, orangered, black 75%);
  outline: none;
  opacity: 1;
}
input[type=text].length,
input[type=password].length {
  text-align: start;
}
input[type=text].shuffle,
input[type=password].shuffle {
  text-align: start;
}
div.generator {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  border-radius: 8px;
  gap: 25px;
}

app-private-fields {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
}

div#app {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

label {
  user-select: none;
  display: block;
}

label.field {
  font-size: 1.5rem;
  line-height: 1em;
  margin: 0;
  text-transform: lowercase;
  font-weight: 400;
  padding: 0.5rem 1rem;
  align-self: start;
  border-radius: 5px;
}

.fw-bold {
  font-weight: bold;
}

app-pattern-fields {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
}

app-pattern-builds {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
}

div.fields {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  flex: 1 1 auto;
}
button {
  font-size: 2rem;
}

button.ghost {
  background: none !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  opacity: 0.5;
  transition: all 0.25s ease-in-out;
}
button.ghost:hover {
  opacity: 1;
}
button.ghost:focus {
  opacity: 1;
  outline: none !important;
}

div.version {
  font-size: smaller;
  line-height: 1em;
  margin-top: 1rem;
  text-transform: lowercase;
  font-weight: 400;
  padding: 10px;
  align-self: start;
  opacity: 0.25;
  transition: all 0.25s ease-in-out;
}
div.version:hover {
  opacity: 0.5;
}
div.version span.value {
  text-transform: uppercase;
  font-weight: bold;
}

app-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 2.5rem;
  margin: 1rem 0;
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

app-about {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

a.offsite {
  text-decoration: none;
  background: var(--accent-bg);
  padding: 5px 10px;
  color: gray;
  opacity: 0.5;
  transition: all 0.25s ease-in-out;
  font-size: smaller;
  border-radius: 5px;
  border: none;
}
a.offsite:hover {
  opacity: 1;
}
a.offsite:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-bg);
}

app-scheme {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
app-scheme button {
  border: none;
  background: none;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  opacity: 0.5;
  transition: all 0.25s ease-in-out;
}
app-scheme.dark button {
  opacity: 1;
  background: #ddd;
  border: 2px solid #222;
}
app-scheme.light button {
  opacity: 1;
  background: #222;
  border: 2px solid #ddd;
  transform: rotate(180deg);
}

div#wip {
  position: fixed;
  user-select: none;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: smaller;
  font-weight: bold;
  text-transform: lowercase;
  padding: 0.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
div#wip > span {
  background: light-dark(var(--light-fill-wip), var(--dark-fill-wip));
  color: light-dark(var(--light-text-wip), var(--dark-text-wip));
  display: inline-block;
  padding: 0.5rem 1rem;
  font-weight: normal;
  letter-spacing: -1px;
  border: 1px solid #444;
  border-radius: 5px;
}

div#app {
  margin-top: 2.5rem;
}

img#logo {
  width: 100px;
  height: 100px;
  transition: all 0.25s ease-in-out;
  transform: rotate(180deg);
}

span#passwor {
  color: light-dark(var(--light-text), var(--dark-text));
  font-weight: 100;
}

span#diy {
  color: light-dark(color-mix(in srgb, var(--light-text), white 50%), color-mix(in srgb, var(--dark-text), black 50%));
  font-weight: 200;
}

/* Tooltip positioning */
div#tip {
  /** positioning **/
  position: absolute;
  position-anchor: auto;
  position-area: top span-right;
  position-try: top span-left, bottom span-right, bottom span-left;
  /** styling **/
  border: none;
  top: 0px;
  background: rgb(0, 0, 0);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 1.25rem;
  border-radius: 5px;
  padding: 5px 10px;
}

label.checkbox {
  padding: 5px 5px;
  outline: none;
  border-radius: 5px;
}
label.checkbox:focus {
  outline: 1px dashed orangered;
}

span.status {
  display: inline-block;
  height: 32px;
  width: 32px;
  cursor: pointer;
  user-select: none;
  background-image: url("/icons/check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px 32px;
  filter: invert(1);
  opacity: 0.25;
  transition: all 0.25s ease-in-out;
}
span.status:hover {
  opacity: 0.5;
}
span.status.checked {
  opacity: 1;
}

input.field.length {
  width: calc(3ch + 20px);
  padding: 5px 10px;
  text-align: center;
  align-self: center;
}

label.field.length {
  text-align: center;
  align-self: center;
}

input.field.shuffle {
  width: calc(9ch + 20px);
  padding: 5px 10px;
  text-align: center;
  align-self: center;
}

label.field.shuffle {
  text-align: center;
  align-self: center;
}

label.field.unique {
  text-align: center;
  align-self: center;
}

@media (min-width: 1920px) {
  body,
  input,
  textarea,
  button,
  select {
    font-size: 1.75rem;
  }
  h1 {
    font-size: 5rem;
    line-height: 4.5rem;
  }
  h2.subtitle {
    font-size: 1.5rem;
  }
  p {
    font-size: 1.5rem;
  }
  input[type=text],
  input[type=password] {
    padding: 10px 20px;
  }
}