@import url('https://fonts.googleapis.com/css?family=Advent+Pro');
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&display=swap');

* {
  outline:none;
  -webkit-box-sizing:border-box;box-sizing:border-box;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  -moz-osx-font-smooth:grayscale;
  /* -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none; */
  /* user-select:none */
}
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;
  font-size:100%;
  font:inherit;
  vertical-align:baseline
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display:block
}
body {
  line-height:1
}
ol,ul {
  list-style:none
}
table {
  border-collapse:collapse;
  border-spacing:0
}
canvas {
  padding:0;
  margin:0
}
button {
  border:0;
  background:transparent
}
a {
  text-decoration:none
}
canvas {
  vertical-align:middle
}
html {
  font-size:62.5%;
  font-family:'Ops',helvetica,arial,sans-serif
}
body {
  font-size:1.4rem;
  color:#fff;
  background:#343741;
  font-weight:300
}
html,body,#router-view {
  width:100%;height:100%;
  overflow:hidden;
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  margin:0;
  padding:0
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Chakra Petch", sans-serif;
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  position: relative;
}

img {
  pointer-events: none;
  user-select: none;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.show{
  display:inherit !important
}
.hide{
  display:none !important
}
.visible{
  opacity:1 !important;
  visibility:visible !important
}
.hidden{
  opacity:0 !important;
  visibility:hidden !important
}
.no-select{
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none
}
.no-pointer{
  pointer-events:none
}
.no-transition{
  -webkit-transition:none !important;
  transition:none !important
}
.cursor-grab{
  cursor:-webkit-grab;cursor:grab
}
.cursor-grabbing{
  cursor:-webkit-grabbing;cursor:grabbing
}
.cursor-move{
  cursor:move
}
.cursor-pointer{
  cursor:pointer
}
.cursor-loading{
  cursor:progress
}
.cursor-not-allowed{
  cursor:not-allowed
}

.preloader{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  -webkit-box-pack:center;
  -ms-flex-pack:center;
  justify-content:center;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
  -ms-flex-direction:column;
  flex-direction:column;
  position:fixed;
  width:100%;
  height:100%;
  top:0;
  left:0;
  z-index:20;
  -webkit-transition:opacity .3s .3s,visibility 0s .3s;
  transition:opacity .3s .3s,visibility 0s .3s;
  opacity:1;
}
.preloader__text{
  display:none;
  opacity:0;
  -webkit-animation:preloader-blink 2s infinite;
  animation:preloader-blink 2s infinite;
}
.chrome.no-font-loaded .preloader__text,.firefox.no-font-loaded .preloader__text{opacity:0 !important;-webkit-animation:none !important;animation:none !important}
.preloader__bar {position:fixed;left:0;bottom:0;width:100%;height:5px;background:#fff;opacity:.2;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:left;transform-origin:left}
@-webkit-keyframes preloader-blink {0%,100%{opacity:.4}50%{opacity:1}}
@keyframes preloader-blink {0%,100%{opacity:.4}50%{opacity:1}}


.lobby {
  display:-webkit-box
  ;display:-ms-flexbox;
  display:flex;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  -webkit-box-pack:center;
  -ms-flex-pack:center;
  justify-content:center;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
  -ms-flex-direction:column;
  flex-direction:column;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%
}

.canva {
  /* display: none; */
}

#local-player {
  border-radius: 10px;
}

#local-player>div {
  border-radius: 10px;
  overflow: hidden;
  background-color: transparent !important;
}

#local-player video {
  transform: translateY(-14px);
  border-radius: 10px;
  overflow: hidden;
}

#remote-playerlist>div {
  width: auto;
  height: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
}


#remote-playerlist>div>div>div {
  border-radius: 10px;
  overflow: hidden;
  background-color: transparent !important;
}


#remote-playerlist video {
  border-radius: 10px;
  overflow: hidden;
}

.lobby #buttons {
  bottom: 0;
  position: absolute;
  display: flex;
  align-items: center;
  margin-left: 20px;
  margin-bottom: 20px;
}

