:root {
  --color-background: #00000b;
  --color-surface: #111c32;
  --color-border: #731b00;
  --color-text-primary: #fffaf8;
  --color-text-secondary: #ff521c;
  /* --color-text-disabled: #94a1b2; */

  /* --color-primary: #322ae1; */
  --color-primary: #ff4d00;
  --color-primary-hover: #ff6638;
  --color-primary-active: #e34300;
  --color-on-primary: #ffdfd0;
  --color-secondary: #00000b;
  --color-secondary-hover: #1d0300;
  --color-secondary-active: #3a0a00;
  --color-on-secondary: #fffaf8;
  --color-accent: #5b5f97;

  --color-success: #1eff1e;
  --color-success-content: #001e00;
  --color-warning: #ffff1e;
  --color-warning-content: #1e1e00;
  --color-error: #ff1e1e;
  --color-error-content: #ffffff;
  --color-info: #0dcaf0;
  --color-info-content: #1e1e00;

  --font-family: "Montserrat";
  --font-family-title: "Bricolage Grotesque", sans-serif;
  --font-family-status: "Roboto Mono", monospace;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

* {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: medium;
  color: var(--color-text-primary);
}

/* html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
} */

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--color-background);
}

main {
  position: relative;
  flex: 1;
  display: flex;
  /* flex-direction: column; */
  overflow: hidden;
  justify-content: center;
}

.content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: all 0.5s ease-out;
}

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

.content#setup {
  flex: 0 1 auto;
  width: 300px;
  align-self: center;
}

.content#options,
.content#quote,
.content#quote-wrapper,
.content#instrument-list {
  flex: 1 1 auto;
  /* width: 500px; */
  min-width: 300px;
  max-width: 500px;
  /* align-self: center; */
}

.content#setup {
  justify-content: center;
  margin-bottom: 64px;
}

.content#quote-wrapper {
  overflow: hidden;
}

.content#action {
  width: 100%;
  height: 100%;
  background-color: var(--color-background);
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  transform: translateY(calc(100% - 20px));
  transition: all 1s ease-in-out;
}

.content#action[opened] {
  transform: translateY(0);
}

.box {
  height: 50px;
  width: 100%;
  background-color: var(--color-background);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.notch {
  height: 50px;
  position: relative;
  top: 0;
  transform: translateY(-100%);
  align-self: center;
  display: flex;
  bottom: 20px;
  justify-content: center;
}

.clip-box {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: var(--color-background);
  transform: translateY(100%);
}

.notch svg#notch {
  fill: var(--color-background);
  height: 50px;
  width: auto;
  bottom: 0;
  z-index: -1;
  filter: drop-shadow(0 -2px 8px rgba(255, 255, 255, 0.2));
  transition: all 0.5s ease-in-out;
}
.notch svg#notch::before {
  filter: drop-shadow(0 -2px 8px rgba(255, 255, 255, 0.2));
}

.notch:hover svg#notch {
  fill: var(--color-background);
  transform-origin: bottom;
  filter: drop-shadow(0 -4px 10px rgba(255, 255, 255, 0.5));
  transition: all 0.5s ease-in-out;
}

.content#action[opened] svg#notch {
  transform: scaleX(0.7) scaleY(0);
  transform-origin: bottom;
  transition: all 0.7s ease-in-out;
}

.notch svg#arrow-up {
  position: absolute;
  align-self: center;
  transition: all 0.7s ease-in-out;
}

.notch:hover svg#arrow-up {
  fill: var(--color-primary);
  transition: all 0.5s ease-in-out;
}

.content#action[opened] svg#arrow-up {
  transform: translateY(200%) scale(1);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

.box svg#arrow-down {
  position: absolute;
  transform: translateY(-200%) scale(0);
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

.box:hover svg#arrow-down {
  fill: var(--color-primary);
}

.content#action[opened] svg#arrow-down {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: all 0.7s ease-in-out, fill 0.5s ease-in-out;
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  }
  to {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5),
      0 0 10px rgba(255, 255, 255, 0.5);
  }
}

