html {
  scroll-behavior: smooth;
  background-color: #1f1f1f;
  overflow: hidden;
  overscroll-behavior: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  direction: auto;
}

body {
  color-scheme: dark;
}

:root {
  --main: #35f8ff;
  --main2: #ff00ef;
  ;
  --main-BG: #1f1f1f;
  --main-text: #fff;
  --active-nav-bar: #009afc;
  --active-nav-bar2: #ff8bf7;
  ;
  --main-text-fade: rgba(255, 255, 255, 0.65);
  --main-BG-fade: #50505080;
}

.body {
  height: fit-content;
  user-select: none;
  width: 100dvw;
  display: flex;
  font-family: body;
  background-color: var(--main-BG);
  color: var(--main-text);
  transition: background-color 0.5s ease, color 0.5s ease;
}

main::-webkit-scrollbar {
  display: none;
}

.cta {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


body::selection {
  background-color: #ff00ef70;
}

a {
  text-decoration: underline !important;
  color: var(--main2) !important;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--active-nav-bar2) !important;
}

main .title,
main .title2,
main .title3 {
  font-weight: 700;
  color: var(--main-text);
}

main .title {
  font-size: 1.5rem;
}

main .title2 {
  font-size: 1.25rem;
}

main .title3 {
  font-size: 1rem;
}

main .title4 {
  font-size: 0.9rem;
  font-weight: 400;
}

main .disc {
  color: var(--main-text-fade);
  font-size: 1rem;
}

.disabled-element {
  pointer-events: none !important;
  cursor: not-allowed !important;
}



.notification {
  display: none;
  align-items: center;
  justify-content: center;
  background-color: #000;
  position: fixed;
  bottom: 2%;
  left: 50%;
  z-index: 2;
  color: #fff;
  transform: translateX(-50%);
  overflow: hidden;
  text-transform: capitalize;
  max-width: 80dvw;
  padding: 1rem;
  border-radius: 1rem;
  animation: notification 0.5s ease forwards;
}

@keyframes notification {
  from {
    transform: translateX(-50%) scale(0);
    opacity: 0;
  }
}

.notification .iconbox {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff00ef;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  margin-right: 1rem;
}

.notification p {
  width: 70dvw;
}

.notification .successed {
  background: #008000;
}

.notification .failed {
  background: #800000;
}


























.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1f1f1f;
  height: 100%;
  width: 100%;
  z-index: 999;
  scroll-snap-align: start;
  justify-content: space-evenly;
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  --main: #00A693;
  --accent: #005f56;
}

.socket {
  scale: 2.3;
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  margin-left: -100px;
  top: 50%;
  margin-top: -100px;
}

@media (max-width: 768px) {
  .socket {
    scale: 1.5;
  }
}

.hex-brick {
  box-shadow: 0px 0px 25px 0px var(--accent);
  scale: 0.5;
  background: rgb(47, 47, 47);
  width: 30px;
  height: 17px;
  position: absolute;
  top: 5px;
  animation-name: fade00;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  -webkit-animation-name: fade00;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
}

.h2 {
  transform: rotate(60deg);
  -webkit-transform: rotate(60deg);
}

.h3 {
  transform: rotate(-60deg);
  -webkit-transform: rotate(-60deg);
}

.gel {
  height: 30px;
  width: 30px;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  position: absolute;
  top: 50%;
  left: 50%;
}

.center-gel {
  margin-left: -15px;
  margin-top: -15px;
  animation-name: pulse00;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  -webkit-animation-name: pulse00;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
}

.c1 {
  margin-left: -47px;
  margin-top: -15px;
}

.c2 {
  margin-left: -31px;
  margin-top: -43px;
}

.c3 {
  margin-left: 1px;
  margin-top: -43px;
}

.c4 {
  margin-left: 17px;
  margin-top: -15px;
}

.c5 {
  margin-left: -31px;
  margin-top: 13px;
}

