@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;600&display=swap");
:root {
  --font-ff-lexend: 'Lexend', sans-serif;
  --font-w-light: 300;
  --font-w-regular: 400;
  --font-w-bold: 600;
  --fs-400: 0.625rem;
  --fs-500: 0.75rem;
  --fs-600: 0.9375rem;
  --fs-700: 1.25rem;
  --fs-800: 1.5625rem;
  --fs-900: 3rem;
  font-family: var(--font-ff-lexend);
  color: var(--clr-main-primary);
  scroll-behavior: smooth;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  margin-block-start: 0;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

path {
  pointer-events: none;
}

a {
  text-decoration: none;
}

a:visited {
  color: inherit;
}

progress {
  appearance: none;
}

progress::-moz-progress-bar {
  background: var(--clr-main-darkgrey);
}

progress::-webkit-progress-value {
  background: var(--clr-main-primary);
  border-radius: 3rem;
  transition: width 800ms;
}

progress::-webkit-progress-bar {
  background: var(--clr-main-dark);
  border-radius: 3rem;
}

/* width */
::-webkit-scrollbar {
  width: 6px;
  padding: 0 0.2rem 0 0.2rem;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--clr-main-darkgrey);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--clr-main-darker);
}

button {
  outline: solid var(--clr-main-primary) 0;
  border: none;
  color: var(--clr-main-white);
  font-family: var(--font-ff-lexend);
  transition: outline-width 100ms linear;
}

button:focus-visible {
  outline-width: 0.15rem;
}

button input {
  transition: outline-width 100ms linear;
  outline: solid var(--clr-main-primary) 0;
  color-scheme: dark;
}

button input:focus {
  outline: solid var(--clr-main-primary) 0;
  outline-width: 0.15rem;
}

::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.center {
  left: 0 !important;
}

.hide {
  visibility: hidden;
}

.font__small {
  font-size: var(--fs-600);
}

.font__tiny {
  font-size: var(--fs-500);
}

.theme__dark {
  --clr-main-darker: #201F23;
  --clr-main-darkgrey: #27262B;
  --clr-main-dark: #3F3B55;
  --clr-main-primary: #9F8FFF;
  --clr-main-lightgrey: #7A7A7A;
  --clr-main-light: #ffffff;
  --clr-rarity-legendary: #CF7308;
  --clr-rarity-epic: #B149E1;
  --clr-rarity-rare: #1D9DE5;
  --icon: invert(0);
}

.theme__light {
  --clr-main-darker: #E3DCF9;
  --clr-main-darkgrey: #F5F1FF;
  --clr-main-dark: #B7AFE8;
  --clr-main-primary: #816EF1;
  --clr-main-lightgrey: #7A7A7A;
  --clr-main-light: #0B0616;
  --clr-rarity-legendary: #CF7308;
  --clr-rarity-epic: #B149E1;
  --clr-rarity-rare: #1D9DE5;
  --icon: invert(1);
}

.button {
  background-color: var(--clr-main-dark) !important;
  height: 2rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  background-color: transparent;
}

.button > * {
  pointer-events: none;
}

body {
  background-color: var(--clr-main-darkgrey);
  font-size: var(--fs-600);
}

.section {
  height: 100%;
  flex: 0 0 100%;
  display: block;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.category {
  width: 90%;
  max-width: 30rem;
  background-color: var(--clr-main-darker);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  border-radius: 0.7rem;
  padding: 1rem;
  gap: 0.25rem;
  cursor: pointer;
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
}

.category > * {
  pointer-events: none;
}

.category__sub {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
}

.category__quests {
  margin-right: 0.25rem;
}

.quest {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  background-color: var(--clr-main-darker);
  gap: 0.5rem;
  max-width: 30rem;
  border-radius: 0.7rem;
  padding: 0.5rem;
  width: calc(90% - 0.5rem);
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

.quest > * {
  pointer-events: none;
}

.quest__sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  margin: auto;
  width: 98%;
  height: 2rem;
}

.quest__completion {
  position: relative;
  width: 100%;
  height: 1.5rem;
}

.quest__progress {
  width: 100%;
  height: 100%;
}

.quest__progress-display {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  top: 0;
}

.quest__header {
  width: 90%;
  height: 4rem;
  max-width: 32rem;
}

.quest__infos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  height: 2.5rem;
  margin-bottom: 0.5rem;
}