.main-title {
  text-align: center;
  font-family: var(--font-family-title);
  /* font-weight: bold; */
  font-size: 75px;
  cursor: default;
  /* filter: drop-shadow(0 0 0.75rem rgba(255, 255, 255, 0.5)); */
  /* animation: glow 2s ease-in-out infinite alternate; */
}

/* .nav {
  display: flex;
  height: 40px;
  margin: 12px 0;
} */

/* .nav .title {
  flex: 1;
  margin: 0;
} */

nav a {
  text-decoration: none;
}

.icon-btn {
  display: flex;
  overflow: clip;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  /* padding: 12px 16px; */
  margin: 8px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.icon-btn#back {
  /* margin: 12px 8px; */
  position: absolute;
}

.icon-btn#back svg {
  transform: translateX(-1px);
}

.title {
  text-align: center;
  margin: 12px 0;
  font-family: var(--font-family-title);
  /* font-weight: bold; */
  font-size: xx-large;
  cursor: default;
}

.description {
  align-self: start;
  padding: 8px;
}

.description p {
  font-size: small;
  text-align: left;
}

.description p a {
  font-size: small;
}

a:hover {
  color: var(--color-primary);
}

/* ===============================================HEADER=============================================== */
header {
  background-color: var(--color-background);
  display: flex;
  position: relative;
  height: 70px;
  overflow: hidden;
}

#header-logo {
  /* width: 70px; */
  height: 70px;
  display: flex;
  align-content: center;
  justify-content: center;
  margin: 0 30px 0 30px;
  cursor: pointer;
}

#header-logo svg {
  width: 40px;
  height: auto;
}

.navbar {
  flex: 1;
  display: flex;
  flex-flow: row-reverse nowrap;
  align-items: center;
  height: 70px;
}

/* ----------------------------------------------MENU-------------------------------------------------- */

.menu-button {
  width: 70px;
  height: 70px;
  background-color: var(--color-background);
  /* position: absolute; */
  /* top: 0; */
  /* right: 0; */
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: flex-end;
  cursor: pointer;
}