.c6 {
  margin-left: 1px;
  margin-top: 13px;
}

.c7 {
  margin-left: -63px;
  margin-top: -43px;
}

.c8 {
  margin-left: 33px;
  margin-top: -43px;
}

.c9 {
  margin-left: -15px;
  margin-top: 41px;
}

.c10 {
  margin-left: -63px;
  margin-top: 13px;
}

.c11 {
  margin-left: 33px;
  margin-top: 13px;
}

.c12 {
  margin-left: -15px;
  margin-top: -71px;
}

.c13 {
  margin-left: -47px;
  margin-top: -71px;
}

.c14 {
  margin-left: 17px;
  margin-top: -71px;
}

.c15 {
  margin-left: -47px;
  margin-top: 41px;
}

.c16 {
  margin-left: 17px;
  margin-top: 41px;
}

.c17 {
  margin-left: -79px;
  margin-top: -15px;
}

.c18 {
  margin-left: 49px;
  margin-top: -15px;
}

.c19 {
  margin-left: -63px;
  margin-top: -99px;
}

.c20 {
  margin-left: 33px;
  margin-top: -99px;
}

.c21 {
  margin-left: 1px;
  margin-top: -99px;
}

.c22 {
  margin-left: -31px;
  margin-top: -99px;
}

.c23 {
  margin-left: -63px;
  margin-top: 69px;
}

.c24 {
  margin-left: 33px;
  margin-top: 69px;
}

.c25 {
  margin-left: 1px;
  margin-top: 69px;
}

.c26 {
  margin-left: -31px;
  margin-top: 69px;
}

.c27 {
  margin-left: -79px;
  margin-top: -15px;
}

.c28 {
  margin-left: -95px;
  margin-top: -43px;
}

.c29 {
  margin-left: -95px;
  margin-top: 13px;
}

.c30 {
  margin-left: 49px;
  margin-top: 41px;
}

.c31 {
  margin-left: -79px;
  margin-top: -71px;
}

.c32 {
  margin-left: -111px;
  margin-top: -15px;
}

.c33 {
  margin-left: 65px;
  margin-top: -43px;
}

.c34 {
  margin-left: 65px;
  margin-top: 13px;
}

.c35 {
  margin-left: -79px;
  margin-top: 41px;
}

.c36 {
  margin-left: 49px;
  margin-top: -71px;
}

.c37 {
  margin-left: 81px;
  margin-top: -15px;
}

.r1 {
  animation-name: pulse00;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-delay: 0.2s;
  -webkit-animation-name: pulse00;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-delay: 0.2s;
}

.r2 {
  animation-name: pulse00;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-delay: 0.4s;
  -webkit-animation-name: pulse00;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-delay: 0.4s;
}

.r3 {
  animation-name: pulse00;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-delay: 0.6s;
  -webkit-animation-name: pulse00;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-delay: 0.6s;
}

.r1>.hex-brick {
  animation-name: fade00;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-delay: 0.2s;
  -webkit-animation-name: fade00;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-delay: 0.2s;
}

.r2>.hex-brick {
  animation-name: fade00;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-delay: 0.4s;
  -webkit-animation-name: fade00;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-delay: 0.4s;
}

.r3>.hex-brick {
  animation-name: fade00;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-delay: 0.6s;
  -webkit-animation-name: fade00;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-delay: 0.6s;
}

