@font-face {
  font-family: "OpenDyslexic";
  src: url("../fonts/OpenDyslexic/OpenDyslexic-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "OpenDyslexic";
  src: url("../fonts/OpenDyslexic/OpenDyslexic-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "OpenDyslexic";
  src: url("../fonts/OpenDyslexic/OpenDyslexic-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "OpenDyslexic";
  src: url("../fonts/OpenDyslexic/OpenDyslexic-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
}
html body.dyslexic-font *:not(i), html body.dyslexic-font *:not(i)::before, html body.dyslexic-font *:not(i)::after {
  font-family: "OpenDyslexic", Arial, sans-serif !important;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background-color: rgba(114, 70, 242, 0.8);
  color: #fff;
}

::-webkit-scrollbar-thumb {
  border-radius: 0;
  background-color: #7246f2;
}

::-webkit-scrollbar-track {
  border-radius: 0;
  background-color: #222;
}

::-webkit-scrollbar {
  width: 6px;
}

.admin-link {
  color: #7246f2;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.admin-link:hover {
  color: #7246f2;
  text-decoration: underline;
}

.avatar {
  border-radius: 25%;
  object-fit: cover;
}

@media (max-width: 768px) {
  html {
    font-size: 80% !important;
  }
  main .block {
    padding: 0.125rem;
  }
  nav .nav-wrapper {
    height: 4rem;
  }
  nav .nav-wrapper .nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  nav .nav-wrapper .nav__logo img {
    width: 3.125rem;
    height: 3.125rem;
    margin-left: 7px;
  }
  nav .nav-wrapper .nav__logo h1 {
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
  }
  nav .nav-wrapper .nav__links {
    display: none;
  }
  nav .nav-wrapper .nav__user {
    display: none;
    margin-right: 7px;
  }
  html body main .content-wrapper {
    flex-direction: column;
  }
  html body main .content-wrapper .content:has(+ .side-wrapper) {
    width: 100%;
  }
  html body main .content-wrapper .side-wrapper {
    width: 100%;
  }
  nav .nav-wrapper .nav__toggle {
    display: block;
  }
  header {
    position: sticky;
    width: 100%;
    z-index: 1000;
    top: 0;
  }
  .sidebar {
    display: flex !important;
  }
  #toggleSidebar:checked ~ main {
    filter: blur(5px);
  }
  #toggleSidebar:checked ~ #ousideClickClose {
    display: block;
  }
  aside {
    overflow: hidden;
  }
  body:has(#toggleSidebar:checked) {
    overflow: hidden;
  }
}
.nav__toggle {
  display: none;
  color: white;
  width: 3.125rem;
  height: 3.125rem;
  font-size: 2rem;
  align-content: center;
  text-align: center;
  transition: all 0.25s ease;
  border-radius: 0.5rem;
  cursor: pointer;
  margin-left: auto;
  margin-right: 7px;
}
.nav__toggle:hover {
  background: #1b2328;
}

#ousideClickClose {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

#toggleSidebar {
  display: none;
}
#toggleSidebar ~ .sidebar {
  display: none;
  position: fixed;
  flex-direction: column;
  right: -100%;
  top: 4rem;
  transition: all 0.25s ease;
  height: calc(100vh - 4rem);
  width: clamp(300px, 75%, 400px);
  z-index: 1000;
  background: rgba(30, 31, 33, 0.75);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  padding: 5rem 1rem calc(1rem + 100vh - 100dvh) 1rem;
  justify-content: space-between;
  align-items: center;
  overflow-y: hidden;
}
#toggleSidebar ~ .sidebar .nav__links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
}
#toggleSidebar ~ .sidebar .nav__user {
  width: 100%;
}
#toggleSidebar ~ .sidebar .nav__user .profile {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.25s ease;
  padding-left: 0;
  text-decoration: none;
}
#toggleSidebar ~ .sidebar .nav__user .profile .profile__avatar {
  width: 128px;
  height: 128px;
  border-radius: 0.5rem;
}
#toggleSidebar ~ .sidebar .nav__user .profile .profile__name {
  font-weight: 500;
  color: #fff;
  max-width: 80%;
  font-size: 2rem;
  text-overflow: ellipsis;
  overflow: hidden;
  text-wrap: nowrap;
  white-space: nowrap;
}
#toggleSidebar ~ .sidebar .nav__user a[role=button] {
  transition: all 0.25s ease;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  align-content: center;
  justify-self: center;
  justify-content: center;
  margin-top: 1rem;
  width: 60%;
  padding: 1rem;
  color: white;
  border-radius: 0.5rem;
  text-align: center;
  text-decoration: none;
  border: 1px solid #303e51;
}
#toggleSidebar ~ .sidebar .nav__user a[role=button][title="Log in"] {
  background-color: #7246f2;
  border: 0;
}
#toggleSidebar ~ .sidebar .nav__user a[role=button]:hover {
  background: #1b2328;
}
#toggleSidebar:checked ~ .sidebar {
  right: 0;
}

body {
  background: #151716 url("../../assets/img/image.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  font-family: "Readex Pro", sans-serif;
  scroll-behavior: smooth;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  background-attachment: fixed;
}
body button {
  font-family: "Readex Pro", sans-serif;
}
body.light-mode {
  filter: invert(1);
}
body.light-mode img, body.light-mode .avatar, body.light-mode .tag, body.light-mode .auth-error span {
  filter: invert(1);
}

