@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@font-face {
  font-family: "Quicksand";
  font-display: auto;
  src: local("Quicksand"), url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
}
body {
  font-family: "Quicksand", serif;
}

.flexrow,
.flexcol {
  display: flex;
}

.flexcol {
  flex-direction: column;
}
.flexcol.reverse {
  flex-direction: column-reverse;
}
.flexcol > * {
  flex: 0;
}

.flexrow {
  flex-direction: row;
}
.flexrow.reverse {
  flex-direction: row-reverse;
}
.flexrow > * {
  flex: 1;
}

.flex {
  flex: 1;
}

.flex-grow {
  flex: 2;
}

.flex-shrink {
  flex: 0;
}

.nowrap {
  flex-wrap: nowrap;
  white-space: nowrap;
}

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

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

.align-end {
  align-items: flex-end;
}

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

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

.justify-end {
  justify-content: flex-end;
}

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

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

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

.self-align-start {
  justify-self: flex-start;
  align-self: flex-start;
}

.self-align-center {
  justify-self: center;
  align-self: center;
}

.self-align-end {
  justify-self: flex-end;
  align-self: flex-end;
}

.gap-xxs {
  gap: 2px;
}

.gap-xs {
  gap: 4px;
}

.gap-s {
  gap: 6px;
}

.gap-m,
.gap {
  gap: 8px;
}

.gap-l {
  gap: 12px;
}

.gap-xl {
  gap: 16px;
}

.gap-xxl {
  gap: 24px;
}

.rotate-90 {
  transform: rotate(90deg);
}

.rotate-180 {
  transform: rotate(180deg);
}

.rotate-270 {
  transform: rotate(270deg);
}

.flip-x {
  transform: scaleX(-1);
}

.flip-y {
  transform: scaleY(-1);
}

:root {
  --c-text: white;
  --c-background: rgb(30, 30, 30);
  --c-primary: rgb(61, 61, 61);
  --c-secondary: rgb(98, 106, 203);
  --c-accent: rgb(255, 166, 211);
}

body {
  color: var(--c-text);
  margin: 0;
  background-color: var(--c-background, rgb(30, 30, 30));
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > header {
  flex: 0;
}
body > main {
  flex: 1;
  overflow: auto;
  height: 100%;
  max-height: 100vh;
}
body > main > .content {
  height: 100%;
  max-height: 100%;
}

.group-primary {
  margin: 0.5rem;
  padding: 0.5rem;
  background-color: var(--c-primary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 8px;
}

.form-group {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.form-group label {
  flex: 1;
}
.form-group .form-fields {
  display: flex;
  flex-direction: row;
  flex: 2;
  gap: 8px;
}
.form-group .form-fields > * {
  flex: 1;
}
.form-group.stacked {
  flex-direction: column;
}

.card-directory {
  overflow: auto;
}
.card-directory .list-head {
  font-weight: bold;
  margin: 0;
}
.card-directory .list {
  max-height: 100%;
  overflow: auto;
  flex: 1;
}
.card-directory .list .item {
  border-bottom: 1px solid white;
  gap: 8px;
  padding: 0.2rem 0.5rem;
}
.card-directory .list .rarity {
  text-align: center;
  padding: 0 1rem;
  border-radius: 500px;
}
.card-directory .list .rarity-plentiful {
  background-color: rgb(123, 123, 123);
  color: rgb(206, 206, 206);
}
.card-directory .list .rarity-occasional {
  background-color: rgb(62, 143, 63);
  color: rgb(206, 253, 219);
}
.card-directory .list .rarity-scarce {
  background-color: rgb(59, 81, 156);
  color: rgb(169, 203, 255);
}
.card-directory .list .rarity-elusive {
  background-color: rgb(136, 75, 173);
  color: rgb(235, 183, 255);
}
.card-directory .list .rarity-fabled {
  background-color: rgb(172, 100, 42);
  color: rgb(255, 207, 152);
}
.card-directory .list :last-child {
  border-bottom: 0;
}

a {
  color: white;
}

.sidebar {
  --colour-txt: var(--c-text);
  --hover-txt: rgb(203, 240, 252);
  --colour-bg: var(--c-primary);
  --hover-bg: var(--c-secondary);
}
.sidebar #logout {
  --colour-txt: rgb(255, 53, 77);
  --hover-bg: var(--colour-txt);
  --hover-txt: var(--c-text);
}
.sidebar #admin {
  --hover-txt: rgb(255, 215, 82);
}
.sidebar a,
.sidebar button {
  font-weight: bolder;
  font-size: larger;
  text-decoration: none;
  transition: color 0.3s, background-position 0.6s;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border-style: none;
  text-align: left;
  color: transparent;
  background-size: 200% 100%;
  background-clip: text, border-box;
  background-image: linear-gradient(to right, var(--colour-txt) 50%, var(--hover-txt) 50%), linear-gradient(to right, var(--colour-bg) 50%, var(--hover-bg) 50%);
}
.sidebar a:hover,
.sidebar button:hover {
  background-position: -100% 0%;
  cursor: pointer;
}
.sidebar form :last-child {
  margin-top: auto;
}

#header-logo {
  font-weight: bolder;
  font-size: large;
  padding: 0.2rem;
  white-space: nowrap;
}
#header-logo img {
  width: 50px;
  height: 50px;
}

.nav-header {
  border-bottom: 4px solid var(--c-secondary);
  background-color: var(--c-primary);
  padding: 0.5rem 2rem 0 2rem;
  height: 3rem;
}
.nav-header .link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--c-text);
  text-decoration: none;
  transition: background-position 0.3s;
  background-size: 100% 200%;
  background-image: linear-gradient(var(--c-primary) 50%, var(--c-secondary) 50%);
  background-position-y: 0%;
  height: 100%;
  align-self: stretch;
  border-radius: 10px 10px 0 0;
}
.nav-header .link:hover, .nav-header .link.selected {
  background-position-y: 100%;
}

form#register,
form#login {
  width: 500px;
}

footer {
  padding: 1rem 3rem;
}

.container {
  margin: 0 auto;
}

@media screen and (min-width: 970px) {
  .container {
    width: 970px;
  }
}

/*# sourceMappingURL=styles.css.map */