@keyframes pulse00 {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(0.01);
    transform: scale(0.01);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes fade00 {
  0% {
    background: var(--accent);
  }

  50% {
    background: var(--accent);
  }

  100% {
    background: var(--accent);
  }
}


































.loading2 {
  --speed-of-animation: 0.9s;
  --gap: 6px;
  --first-color: #C335FB;
  --second-color: #B21DF2;
  --third-color: #C55CF2;
  --fourth-color: #9f05f2;
  --fifth-color: #B11FF8;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  gap: 6px;
  height: 100px;
  margin: 0 auto;
}

.loading2 span {
  width: 4px;
  height: 50px;
  background: var(--first-color);
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 4px #ff00ef)drop-shadow(0 0 8px #ff00ef);
  animation: scale var(--speed-of-animation) ease-in-out infinite;
}

.loading2 span:nth-child(2) {
  background: var(--second-color);
  animation-delay: -0.8s;
}

.loading2 span:nth-child(3) {
  background: var(--third-color);
  animation-delay: -0.7s;
}

.loading2 span:nth-child(4) {
  background: var(--fourth-color);
  animation-delay: -0.6s;
}

.loading2 span:nth-child(5) {
  background: var(--fifth-color);
  animation-delay: -0.5s;
}

@keyframes scale {

  0%,
  40%,
  100% {
    transform: scaleY(0.05);
  }

  20% {
    transform: scaleY(1);
  }
}




tool-tip {
    --_p-inline: 1.5ch;
    --_p-block: .25ch;
    --_triangle-size: 7px;
    --_bg: var(--main-BG);
    --_shadow-alpha: 50%;
    --_x: calc(var(--isRTL) * -3px * -1);
    --_bottom-tip: conic-gradient(from -30deg at bottom, rgba(0, 0, 0, 0), #000 1deg 60deg, rgba(0, 0, 0, 0) 61deg) bottom / 100% 50% no-repeat;
    --_top-tip: conic-gradient(from 150deg at top, rgba(0, 0, 0, 0), #000 1deg 60deg, rgba(0, 0, 0, 0) 61deg) top / 100% 50% no-repeat;
    --_right-tip: conic-gradient(from -120deg at right, rgba(0, 0, 0, 0), #000 1deg 60deg, rgba(0, 0, 0, 0) 61deg) right / 50% 100% no-repeat;
    --_left-tip: conic-gradient(from 60deg at left, rgba(0, 0, 0, 0), #000 1deg 60deg, rgba(0, 0, 0, 0) 61deg) left / 50% 100% no-repeat;

    pointer-events: none;
    user-select: none;

    opacity: 0;
    transform: translateX(var(--_x, 0)) translateY(var(--_y, 0));
    transition: opacity .2s ease, transform .2s ease;

    position: absolute;
    color: #fff;
    z-index: 1;
    inline-size: max-content;
    max-inline-size: 25ch;
    text-align: start;
    font-size: 1rem;
    font-weight: normal;
    line-height: normal;
    line-height: initial;
    padding: var(--_p-block) var(--_p-inline);
    margin: 0;
    border-radius: 0.7rem;
    background: var(--_bg);
    will-change: filter;
    filter:
        drop-shadow(0 3px 3px hsl(0 0% 0% / var(--_shadow-alpha))) drop-shadow(0 12px 12px hsl(0 0% 0% / var(--_shadow-alpha)));
}

/* create a stacking context for elements with > tool-tips */
:has(> tool-tip) {
    position: relative;
}

tool-tip:is([tip-position="right"], [tip-position="inline-end"]) {
    inset-inline-start: calc(100% + var(--_p-inline) + var(--_triangle-size));
    inset-block-end: 50%;
    --_y: 50%;
}

/* when those parent elements have focus, hover, etc */
:has(> tool-tip):is(:hover, :focus-visible, :active)>tool-tip {
    opacity: 1;
    transition-delay: 200ms;
}

/* prepend some prose for screen readers only */
tool-tip::before {
    content: "; Has tooltip: ";
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

/* tooltip shape is a pseudo element so we can cast a shadow */
tool-tip::after {
    content: "";
    background: var(--_bg);
    position: absolute;
    z-index: -1;
    inset: 0;
    mask: var(--_tip);
    border-radius: 0.7rem;
}

tool-tip[tip-position="right"]::after {
    --_tip: var(--_left-tip);
}

tool-tip[tip-position="right"]:dir(rtl)::after {
    --_tip: var(--_right-tip);
}

@media (prefers-reduced-motion: no-preference) {
    :has(> tool-tip:is([tip-position="top"], [tip-position="block-start"], :not([tip-position]))):not(:hover):not(:focus-visible):not(:active) tool-tip {
        --_y: 3px;
    }

    :has(> tool-tip:is([tip-position="right"], [tip-position="inline-end"])):not(:hover):not(:focus-visible):not(:active) tool-tip {
        --_x: -3px;
    }

    :has(> tool-tip:is([tip-position="bottom"], [tip-position="block-end"])):not(:hover):not(:focus-visible):not(:active) tool-tip {
        --_y: -3px;
    }

    :has(> tool-tip:is([tip-position="left"], [tip-position="inline-start"])):not(:hover):not(:focus-visible):not(:active) tool-tip {
        --_x: 3px;
    }
}

tool-tip:is([tip-position="right"], [tip-position="inline-end"])::after {
    --_tip: var(--_left-tip);
    inset-inline-start: calc(var(--_triangle-size) * -1);
    border-inline-start: var(--_triangle-size) solid transparent;
}

tool-tip:is([tip-position="right"], [tip-position="inline-end"]):dir(rtl)::after {
    --_tip: var(--_right-tip);
}

tool-tip {
  --isRTL: -1;
}

tool-tip:dir(rtl) {
  --isRTL: 1;
}

tool-tip[tip-position="top"]) {
  --_x: calc(50% * var(--isRTL));
}

tool-tip:is([tip-position="bottom"], [tip-position="block-end"]) {
  inset-inline-start: 50%;
  inset-block-start: calc(100% + var(--_p-block) + var(--_triangle-size));
  --_x: calc(50% * var(--isRTL));
}

tool-tip:is([tip-position="bottom"], [tip-position="block-end"])::after {
  --_tip: var(--_top-tip);
  inset-block-start: calc(var(--_triangle-size) * -1);
  border-block-start: var(--_triangle-size) solid transparent;
}

tool-tip:is([tip-position="left"], [tip-position="inline-start"]) {
  inset-inline-end: calc(100% + var(--_p-inline) + var(--_triangle-size));
  inset-block-end: 50%;
  --_y: 50%;
}

tool-tip:is([tip-position="left"], [tip-position="inline-start"])::after {
  --_tip: var(--_right-tip);
  inset-inline-end: calc(var(--_triangle-size) * -1);
  border-inline-end: var(--_triangle-size) solid transparent;
}

tool-tip:is([tip-position="left"], [tip-position="inline-start"]):dir(rtl)::after {
  --_tip: var(--_left-tip);
}









.username_popup_Accept input[type="checkbox"] {
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  margin-inline-end: 1rem;
}

.username_popup_Accept .username_popup_Accept-text {
  cursor: pointer;
  max-width: 80%;
}


.popups .modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.popups .modal-actions button {
    flex: 1;
}

.popups .btn-cancel {
    background: #4b4b4b;
    color: #fff;
    font-weight: 500;
}

.popups .btn-save {
    background: #ff00ef;
    color: #fff;
    font-weight: 700;
}

.popups button {
    width: 100%;
    padding: clamp(10px, 3vw, 12px);
    border-radius: 14px;
    border: none;
    background: #ff00ef;
    color: #000;
    font-weight: 700;
    font-size: clamp(14px, 4vw, 15px);
    cursor: pointer;
    transition: transform 0.25s ease, color 0.3s ease;
}

.popups button:hover,
.popups button:active {
    transform: scale(0.97);
}

.popups button:disabled {
    filter: grayscale(100%) brightness(50%);
    cursor: not-allowed;
}



@font-face {
  font-family: GintoDiscordNord-Bold;
  src: url(../assets/fonts/ABCGintoDiscordNord-Bold.otf);
}