.control.audio {
  background-color: rgba(0, 0, 0, 0.2);
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.control.video {
  background-color: rgba(0, 0, 0, 0.2);
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0;
}

.main-logo--top-left {
  position: absolute;
  top: 19px;
  left: 0;
  width: 123px;
}


/**** 
**** GENERAL ***
           *****/

.neon-button-wrapper button {
  border: none;
  padding: 0;
  background-color: transparent;
  border-radius: unset;
  outline: inherit;
  text-transform: uppercase;
  font-family: "Advent Pro", sans-serif;
  font-weight: 700;
}

.neon-button-wrapper button:focus {
  outline: none;
}

.neon-button-outline {
  background-image: url(/assets/images/neon-button-outline.svg);
  color: #A6FFF4;
  aspect-ratio: 16/5;
  background-size: cover;
  filter: drop-shadow(0px 2px 10px rgba(166, 255, 244, 0.8)) ;
}

.neon-button-outline-clear {
  background-image: url(/assets/images/neon-button-outline-clear.svg);
  color: #A6FFF4;
  aspect-ratio: 16/5;
  /* aspect-ratio: 10/5; */
  background-size: cover;
  /* background-size: contain; */
  filter: drop-shadow(0px 2px 10px rgba(166, 255, 244, 0.8)) ;
}

.page {
  pointer-events: none;
}

.page.lobby {
  visibility: 0;
  opacity: 0;
  justify-content: space-around;
}

.page.lobby > div {
  pointer-events: all;
}

.general__panel--container {
  min-height: 250px;
  height: 583px;
  width: 100%;
  position: relative;
  z-index: 5;
  margin-top: 77px;
  animation: fadeIn 0.4s;
}

.general__panel--container .glowing-bg{
  position: absolute;
    top: 0;
    bottom: 0;
    /* height: 250px; */
    width: calc(100% + 50px);
    background: rgba(2, 15, 25, 0.75);
    box-shadow: 0px 2px 25px #00B2FF, inset -20px 2px 25px #00B2FF;
    z-index: -1;
    border-top: solid 3px rgba(166, 255, 244, 0.8);
    border-bottom: solid 3px rgba(166, 255, 244, 0.8);
}

.general__panel--wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.menu__panel--wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  margin-top: 24px;
}

.general__panel--wrapper > svg {
  display: inherit;
}

.general__panel--wrapper .neon-button-wrapper, .menu__panel--wrapper .neon-button-wrapper {
  position: absolute;
  top: 88%;
  margin-bottom: 2%;
}

.general__panel--wrapper .neon-button-outline, .menu__panel--wrapper .neon-button-outline {
  width: 155px;
  font-size: 20px;
}

.general__panel--header {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 25%;
  justify-content: space-between;
}

.general__panel--title {
    width: 360px;
    height: 43px;
    margin-left: 8px;
    font-family: 'Advent Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 34px;
    line-height: 43px;
    text-align: center;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    text-shadow: 0px 2px 10px rgb(166 255 244 / 80%);
}

.general__panel--subtitle {
  width: 366px;
  height: 21px;
  top: 74px;

  font-family: 'Advent Pro';
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 110%;

  text-align: center;
  letter-spacing: 0.1em;

  color: #a6fff4; 

  /* Cyan-glow */

  text-shadow: 0px 2px 10px rgba(166, 255, 244, 0.8);
}

.general__panel--subtitle.secondary {
  position: unset;
  height: 45px;
  text-align: left;
  width: 310px;
}

.general__panel--hexwrapper {
  position: absolute;
  top: 80px;
}

.secondary-modal {
  display: flex;
  flex-direction: column;
}

.general__overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  background-color: black;
  z-index: -1;
}

.general__overlay--white {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  /* transition: opacity 0.3s; */
  z-index: 120;
  pointer-events: none !important;
}

