/* <stdin> */
.home {
  display: grid;
  place-items: center;
  margin-bottom: 4rem;
}
.home > div {
  margin-top: 1rem;
  max-width: 70rem;
  text-align: justify;
  font-size: 1rem;
  color: var(--secondary-color);
}
.home > div span {
  font-weight: 300;
  color: var(--primary-color);
}
.board-manager {
  display: grid;
  grid-template-rows: auto 1fr;
}
.board-manager .list-containers {
  display: flex;
  column-gap: 2rem;
}
.board-manager .list-containers > *:first-child {
  padding-right: 2rem;
  border-right: 1px solid var(--border-color);
}
.board-manager .list-containers > *:last-child {
  width: 100%;
  border-right: none;
}
.user-settings {
  width: 50rem;
  margin: 1rem auto;
}
.user-settings > .title {
  font-size: 1.2rem;
  text-align: center;
  text-transform: uppercase;
}
.user-settings .grid-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
}
.user-settings .cell {
  padding: 1rem;
  min-height: 3rem;
}
.user-settings .left {
  display: flex;
  border-right: 1px solid var(--border-color);
  align-items: center;
  justify-content: flex-end;
}
.user-settings .right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.user-settings .content[data-action] {
  cursor: pointer;
}
.user-settings .content svg {
  width: 2rem;
  height: 2rem;
}
.user-settings #user-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.user-settings #user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-settings #board-fill,
.user-settings #board-stroke {
  width: 4rem;
  height: 2rem;
  border: 1px solid var(--border-color);
}
.user-settings #user-name {
  color: var(--primary-color);
}
.logo {
  width: 30rem;
  aspect-ratio: 20 / 10;
  color: var(--primary-color);
  display: flex;
  z-index: 2;
}
.logo .left-side {
  position: relative;
  height: 100%;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo .left-side > * {
  position: absolute;
}
.logo #board-icon {
  height: 40%;
}
.logo .right-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: -12%;
}
.logo .logo-name {
  width: max-content;
  line-height: 1.2;
  font-size: 3.45rem;
}
.logo .logo-slogan {
  border-top: 1px solid var(--secondary-color);
  opacity: 0.4;
  text-transform: uppercase;
  font-size: 0.765rem;
}
.logo .fog-1 {
  opacity: 0;
  animation: changeColorBoxShadow 25s infinite linear;
  filter: url(#smoke1);
}
.logo .fog-2 {
  opacity: 0;
  animation: changeColorBoxShadow 25s infinite linear;
  filter: url(#smoke2);
}
@keyframes changeColorBoxShadow {
  0% {
    box-shadow: -0.5rem -0.5rem 3.25rem 3.25rem var(--smoke-color-1);
  }
  33% {
    box-shadow: -0.5rem -0.5rem 3.25rem 3.25rem var(--smoke-color-2);
  }
  66% {
    box-shadow: -0.5rem -0.5rem 3.25rem 3.25rem var(--smoke-color-3);
  }
  100% {
    box-shadow: -0.5rem -0.5rem 3.25rem 3.25rem var(--smoke-color-1);
  }
}
.select {
  position: relative;
  width: 12rem;
  font-size: 0.9rem;
}
.select:hover,
.select:has(.active) {
  color: var(--primary-color);
}
.select .selected {
  padding: 0.125rem;
  padding-left: 0.5rem;
  border: 1px solid var(--secondary-color);
  cursor: pointer;
  border-radius: 0.25rem;
}
.select:hover .selected,
.select .active {
  border: 1px solid var(--primary-color);
}
.select:hover .selected::after,
.select:has(.active) .selected::after {
  border-top: 0.5rem solid var(--primary-color);
}
.select .options {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-left: 1px solid var(--secondary-color);
  border-right: 1px solid var(--secondary-color);
  border-bottom: 1px solid var(--secondary-color);
  max-height: 11rem;
  overflow-y: auto;
  z-index: 1000;
  border-radius: 0 0 0.25rem 0.25rem;
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
}
.select .option {
  padding: 0.25rem;
  padding-left: 0.5rem;
  cursor: pointer;
}
.select .option:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.select .selected::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.75rem;
  width: 0;
  height: 0;
  border-left: 0.4rem solid transparent;
  border-right: 0.4rem solid transparent;
  border-top: 0.5rem solid var(--secondary-color);
  transform: translateY(-50%);
}
.list .control {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: -2rem;
  margin-right: -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}
.list .control svg {
  width: 2rem;
  height: 2rem;
}
.list .control svg:hover {
  color: var(--primary-color);
  cursor: pointer;
}
.list .items {
  height: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  padding-bottom: 3rem;
}
.list .items .selected {
  background-color: var(--select-bg-color);
}
.list .items .cut {
  opacity: 0.3;
}
.list.folders .items .folder-item {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  padding-left: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin-top: 1px;
}
.list.folders .items svg {
  width: 2rem;
  height: 2rem;
  fill: var(--folder-fill-color);
}
.list.boards .items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.list.boards .items > * {
  aspect-ratio: 2 / 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0.25rem;
  margin-top: 1px;
  margin-right: 1px;
}
.list.boards .items .pseudo-item {
  opacity: 0;
}
.list.boards .items img {
  border: 1px solid var(--border-color);
}
.list.boards .items .name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.1rem;
}
.list.boards .items .date {
  font-size: 0.9rem;
}
.list.boards .items .ago {
  font-size: 0.8rem;
}
.dialog-wrapper {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dialog-wrapper-bg-color);
}
.dialog-wrapper .dialog {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 20rem;
  padding: 1rem;
  border-radius: 0.25rem;
  background-color: var(--dialog-bg-color);
  color: var(--dialog-color);
}
.dialog-wrapper .dialog .title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}
.dialog-wrapper .dialog .title svg {
  width: 1.5rem;
  height: 1.5rem;
}
.dialog-wrapper .dialog .title #folder-fill-icon {
  fill: var(--folder-fill-color);
}
.dialog-wrapper .dialog input {
  width: 100%;
  font-family: "Open Sans";
  font-weight: 300;
  font-size: 1rem;
  padding: 0.25rem;
  padding-left: 0.5rem;
  border: 1px solid var(--dialog-border-color);
  border-radius: 0.25rem;
}
.dialog-wrapper .dialog .buttons {
  display: flex;
  justify-content: space-between;
  margin-left: 1rem;
  margin-right: 1rem;
}
.dialog-wrapper .dialog .buttons .cancel {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  color: rgb(185, 0, 0);
}
.dialog-wrapper .dialog .buttons .confirm {
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
  color: rgb(36, 153, 36);
}
.dialog-wrapper .dialog .picker input {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 1rem;
  background: linear-gradient(to right, red, yellow, lime, cyan, blue, magenta, red);
  padding: 0;
  border: none;
  cursor: pointer;
}
.dialog-wrapper .dialog .picker input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0.5rem;
  height: 1rem;
  background: transparent;
  border: 1px solid rgb(0, 0, 0);
  cursor: pointer;
}
.dialog-wrapper .dialog .picker input::-moz-range-thumb {
  width: 0.5rem;
  height: 1rem;
  background: transparent;
  border: 1px solid rgb(0, 0, 0);
  cursor: pointer;
}
.dialog-wrapper .dialog .picker canvas {
  width: 100%;
  aspect-ratio: 2;
  border: 1px solid rgb(221, 221, 221);
  border-radius: 0.25rem;
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  color: var(--third-color);
}
.nav div {
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}
.nav div:hover {
  opacity: 1;
  scale: 1.1;
}
.nav div:has(#sun-icon) {
  width: 2.4rem;
  height: 2.4rem;
}
.nav .active {
  color: var(--primary-color);
}
.star-field {
  position: fixed;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--primary-bg-color), var(--secondary-bg-color));
}
.context-menu {
  position: absolute;
  background-color: var(--contextmenu-bg-color);
  color: var(--contextmenu-color);
  width: 11rem;
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.5rem var(--contextmenu-shadow-color);
  z-index: 1000;
  font-size: 0.9rem;
}
.context-menu > div {
  padding: 0.25rem;
  padding-left: 0.5rem;
  opacity: 0.3;
}
.context-menu > div[data-active=true]:hover {
  background-color: var(--contextmenu-hover-bg-color);
  cursor: pointer;
}
.context-menu > div[data-active=true] {
  opacity: 1;
}
.folder-path {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.folder-path svg {
  width: 2rem;
  height: 2rem;
}
.folder-path [data-folder-id]:hover {
  cursor: pointer;
  color: var(--primary-color);
}
:root {
  font-size: 16px;
  --primary-color: rgb(0, 0, 0);
  --secondary-color: rgba(0, 0, 0, 0.4);
  --primary-bg-color: rgb(255, 255, 255);
  --secondary-bg-color: rgb(255, 255, 255);
  --third-color: rgb(0, 0, 0);
  --smoke-color-1: rgba(0, 0, 0, 0.7);
  --smoke-color-2: rgba(153, 0, 0, 0.7);
  --smoke-color-3: rgba(0, 77, 150, 0.7);
}
[data-theme=gray-day] {
  --primary-color: rgb(0, 0, 0);
  --secondary-color: rgba(0, 0, 0, 0.5);
  --third-color: rgba(0, 0, 0, 0.5);
  --primary-bg-color: rgb(187, 187, 187);
  --secondary-bg-color: rgb(187, 187, 187);
  --contextmenu-bg-color: white;
  --contextmenu-hover-bg-color: rgba(0, 0, 0, 0.1);
  --contextmenu-color: black;
  --contextmenu-shadow-color: rgba(0, 0, 0, 0.1);
  --dialog-wrapper-bg-color: rgba(0, 0, 0, 0.6);
  --dialog-bg-color: white;
  --dialog-color: black;
  --dialog-border-color: rgb(80, 80, 80);
  --border-color: rgba(0, 0, 0, 0.15);
  --folder-fill-color: rgb(255, 255, 200);
  --select-bg-color: rgba(0, 0, 0, 0.089);
}
[data-theme=sun-morning2] {
  --primary-color: rgb(0, 0, 0);
  --secondary-color: rgba(0, 0, 0, 0.5);
  --third-color: rgba(0, 0, 0, 0.5);
  --primary-bg-color: #ff3300ad;
  --secondary-bg-color: #eeff0179;
  --contextmenu-bg-color: white;
  --contextmenu-hover-bg-color: rgba(0, 0, 0, 0.1);
  --contextmenu-color: black;
  --contextmenu-shadow-color: rgba(0, 0, 0, 0.1);
  --dialog-wrapper-bg-color: rgba(0, 0, 0, 0.6);
  --dialog-bg-color: white;
  --dialog-color: black;
  --dialog-border-color: rgb(80, 80, 80);
  --border-color: rgba(0, 0, 0, 0.15);
  --folder-fill-color: rgb(255, 236, 149);
  --select-bg-color: rgba(255, 115, 0, 0.1);
}
[data-theme=sun-morning] {
  --primary-color: rgb(0, 0, 0);
  --secondary-color: rgba(0, 0, 0, 0.5);
  --third-color: rgba(0, 0, 0, 0.5);
  --primary-bg-color: #fbffc8;
  --secondary-bg-color: #fbffc8;
  --contextmenu-bg-color: white;
  --contextmenu-hover-bg-color: rgba(0, 0, 0, 0.1);
  --contextmenu-color: black;
  --contextmenu-shadow-color: rgba(0, 0, 0, 0.1);
  --dialog-wrapper-bg-color: rgba(0, 0, 0, 0.6);
  --dialog-bg-color: white;
  --dialog-color: black;
  --dialog-border-color: rgb(80, 80, 80);
  --border-color: rgba(0, 0, 0, 0.15);
  --folder-fill-color: rgb(253, 255, 162);
  --select-bg-color: rgba(255, 115, 0, 0.1);
}
[data-theme=blue-sky] {
  --primary-color: rgb(255, 255, 255);
  --secondary-color: rgba(255, 255, 255, 0.4);
  --third-color: rgba(255, 255, 255, 0.4);
  --primary-bg-color: #140038;
  --secondary-bg-color: #0050ac;
  --contextmenu-bg-color: rgb(255, 255, 255);
  --contextmenu-hover-bg-color: rgba(0, 0, 0, 0.1);
  --contextmenu-color: rgb(0, 0, 0);
  --contextmenu-shadow-color: rgba(0, 0, 0, 0.1);
  --dialog-wrapper-bg-color: rgba(0, 0, 0, 0.6);
  --dialog-bg-color: white;
  --dialog-color: black;
  --dialog-border-color: rgb(80, 80, 80);
  --border-color: rgba(255, 255, 255, 0.15);
  --folder-fill-color: rgb(255, 255, 255);
  --select-bg-color: rgba(255, 255, 255, 0.05);
  --smoke-color-1: rgba(255, 255, 255, 0.7);
  --smoke-color-2: rgba(255, 170, 170, 0.7);
  --smoke-color-3: rgba(73, 255, 255, 0.7);
}
[data-theme=moon-night] {
  --primary-color: rgb(255, 255, 255);
  --secondary-color: rgba(255, 255, 255, 0.4);
  --third-color: rgba(255, 255, 255, 0.4);
  --primary-bg-color: #000000;
  --secondary-bg-color: #000000;
  --contextmenu-bg-color: rgb(255, 255, 255);
  --contextmenu-hover-bg-color: rgba(0, 0, 0, 0.1);
  --contextmenu-color: rgb(0, 0, 0);
  --contextmenu-shadow-color: rgba(0, 0, 0, 0.1);
  --dialog-wrapper-bg-color: rgba(0, 0, 0, 0.6);
  --dialog-bg-color: white;
  --dialog-color: black;
  --dialog-border-color: rgb(80, 80, 80);
  --border-color: rgba(255, 255, 255, 0.15);
  --folder-fill-color: rgb(255, 255, 255);
  --select-bg-color: rgba(255, 255, 255, 0.068);
  --smoke-color-1: rgba(255, 255, 255, 0.7);
  --smoke-color-2: rgba(255, 170, 170, 0.7);
  --smoke-color-3: rgba(73, 255, 255, 0.7);
}
[data-theme=white-simply] {
  --primary-color: rgb(0, 0, 0);
  --secondary-color: rgba(0, 0, 0, 0.5);
  --third-color: rgba(0, 0, 0, 0.5);
  --primary-bg-color: rgb(253, 253, 253);
  --secondary-bg-color: rgb(253, 253, 253);
  --contextmenu-bg-color: white;
  --contextmenu-hover-bg-color: rgba(0, 0, 0, 0.1);
  --contextmenu-color: black;
  --contextmenu-shadow-color: rgba(0, 0, 0, 0.1);
  --dialog-wrapper-bg-color: rgba(0, 0, 0, 0.6);
  --dialog-bg-color: white;
  --dialog-color: black;
  --dialog-border-color: rgb(80, 80, 80);
  --border-color: rgba(0, 0, 0, 0.1);
  --folder-fill-color: rgb(255, 255, 255);
  --select-bg-color: rgba(0, 0, 0, 0.041);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Open Sans";
  line-height: 1.5;
  font-weight: 300;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: default;
  user-select: none;
  overflow: auto;
}
.app {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  color: var(--secondary-color);
}
.header {
  display: grid;
  justify-content: center;
  margin-top: 1rem;
}
.main {
  display: grid;
  margin-left: 6rem;
  margin-right: 6rem;
  z-index: 1;
}
.footer {
  color: var(--third-color);
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
  z-index: 3;
}
.selection-rectangle {
  position: absolute;
  background: rgba(173, 216, 230, 0.3);
  border: 1px solid rgba(95, 158, 160, 0.8);
  pointer-events: none;
  display: none;
  z-index: 1000;
}
.land {
  position: fixed;
  width: 100vw;
  height: 100%;
}
.land img {
  position: absolute;
  bottom: 0rem;
  width: 100%;
  height: 25%;
  opacity: 0.3;
}