.menu,
.close {
  width: 30px;
  height: 40px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.menu-1,
.menu-2,
.menu-3,
.close-1,
.close-2 {
  width: 20px;
  height: 2px;
  background-color: white;
  position: absolute;
}

.close-1,
.close-2 {
  width: 25px;
}

.menu-1 {
  top: 10px;
}

.menu-3 {
  bottom: 10px;
}

.navbar[closed] .close-1 {
  transform: translateX(40px) rotate(0deg);
  transition: all 0.5s ease-in-out;
}

.navbar[closed] .close-2 {
  transform: translateX(40px) rotate(0deg);
  transition: all 0.5s ease-in-out;
}

.navbar[opened] .close-1 {
  transform: translateX(0) rotate(45deg);
  transition: all 0.5s ease-in-out 0.2s;
}

.navbar[opened] .close-2 {
  transform: translateX(0) rotate(-45deg);
  transition: all 0.5s ease-in-out 0.2s;
}

.navbar[closed] .menu-1 {
  transform: translateX(0);
  transition: all 0.15s ease-in-out 0.35s;
}

.navbar[closed] .menu-2 {
  transform: translateX(0);
  transition: all 0.25s ease-in-out 0.25s;
}

.navbar[closed] .menu-3 {
  transform: translateX(0);
  transition: all 0.35s ease-in-out 0.15s;
}

.navbar[opened] .menu-1 {
  transform: translateX(-40px);
  transition: all 0.5s ease-in-out;
}

.navbar[opened] .menu-2 {
  transform: translateX(-40px);
  transition: all 0.3s ease-in-out 0.2s;
}

.navbar[opened] .menu-3 {
  transform: translateX(-40px);
  transition: all 0.2s ease-in-out 0.3s;
}

/* ---------------------------------------------------------------------------------------------------- */

.navigation {
  flex: 1;
  display: flex;
  flex-flow: row-reverse nowrap;
  align-items: center;
  height: 70px;
  position: absolute;
  margin-right: 70px;
  right: 0;
  transform: translateX(calc(100% + 70px));
  transition: all 0.5s ease-in-out 0.25s;
}

.navbar[opened] .navigation {
  transform: translateX(0);
  transition: all 0.5s ease-in-out;
}

.navbar nav {
  /* position: absolute; */
  margin: 0 30px;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

/* .navbar nav a {
  font-size: 14px;
  color: var(--color-text-primary);
} */

.navbar nav a:hover {
  color: var(--color-primary);
}

/* ================================================FORM================================================ */

.form-container {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-self: center;
}

.input {
  height: 48px;
  max-width: 300px;
  margin: 8px;
  display: flex;
  position: relative;
}

.input-wrapper {
  width: 100%;
  display: flex;
  flex: 1;
}

.input-field {
  flex: 1;
  color: var(--color-text-primary);
  background-color: transparent;
  border: 1px solid gray;
  border-radius: 16px;
  padding: 16px;
  box-sizing: content-box;
  transition: all ease-in-out;
}

.input-label {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.input-label .text {
  color: gray;
  background-color: var(--color-background);
  transition: all 0.2s ease-in-out;
}

.input-field:focus {
  outline: none;
  border: 1px solid var(--color-primary);
}

.input-field:focus + .input-label .text,
:not(.input-field:placeholder-shown) + .input-label .text {
  font-size: 12px;
  left: 20px;
  padding-left: 4px;
  padding-right: 4px;
  transform: translate(0, -150%);
}

.input-field:-webkit-autofill,
.input-field:-webkit-autofill:hover,
.input-field:-webkit-autofill:focus,
.input-field:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--color-text-primary);
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 20px 20px #23232329;
}

.input-field:focus + .input-label .text {
  color: var(--color-primary);
}

/* ===============================================RADIO================================================ */

.radio-container {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  /* align-self: center; */
}

.radio-container .radio {
  /* max-width: 300px; */
  margin: 8px;
  display: flex;
  flex: 1;
  flex-direction: row;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.3s ease-in-out;
  /* cursor: pointer; */
}

.radio:hover,
.radio[active] {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.radio-button {
  width: 30px;
  height: 30px;
  display: flex;
  padding: 0 4px;
  margin-right: 4px;
  align-items: center;
  justify-content: center;
}

.radio-choose {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #202030;
  appearance: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.radio-choose::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transition: all 0.1s cubic-bezier(0.165, 0.84, 0.44, 1);
  background-color: #ffffff;
  transform: scale(0);
}

.radio-choose:checked::before {
  transform: scale(1);
}

@keyframes wave {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.radio-choose:checked {
  background-color: var(--color-primary);
  animation: wave 0.7s forwards;
}

.radio-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.radio-title {
  height: 30px;
  align-content: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

.radio[active] .collapse {
  grid-template-rows: 1fr;
}

.radio-content {
  position: relative;
  /* height: 0; */
  overflow: hidden;
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: center; */
  cursor: default;
  transition: all 0.5s ease-out;
}

.radio-content p,
.radio-content i,
.radio-content a,
.radio-content b {
  color: #bbc1ce;
  font-size: small;
  text-align: left;
  padding: 6px 0;
  cursor: text;
}

.radio-content p a:hover {
  color: var(--color-primary);
}

/* .radio[active]:has(.radio-button #choose2) .radio-content {
  height: 120px;
} */

/* ================================================START=============================================== */

.check-history {
  margin: 6px 0;
}

.check-history .check-content {
  font-size: small;
  color: #bbc1ce;
}

.copy-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 6px 0;
}

.copy-container p {
  margin: 0;
  width: 130px;
}

.btn#copy {
  align-self: flex-start;
  height: 28px;
  padding: 4px 8px;
  border-radius: 8px;
  margin: 0;
  /* margin: 6px; */
}

.btn#copy .btn-icon {
  height: 16px;
  width: 16px;
}

.btn#copy .btn-icon svg {
  height: 16px;
  width: auto;
}