.preloader-v2 {
  width: 100%;
  height: 100%;
  background: linear-gradient(180.2deg, #FFFFFF 0.17%, #79AEEB 99.83%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  transition: opacity 0.3s;
  pointer-events: none;
}

.preloader-v2 span{
  font-family: 'Chakra Petch';
  color: black;
  font-weight: 700;
  font-size: 16px;
}

.neon-button-inverted {
  background-image: url(/assets/images/neon-button-inverted.svg);
  /* background-image: url(/assets/images/glowing-button.png); */
  color: black;
  aspect-ratio: 16/5;
  /* aspect-ratio: 10/5; */
  background-size: cover;
  /* background-size: contain; */
  filter: drop-shadow(0px 2px 10px rgba(166, 255, 244, 0.8));
}


.neon-button-outline-long {
  background-image: url(/assets/images/neon-button-outline-long.svg);
  color: #A6FFF4;
  aspect-ratio: 18/3;
  background-size: cover;
  filter: drop-shadow(0px 2px 10px rgba(166, 255, 244, 0.8));
  background-position: 0 40%;
  font-size: 16px;
  height: 7vh;
  min-height: 42px;
  max-height: 58px;
  width: auto;
}

.primary-modal__share-button {
  background-color: #A6FFF4;
  color: black;
  clip-path: polygon(0 0%, 90% 0, 100% 25%, 100% 100%, 10% 100%, 0 80%);
  /* clip-path: polygon(90% 0, 100% 30%, 100% 100%, 0 100%, 0 0); */
  filter: drop-shadow(0px 2px 10px rgba(166, 255, 244, 0.8));
  width: 160px;
  height: 48px;
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translate(-50%, 0);
  border-radius: 0;
  font-size: 20px;
  font-family: "Advent Pro", sans-serif;
  font-weight: 700;
}

.primary-modal__share-button:focus {
  outline: none;
}

.back-button {
  font-family: "Advent Pro";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.05em;

  color: #999;
  text-decoration: underline;
  position: absolute;
  left: -20vw;
  /* top: 12px; */
}

/**** 
**** GENERAL ***
            *****/


/**** 
**** MENU ***
          *****/

.menu__cta--container {
  /* height: 44px; */
  z-index: 100;
  right: 20px;
  top: 20px;
}

.lobby > .menu__cta--container {
  align-self: end;
    height: 64px;
    /* width: 2%; */
    position: fixed;
}

.menu__cta--wrapper > * {
  position: absolute;
  inset: 0;
}


.menu__cta--container button {
  border: none;
  padding: 0;
  background-color: transparent;
  border-radius: unset;
  font: inherit;
  outline: inherit;
  height: 43px;
  width: 55px;
}

.menu__cta--container button:focus {
  outline: none;
}


.menu h3 {
  padding: 8px;
  height: 38px;
  letter-spacing: 0.1em;
  line-height: 110%;
  font-weight: 400;
}

.menu .menu__name {
  font-family: "Chakra Petch", sans-serif;
  border-bottom: solid 1px #A6FFF4;
  font-size: 16px;
  color: white;
  max-width: 330px;
  width: 85%;
}

.menu .menu__stage {
  font-size: 16px;
  top: 120px;
  font-weight: 700;
  padding: 0;
  height: fit-content;
}

.menu .menu__name::after {
  background-image: url(/assets/images/under-decorator.svg);
  content: "";
  display: block;
  position: relative;
  height: 6px;
  width: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  bottom: -11px;
  left: -9px;
}

.menu__main-logo {
  top: 2px;
  left: 16px;
  position: fixed;
  height: 11%;
  aspect-ratio: 3/2;
}

.menu__hexframe--wrapper {
  height: 105px;
  margin-top: 6px;
}

.menu__achieved--container {
  font-size: 16px;
  width: 310px;
  min-height: calc(56px * 2);
}

.menu__achieved--wrapper > *{
  display: flex;
}

.menu__achieved--wrapper p {
  margin: auto 0;
  padding-left: 6px;
  text-align: start;
}

.menu__achieved--wrapper img {
  height: auto;
  width: 10%;
}

.general__panel--wrapper .neon-button-inverted, .menu__panel--wrapper .neon-button-inverted {
  width: 230px;
  font-size: 24px;
}


/**** 
**** MENU ***
          *****/


/**** 
**** PAGES ***
            *****/

.home__main--container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  gap: 36px;
  color: #A6FFF4;
  transition: opacity 0.8s;
}