nav {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  background-color: rgba(30, 31, 33, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-wrapper {
  width: clamp(300px, 100%, 1200px);
  align-items: center;
  position: static;
  display: flex;
  z-index: 1000;
  height: 6rem;
  gap: 2rem;
}
.nav-wrapper .nav__logo {
  text-decoration: none;
}
.nav-wrapper .nav__logo img {
  border-radius: 1rem;
}
.nav-wrapper .nav__logo h1 {
  display: none;
}
.nav-wrapper .nav__links {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-direction: row;
  gap: 0.5rem;
  list-style-type: none;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.nav-wrapper .nav__user {
  margin-left: auto;
  display: flex;
  border-radius: 0.5rem;
  overflow: hidden;
  height: 50px;
  background: #1b2328;
}
.nav-wrapper .nav__user .profile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border-right: 1px solid #303e51;
  padding-right: 0.5rem;
  text-decoration: none;
}
.nav-wrapper .nav__user .profile .profile__avatar {
  border-radius: 0.5rem;
  object-fit: cover;
  height: 50px;
  width: 50px;
}
.nav-wrapper .nav__user .profile .profile__name {
  font-weight: 500;
  color: #fff;
  max-width: 8rem;
  text-overflow: ellipsis;
  overflow: hidden;
  text-wrap: nowrap;
  white-space: nowrap;
}
.nav-wrapper .nav__user a:not(.profile) {
  overflow: hidden;
  position: relative;
  display: flex;
  padding: 1rem 1.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  height: 50px;
  transition: all 0.25s ease;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
}
.nav-wrapper .nav__user a:not(.profile) i {
  margin-right: 5px;
}
.nav-wrapper .nav__user a:not(.profile)[data-loggedin=true] {
  width: 50px;
  padding: 0;
}
.nav-wrapper .nav__user a:not(.profile):hover {
  background: #1b2328;
}
.nav-wrapper .nav__user a:not(.profile):hover, .nav-wrapper .nav__user a:not(.profile):hover i {
  color: #7246f2;
}

.links__item {
  overflow: hidden;
  position: relative;
  display: block;
  padding: 1rem 1.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.25s ease;
}
.links__item.selected {
  background: #1b2328;
}
.links__item.selected a, .links__item.selected i {
  color: #7246f2;
}
.links__item.selected::before {
  background: #7246f2;
  translate: -50% -50%;
  border-radius: 1rem;
  position: absolute;
  content: " ";
  height: 10px;
  width: 90%;
  top: 100%;
  left: 50%;
}
.links__item:hover {
  background: #1b2328;
}
.links__item:hover a, .links__item:hover i {
  color: #7246f2;
}
.links__item a {
  color: #fff;
  text-decoration: none;
  width: calc(100% + 3rem); /* Adjust width to include padding */
  height: calc(100% + 2rem); /* Adjust height to include padding */
  display: block;
  margin: -1rem -1.5rem; /* Negative margin to offset padding */
  padding: 1rem 1.5rem; /* Reapply padding */
}

main {
  padding: 100px 0;
  min-height: 100vh;
  color: #fff;
  font-family: "Readex Pro", sans-serif;
  font-weight: 500;
  display: flex;
  justify-content: center;
}

.content-wrapper {
  width: clamp(300px, 100%, 1200px);
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
.content-wrapper .side-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 25%;
}
.content-wrapper .content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.content-wrapper .content:has(+ .side-wrapper) {
  width: calc(75% - 2rem);
}

.block {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: #1b2328;
  border-radius: 0.75rem;
  padding: 0.5rem;
}
.block .block__header {
  padding: 6px 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.block .block__header .block__title {
  font-weight: 700;
}
.block .block__header .block__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  font-size: 0.75rem;
}
.block .block__body {
  padding: 6px 10px;
}

.node {
  width: 100%;
  display: flex;
  flex-direction: row;
}
.node + .node {
  border-top: 1px solid #303e51;
}
.node .node__icon {
  padding: 10px 0 10px 10px;
  display: block;
}
.node .node__icon i {
  height: 3rem;
  width: 3rem;
  font-size: 1.5rem;
  line-height: 3rem;
  color: #7246f2;
  background: rgba(114, 70, 242, 0.08);
  border-radius: 1rem;
}
.node .node__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}
.node .node__main .node__title {
  font-weight: 400;
  font-size: 1.2rem;
}
.node .node__main .node__title a {
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
}
.node .node__main .node__title a:hover {
  color: #7246f2;
}
.node .node__main .node__description {
  font-size: 13px;
  color: #94a3b8;
}
.node .node__stats {
  margin-left: auto;
  padding: 10px 0;
  display: flex;
  flex-direction: row;
}
.node .node__stats .stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.node .node__stats .stat:first-child {
  padding-right: 0.5rem;
}
.node .node__stats .stat:last-child {
  padding-left: 0.5rem;
}
.node .node__stats .stat .value {
  color: #7246f2;
}
.node .node__stats .stat .label {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.node .node__stats .stat + .stat {
  border-left: 1px solid #303e51;
}

footer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 7rem;
  background: rgba(30, 31, 33, 0.75);
  font-size: 0.75rem;
  color: #64748b;
  background: #151716;
  font-family: "Readex Pro", sans-serif;
  font-weight: 500;
}

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