.btn#copy .btn-text {
  font-size: small;
}

.copy-field {
  display: flex;
  flex-direction: row;
  /* margin: 6px; */
}

.copy-text {
  /* flex: 1; */
  color: var(--color-text-primary);
  background-color: transparent;
  border: 1px solid gray;
  border-radius: 8px 0 0 8px;
  padding: 4px 8px;
  box-sizing: content-box;
  transition: all ease-in-out;
  font-size: x-small;
}

.copy-text:focus {
  outline: none;
  border: 1px solid var(--color-primary);
}

.btn#copy-field-btn {
  height: 28px;
  border-radius: 0 8px 8px 0;
  padding: 4px;
  margin: 0;
  transform-origin: left;
}

.btn#copy-field-btn .btn-icon {
  height: 16px;
  width: 16px;
  margin-right: 0;
}

.btn#copy-field-btn .btn-icon svg {
  height: 16px;
  width: auto;
}

.status-update {
  display: none;
  align-self: center;
  margin-bottom: 20px;
}

.status-update p#status {
  font-family: var(--font-family-status);
  color: gray;
  font-size: small;
}

#start-task {
  /* flex: none; */
  display: flex;
  flex-direction: column-reverse;
  margin-top: 20px;
  margin-bottom: 70px;
  overflow: visible;
}

#start-wrapper {
  flex: none;
  display: flex;
  height: 64px;
  width: auto;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#cancel-button {
  display: none;
}

#start-loader {
  display: none;
  position: absolute;
}

#start-task[loading] .status-update {
  display: block;
}

#start-task[loading] #start-button {
  display: none;
}

#start-task[loading] #cancel-button {
  display: flex;
  transform: translateY(-200%);
  transition: all 0.3s ease-in-out;
}

#start-task[loading] #start-wrapper:hover #cancel-button {
  transform: translateY(0);
}

#start-task[loading] #start-wrapper:hover #cancel-button:hover {
  transform: scale(1.03);
}

#start-task[loading] #start-wrapper:hover #cancel-button:active {
  transform: scale(0.95);
}

#start-task[loading] #start-loader {
  display: grid;
  transition: all 0.3s ease-in-out;
}

#start-task[loading] #start-wrapper:hover #start-loader {
  transform: translateY(200%);
  transform: scale(0);
  opacity: 0;
}

/* ===============================================BUTTON=============================================== */