.home__title--container {
  width: 100%;
  position: absolute;
  top: 40px;
  display: flex;
  flex-direction: column;
  height: 220px;
  justify-content: center;
  align-items: center;
}

.home__main--container footer {
  position: absolute;
  width: 100%;
  bottom: 30px;
}

.home__main--container footer span{ 
  display: inline-flex;
  align-items: center;
  color: black;
  font-weight: 700;
}

.home__main--container footer span img {
  margin-left: 4px;
  margin-right: 4px;
}

.home__main--container footer .neon-button-wrapper {
  margin-bottom: 60px;
}

.home__main--container footer .neon-button-outline {
  width: 230px;
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border: none;
  padding: 0;
  background-color: transparent;
  border-radius: unset;
  outline: inherit;
  text-transform: uppercase;
  font-family: "Advent Pro", sans-serif;
  font-weight: 700;
}


.eventtheme__content--container, .careertrack__content--container  {
  gap: 14px;
}

.form-group {
  font-family: "Advent Pro", sans-serif;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  position: relative;    
  width: 260px;
  -webkit-user-select: text
}

.form-group::after {
  background-image: url(/assets/images/under-decorator.svg);
  content: "";
  display: block;
  position: absolute;
  height: 6px;
  width: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  bottom: -5px;
}

.form-group label {
  color: #a6fff4; 
  text-align: start;
  text-shadow: 0px 2px 10px rgba(166, 255, 244, 0.8);
  text-transform: uppercase;
  margin: 4px 0;
  line-height: 110%;
  letter-spacing: 0.1em;
}

.form-group input {
  font-family: "Chakra Petch", sans-serif;
  border-width: 0 0 1px;
  border-color: #A6FFF4;
  border-radius: 0;
  outline: 0;
  font-size: 16px;
  color: white;
  padding: 8px;
  font-weight: 400;
  background: #00000045;
  line-height: 110%;
  letter-spacing: 0.1em;

  /* this fixes bugs! */
  -webkit-user-select: text
}


.register__content--container {
  gap: 24px;
}

.careertrack__choice--casing {
  background-image: url(/assets/images/casing.svg);
  color: black;
  width: 326px;
  height: 151px;
  background-size: cover;
}

button.careertrack__choice--casing, button.character__choice--casing {
  border: none;
  padding: 0;
  background-color: transparent;
  border-radius: unset;
  outline: inherit;
  text-transform: uppercase;
  font-family: "Advent Pro", sans-serif;
  font-weight: 700;
}

button:focus.careertrack__choice--casing, button:focus.character__choice--casing {
  outline: none;
}

.careertrack__choice--casing > * {
  text-align: start;
  width: 280px;
  margin: auto;
}

.character__choice--casing > div > * {
  text-align: start;
  width: 100px;
  margin: auto;
}

.careertrack__choice--casing > h3 {
  margin-top: -40px;
}

.careertrack__choice--casing > p {
  color: white;
  height: 50px;
  margin-top: 6px;
  text-shadow: none;
  font-weight: 400;
  text-transform: none;
  font-family: "Chakra Petch", sans-serif;
}

.careertrack__choice--casing:nth-of-type(2)::before {
  content: "*Basic programming knowledge required";
  font-size: 12px;
  font-family: "Chakra Petch", sans-serif;
  text-transform: none;
  font-weight: 400;
  font-family: ;
  position: relative;
  color: #FFFFFF8C;
  bottom: -70px;
  left: -30px;
}

.character__content--container {
  display: flex;
  gap: 20px;
}

.character__choice--casing {
  background-image: url(/assets/images/casing-vertical.svg);
  height: 330px;
  background-size: cover;
  aspect-ratio: 7/16;
  position: relative;
  min-width: 144px;
  width: fit-content;
}

.character__choice--casing > div > p {
  color: white;
}

.leaderboard-container {
  display: grid;
  grid-template-columns: 60px 20px 200px 10px 60px;
  grid-template-rows: auto;
  grid-template-areas:
      "head1 head2 . head3 head4"
      "main main main main main";
  max-width: 253px;
  max-height: 300px;
  transform: translateX(-17%);
}