.quest__totalxp, .quest__date, .quest__totalprogression {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  gap: 0.2rem;
  height: 1rem;
}

.quest__totalxp-icon, .quest__date-icon, .quest__totalprogression-icon {
  width: 2rem;
  height: 2rem;
}

.quest__totalxp-icon > *, .quest__date-icon > *, .quest__totalprogression-icon > * {
  fill: var(--clr-main-light);
}

.quest__pin {
  background-color: transparent;
  width: 3rem;
  height: 3rem;
  border-radius: 4rem;
}

.quest__pin-icon {
  width: 100%;
  height: 100%;
}

.quest__pin-icon > * {
  fill: var(--clr-main-light);
}

.objectives__list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  width: 90%;
  max-width: 32rem;
  height: 80%;
  overflow: auto;
}

.objective {
  width: calc(100% - 1.5rem);
  border-radius: 0.4rem;
  background-color: var(--clr-main-darker);
  position: relative;
  width: 95%;
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}

.objective__xp-icon {
  border-right: solid currentColor 0.1rem;
  width: 2.5rem;
}

.objective__info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  width: 22rem;
}

.objective__title {
  margin-left: 2rem;
  width: 80%;
}

.objective__checkbox {
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  border-radius: 2rem;
  border: solid var(--clr-main-light);
  background-color: transparent;
  cursor: pointer;
}

.objective__checkbox-small {
  width: 1rem;
  border-radius: 2rem;
  border: solid var(--clr-main-light);
  background-color: transparent;
  height: 1rem;
}

.objective__checkbox.checkbox-true {
  background-color: var(--clr-main-light);
  border: none;
}

.objective__checkbox.checkbox-true ~ .objective__title {
  color: var(--clr-main-lightgrey);
}

.userAction {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 4rem;
  background-color: var(--clr-main-dark);
  cursor: pointer;
}

.userAction[data-editor=invis] {
  opacity: 0;
  pointer-events: none;
}

.userAction__icon {
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: var(--icon);
}

.userActions__secondary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  position: absolute;
  bottom: 1rem;
  width: 90%;
  max-width: 40rem;
  margin: auto;
  height: 4rem;
  z-index: 2;
}

.header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  height: 5rem;
}

.header__title {
  font-size: var(--fs-800);
  font-weight: var(--font-w-bold);
  letter-spacing: -0.1rem;
  width: 14rem;
  height: auto;
}

html,
body {
  color: var(--clr-main-light);
  position: relative;
  overflow: hidden;
  margin: auto;
  height: -webkit-fill-available;
  /* Mozilla-based browsers will ignore this. */
}

.main {
  margin-top: 1rem;
}

.main__primary-screens {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  height: 75vh;
  transition: transform 500ms;
}

.main__profile, .main__editor, .main__login {
  position: absolute;
  margin: auto;
  width: 100%;
  bottom: 0;
  transition: left 500ms;
  background-color: var(--clr-main-darkgrey);
  z-index: 4;
}

.main__profile, .main__login {
  left: 100%;
}

.main__editor {
  left: -100%;
}

.main__home, .main__quests, .main__objectives {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  overflow: auto;
  padding-top: 1rem;
  scroll-behavior: smooth;
}

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