.btn {
  display: flex;
  overflow: clip;
  cursor: pointer;
  background: var(--color-primary);
  height: 48px;
  border: none;
  border-radius: 16px;
  padding: 12px 16px;
  margin: 8px;
  transition: all 0.2s;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.btn-icon {
  width: 24px;
  height: 24px;
  position: relative;
  /* left: calc(50% - 12px); */
  margin-right: 4px;
  transform: translateX(0);
  transition: all 0.3s ease-in-out;
}

.btn-text {
  position: relative;
  display: block;
  font-size: 20px;
  color: var(--color-on-primary);
  transition: all 0.3s ease-in-out;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn .btn-icon svg {
  fill: var(--color-on-primary);
}

.btn:hover {
  transform: scale(1.03);
  background: var(--color-primary-hover);
  transition: all 0.3s ease-in-out;
}

.btn:active {
  background: var(--color-primary-active);
  transform: scale(0.95);
  transition: all 0.3s ease-in-out;
}

.secondary-btn {
  background: var(--color-secondary);
  border: 1px solid var(--color-primary);
  transition: all 0.3s ease-in-out;
}

.secondary-btn .btn-icon svg {
  fill: var(--color-primary);
}

.secondary-btn .btn-text {
  color: var(--color-primary);
}

.secondary-btn:hover {
  background: var(--color-secondary-hover);
  border: 0px solid var(--color-secondary-hover);
  transform: scale(1.03);
}

.secondary-btn:hover .btn-text {
  color: var(--color-on-secondary);
}

.secondary-btn:active {
  background: var(--color-secondary-active);
  border: 0px solid var(--color-secondary-active);
  transform: scale(0.95);
}

@keyframes fly-hor {
  from {
    transform: translateX(6px);
  }

  to {
    transform: translateX(-6px);
  }
}

.btn-fly:hover .btn-icon {
  transform: translateX(var(--btn-w)) scale(1.2);
}

.btn-fly:hover .btn-icon svg {
  animation: fly-hor 0.6s ease-in-out infinite alternate;
}

.btn-fly:hover .btn-text {
  transform: translateX(150%);
}

/* ================================================INFO================================================ (archived... for now) */

.extra-info {
  display: none;
  line-height: 30px;
  font-size: 12px;
  position: absolute;
  /* top: 0; */
  /* left: 50px; */
}

.info:hover .extra-info {
  display: block;
}

.info {
  font-size: 20px;
  width: 20px;
  border-radius: 15px;
}

.info:hover {
  background-color: white;
  width: 315px;
  text-align: left !important;
}

/* ================================================LIST================================================ */

.list-container {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  margin-bottom: 20px;
}

.header-container {
  flex: none;
  display: flex;
  flex-direction: row;
}

.header {
  min-height: 36px;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.list {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 50px;
}

.list-container[draggable] .list {
  cursor: grab;
}

.item {
  min-height: 36px;
  position: relative;
  /* flex: 1; */
  display: flex;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.drag {
  width: 30px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
}

.item:hover,
.dragging {
  background-color: var(--color-surface);
}

.check {
  width: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.list-container:not([draggable]) .drag {
  display: none;
}

.list-container:not([checklist]) .check {
  display: none;
}

.item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 0 8px 8px;
  padding-left: 8px;
  /* align-content: center; */
}

.item-content .item-c1 {
  font-size: xx-small;
  color: gray;
}

.item-content .item-c2 {
  font-size: medium;
}

.item-content .item-c3 {
  font-size: smaller;
  color: lightgray;
}

.header .item-content {
  padding-left: 0;
  text-align: center;
  font-weight: bold;
}

/* ==============================================CHECKBOX============================================== */

/* From Uiverse.io by vishnupprajapat */
.checkbox input[type="checkbox"] {
  display: none;
  visibility: hidden;
}

.checkbox .cbx {
  display: flex;
  flex-direction: row;
  align-items: center;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}
.checkbox .cbx span {
  display: flex;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}
.checkbox .cbx .check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  transform: scale(1);
  border: 1px solid #9098a9;
  transition: all 0.2s ease;
}
.checkbox .cbx .check-icon svg {
  position: absolute;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}
.checkbox .cbx .check-icon:before {
  display: flex;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  transform: scale(0);
  opacity: 1;
  border-radius: 50%;
}
.checkbox .cbx .check-content {
  padding-left: 8px;
}
.checkbox .cbx:hover .check-icon {
  border-color: var(--color-primary);
}

@keyframes wave-46 {
  50% {
    transform: scale(0.9);
  }
}

.checkbox .inp-cbx:checked + .cbx .check-icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
  animation: wave-46 0.4s ease;
}

.checkbox .inp-cbx:checked + .cbx .check-icon svg {
  stroke-dashoffset: 0;
}

.checkbox .inp-cbx:checked + .cbx .check-icon:before {
  transform: scale(3.5);
  opacity: 0;
  transition: all 0.6s ease;
}

/* ================================================CARD================================================ */

.card-container {
  display: flex;
  flex-direction: column;
  align-self: center;
}

.card {
  max-width: 300px;
  margin: 8px;
  display: flex;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.3s ease-in-out;
  cursor: default;
}

.card[disabled] .card-title {
  color: rgba(255, 255, 255, 0.5);
}

.card[disabled] .btn-icon svg {
  fill: rgba(255, 255, 255, 0.5);
}

.card:hover:not([disabled]) {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.card-wrapper {
  flex: 1;
  display: flex;
  flex-direction: row;
  padding: 10px;
}

.card-icon {
  width: 30px;
  height: 30px;
  display: flex;
  padding: 0 8px;
  margin-right: 4px;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 24px;
  height: auto;
}

.card[disabled] .card-icon img {
  opacity: 0.5;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  height: 30px;
  align-content: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

.card-detail {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.card-detail p {
  font-size: 12px;
  color: #bbc1ce;
}

.card:hover:not([disabled]) .collapse,
.card[active]:not([disabled]) .collapse {
  grid-template-rows: 1fr;
}

.card-btn {
  width: 30px;
  height: 30px;
  align-items: center;
  display: flex;
  overflow: clip;
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 6px;
}

.card[disabled] .card-btn {
  pointer-events: none;
}

.card-btn .btn-icon {
  flex: 1;
  display: flex;
  width: 24px;
  height: 24px;
  justify-content: center;
  margin-right: 0;
}

.card:not([disabled]) .card-btn:hover .btn-icon svg {
  fill: var(--color-primary);
}

/* ===============================================LOADING============================================== */
/* From Uiverse.io by JkHuger */
@keyframes loader_5191 {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.loader {
  /* width: 100%; */
  /* height: 100%; */
  position: absolute;
  inset: 0;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-background);
}

.loader-square {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 30px;
  height: 30px;
  /* row-gap: 5px; */
  /* column-gap: 5px; */
}

.square {
  background: var(--color-primary);
  width: 10px;
  height: 10px;
  position: relative;
  /* top: 50%;
  left: 50%; */
}

#sq1 {
  animation: loader_5191 675ms ease-in-out 0s infinite;
}

#sq2 {
  animation: loader_5191 675ms ease-in-out 75ms infinite;
}

#sq3 {
  animation: loader_5191 675ms ease-in-out 150ms infinite;
}

#sq4 {
  animation: loader_5191 675ms ease-in-out 225ms infinite;
}

#sq5 {
  animation: loader_5191 675ms ease-in-out 300ms infinite;
}