.leaderboard-container > h3 {
  width: fit-content;
}

.leaderboard-rank {
  grid-area: rank;
  list-style: none;
    display: flex;
    flex-direction: column;
    gap: 44px;
    justify-self: flex-end;
}

.leaderboard__main--wrapper {
  grid-area: main;
  height: 30vh;    
  max-height: 290px;
  overflow-y: scroll;
}

.leaderboard__main--wrapper::-webkit-scrollbar {
  width: 1px;
  height: 60%;
  background-color: #aaa;
}
.leaderboard__main--wrapper::-webkit-scrollbar-thumb {
  background: rgba(166, 255, 244);
}

.leaderboard__main--content {
  display: flex;
  justify-content: center;
  color: rgba(166, 255, 244);
  text-shadow: 0px 2px 10px rgb(166 255 244 / 80%);
}

.general__panel--subtitle.leaderboard {
  height: fit-content;
  width: auto;
  display: flex;
  position: relative;
  justify-content: space-between;
  top: 0;
}

.list-group-header div {
  display: flex;
}

.list-group-item {
  background-image: url(/assets/images/rank-box.svg);
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  letter-spacing: .1em;
  color: #a6fff4;
  text-shadow: 0px 2px 10px rgb(166 255 244 / 80%);
  aspect-ratio: 70/11;
  margin-bottom: 7px;
}

.list-group-item:last-child {
  margin-bottom: 0;
}


.list-group-item.leaderboard {
  background-image: url(/assets/images/rank-box.svg);
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  letter-spacing: 0.1em;
  color: rgba(166, 255, 244);
  text-shadow: 0px 2px 10px rgba(166, 255, 244, 0.8);
  aspect-ratio: 70/11;
  margin-bottom: 10px;
  margin-right: 1px;
  width: 76%;
}

.list-group-header {
  display: flex;
  position: relative;
  width: 270px;
  margin: 12px 0 2px;
  justify-content: space-between;
}

.list-group {
  min-height: 20px;
  padding-left: 0;
  margin-bottom: 10px;
  width: 285px;
}

.list-group-icon {
  height: 14px;
  display: block;
  margin-top: -3px;
}

.ghost {
  opacity: 0.3;
  background: rgba(166, 255, 244);
}

.not-draggable {
  cursor: no-drop;
}

.repeat-handle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-group-numbers {
  color: rgba(166, 255, 244);
  text-shadow: 0px 2px 10px rgba(166, 255, 244, 0.8);
  margin-left: 21px;
  margin-top: 12px;
}

.list-group-item.cursordefault {
  cursor: inherit;
}

.list-group-item-orange {
  background-image: url(/assets/images/rank-box-orange.svg);
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  letter-spacing: 0.1em;
  color: #ffbf43;
  text-shadow: 0px 0px 30px #ff6b00;
  aspect-ratio: 60/11;
  width: 266px;
}

.list-group-item span,
.list-group-item-orange span {
  margin-top: auto;
  margin-bottom: auto;
}

.general__panel--wrapper p, .menu__panel--wrapper p {
  width: 300px; 
  margin-top: 10px; 
  line-height: 110%; 
  letter-spacing: 0.05em;
  font-size: 1.4rem;
}

.slide-fade-enter-active {
  transition: all 0.3s ease-out;
}

.slide-fade-leave-active {
  transition: all 0.8s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter-from,
.slide-fade-leave-to {
  transform: translateX(20px);
  opacity: 0;
}

/**** 
**** PAGES ***
            *****/

/**** 
**** MEDIA QUERY ***
              *****/

/* for android keyboard  */
.hide-element-on-keyboard {
  z-index: 1;
  display: normal;
}

@media screen and (max-height: 580px) {
  .hide-element-on-keyboard {
    z-index: -1;
    display: none;
  }
}

/**** 
**** MEDIA QUERY ***
              *****/

/**** 
**** KEYFRAMES ***
              *****/


@keyframes showDelay {
  0% {transform: scale(0); opacity: 0;}
  10% { transform: scale(1);}
  100% {opacity: 1; transform: scale(1);}
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}   
/**** 
**** KEYFRAMES ***
              *****/