@media (min-width: 64em) {
  .main__primary-screens {
    align-items: flex-start;
    height: auto;
  }

  .main__home, .main__quests {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.userprofile {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 4rem;
}

.userprofile__level {
  font-size: var(--fs-800);
}

.userprofile__header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
}

.userprofile__file {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
}

.userprofile__avatar {
  width: 9rem;
  height: 9rem;
  border-radius: 12rem;
  background-color: var(--clr-main-grey);
}

.userprofile__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.userprofile__reset {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.userprofile__reset-button, .userprofile__reset .userprofile__login-button {
  background-color: var(--clr-main-dark) !important;
  height: 2rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  background-color: transparent;
}

.userprofile__reset-display, .userprofile__reset .userprofile__login-display {
  pointer-events: none;
}

.userprofile__preferences {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.profile {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  background-color: var(--clr-main-darker);
  padding: 0.5rem;
  gap: 1rem;
  border-radius: 0.6rem;
  text-align: left;
  cursor: pointer;
}

.profile > * {
  pointer-events: none;
}

.profile__progress {
  width: 3rem;
  height: 0.5rem;
}

.profile__picture {
  width: 2rem;
  height: 2rem;
  border-radius: 3rem;
}

.profile__xp {
  display: flex;
  justify-content: flext-start;
  align-items: center;
  flex-direction: row;
  gap: 0.2rem;
}

.profile__xp-icon {
  filter: var(--icon);
}

.profile__xp-icon* > {
  fill: var(--clr-main-light);
}

.login__title {
  margin-bottom: 1rem;
}

.login__list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

.login__form, .login .sign__form {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: solid var(--clr-main-dark) 0.2rem;
}

.sign__form {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.editor {
  width: 90%;
}

.editor__form {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
}

.editor__input {
  background-color: transparent;
  border: none;
  border-bottom: solid var(--clr-main-dark) 0.1rem;
  width: 100%;
  max-width: 30rem;
  margin: auto;
  color: var(--clr-main-light);
  font-size: var(--fs-700);
  font-family: var(--font-ff-lexend);
}

.editor__input::placeholder {
  color: var(--clr-main-dark);
}

.editor__color {
  font-size: var(--fs-700);
  border-bottom: solid var(--clr-main-dark) 0.1rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  gap: 1rem;
  margin: auto;
}

.editor__colorpick {
  border: none;
  background-color: transparent;
}

.editor__label {
  color: var(--clr-main-dark);
}

.editor__addbutton {
  width: 100%;
  border-radius: 0.5rem;
  max-width: 30rem;
  margin: auto;
  height: 3rem;
  background-color: var(--clr-main-dark);
  cursor: pointer;
  transition: background-color 300ms;
}

.editor__addbutton-icon {
  height: 100%;
  pointer-events: none;
}

.editor__addbutton-icon > * {
  transition: fill 300ms;
  fill: var(--clr-main-light);
}

.editor__addbutton:hover, .editor__addbutton:active, .editor__addbutton:focus-visible {
  background-color: var(--clr-main-light);
}

.editor__addbutton:hover > .editor__addbutton-icon > *, .editor__addbutton:active > .editor__addbutton-icon > *, .editor__addbutton:focus-visible > .editor__addbutton-icon > * {
  fill: var(--clr-main-dark);
}

.editor__objective {
  width: 95%;
  max-width: 30rem;
  height: 3rem;
}

.editor__objective-trash {
  background-color: transparent;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  transition: opacity 300ms 300ms;
  padding: 0;
}

.editor__objective-trash-icon {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.editor__objective-trash-icon > * {
  fill: var(--clr-main-light);
}

.editor__objective-title {
  width: 55%;
}

.editor__objectiveslist {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  height: 22rem;
  overflow: auto;
}

.editor__xp-button {
  background-color: transparent;
  width: 2rem;
  height: 2rem;
  padding: 0;
  transition: filter 300ms;
  filter: contrast(0);
  cursor: pointer;
}

.editor__xp-icon {
  width: 100%;
  height: 100%;
  pointer-events: none;
  color: currentColor;
  border-bottom: solid currentColor 0.1rem;
}

.editor__xp-icon > * {
  fill: currentColor;
}

.editor__selected {
  filter: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0%;
  max-width: 80rem;
  width: 90%;
  height: 4rem;
  margin: auto;
  z-index: 2;
}/*# sourceMappingURL=styles.css.map */