#sq6 {
  animation: loader_5191 675ms ease-in-out 375ms infinite;
}

#sq7 {
  animation: loader_5191 675ms ease-in-out 450ms infinite;
}

#sq8 {
  animation: loader_5191 675ms ease-in-out 525ms infinite;
}

#sq9 {
  animation: loader_5191 675ms ease-in-out 600ms infinite;
}

/* ================================================DOWN================================================ */
.start-action {
  position: absolute;
  display: flex;
  justify-content: center;
  bottom: 0;
  width: 100%;
  height: 30vh;
}

.down-arrow {
  align-self: flex-end;
  position: relative;
  bottom: 70px;
}

.start-action svg {
  transition: all 300ms ease-in-out;
}

.start-action:hover svg {
  fill: var(--color-primary);
}

/* ===============================================FOOTER=============================================== */

footer {
  width: 100%;
  height: var(--footer-h);
  background-color: var(--color-background);
  position: fixed;
  bottom: 0;
  transform: translateY(calc(100% - 30px));
  transition: all ease-in-out;
  transition-duration: calc(var(--slide-sp) - 200ms);
  transition-delay: 300ms;
}

footer[opened],
footer:hover {
  transform: translateY(0);
  transition-delay: 0ms;
}

.footer-wrapper {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transform-origin: top center;
  transition: transform var(--slide-sp) ease-in-out;
  will-change: transform;
}

footer[opened] .footer-wrapper,
footer:hover .footer-wrapper {
  transform: translateY(0);
}

.footer-layout {
  /* position: absolute; */
  /* top: 0; */
  width: 100%;
  display: flex;
  /* transform: translateY(100%); */
  /* transform-origin: top center; */
  /* transition: transform var(--slide-sp) ease-in-out; */
  /* will-change: transform; */
}

.footer-col {
  flex: 1;
  padding: 12px 32px;
}

#col2,
#col3 {
  flex: 0 1 250px;
}

.footer-col h3 {
  font-family: var(--font-family);
  font-weight: bold;
  flex: 0;
  margin-top: 12px;
  margin-bottom: 8px;
}

footer span,
footer a {
  font-size: 14px;
  text-decoration: none;
}

/* .footer-col + .footer-col {
  display: flex;
  flex-direction: column;
  text-align: right;
  align-items: end;
} */

.footer-center {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
}

.footer-col h3,
.footer-center span,
.footer-center a {
  color: #6f6c75;
  /* opacity: 0.3; */
}

.ko-fi {
  margin: 6px 0;
}

/* -----------------------------------------------SOCIAL----------------------------------------------- */

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

.fa {
  display: flex !important;
  justify-content: center;
  align-items: center;
  /* padding: 20px; */
  font-size: 18px !important;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  /* justify-content: center;
  align-items: center; */
  text-align: center;
  text-decoration: none;
  margin: 2px;
  transition: all 0.3s ease-in-out;
}

.fa:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------------------------------------------------------------------------------------------------- */

/* -----------------------------------------------BORDER----------------------------------------------- */
.border {
  position: absolute;
  height: inherit;
  width: inherit;
  color: var(--color-primary);
  z-index: -1;
}

.border::before {
  content: "";
  position: absolute;
  top: 0;
  /* left: 50%; */
  width: 100%;
  height: 1px;
  background: var(--color-primary);
  transform-origin: center center;
  transform: scaleX(0);
  transition: all ease-in-out;
  transition-duration: 300ms;
  transition-delay: 0ms;
}

/* .border::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: var(--color-primary);
  transform-origin: top center;
  transform: scaleY(0);
  transition: all ease-in-out;
  transition-duration: 300ms;
  transition-delay: 0ms;
} */

footer[opened] .border::before,
footer:hover .border::before {
  transform: scaleX(1);
  transition-duration: 300ms;
  transition-delay: calc(var(--slide-sp) - 200ms);
}

/* footer:hover .border::after,
.open-footer .border::after {
  transform: scaleY(1);
  transition-duration: 300ms;
  transition-delay: calc(var(--slide-sp) - 200ms);
} */

/* ---------------------------------------------------------------------------------------------------- */

/* -----------------------------------------------CIRCLE----------------------------------------------- */
@keyframes pulse {
  0% {
    transform: scale(0.33);
  }
  80%,
  100% {
    opacity: 0;
  }
}

@keyframes circle {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.8);
  }
}

.circle {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) translateY(-50%);
  transition: transform ease-in-out opacity cubic-bezier(0, 1, 0, 1);
  transition-duration: calc(var(--slide-sp) - 200ms);
  transition-delay: 300ms;
}

.circle::before {
  content: "";
  position: absolute;
  display: block;
  width: 300%;
  height: 300%;
  box-sizing: border-box;
  left: -100%;
  top: -100%;
  border-radius: 30px;
  background-color: var(--color-primary);
  animation: pulse 1.25s cubic-bezier(0.08, 0.79, 0.58, 1) infinite;
}

.circle::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background-color: var(--color-primary);
  animation: circle 1.25s cubic-bezier(0.42, 0, 0.58, 1) -0.4s infinite;
}

footer[opened] .circle,
footer:hover .circle {
  transform: translateX(-50%) translateY(-50%) scale(0.4, 1);
  opacity: 0;
  transition: transform ease-in opacity cubic-bezier(1, 0, 1, 0);
  transition-delay: 0ms;
}

footer[opened] .circle::before,
footer:hover .circle::before {
  visibility: hidden;
}
/* ---------------------------------------------------------------------------------------------------- */

/* =============================================RESPONSIVE============================================= */

@media (max-width: 600px) {
  .footer-layout {
    flex-direction: column;
  }

  .footer-col {
    padding: 8px 32px;
  }

  /* .footer-col + .footer-col {
    border-left: none;
    margin-top: 1rem;
    padding-top: 1rem;
    align-items: flex-start;
  } */

  .border::after {
    visibility: hidden;
  }
}
