:root {
  --button-special-color: rgb(200,30,30);
  --button-special-hover-color: rgb(180, 20, 20);
  --button-special-active-color: rgb(160, 20, 20);
  --button-red-color: rgb(200,30,30);
  --mobile-max-width: 1224px;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Oswald', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    -webkit-touch-callout: none; 
    -webkit-text-size-adjust: none; 
}
a {
  color: rgb(255,150,150);
}
a:hover {
  color: rgb(255,200,200);
}
input {
    font-family: 'Oswald', sans-serif;
    font-size: 1em;
    color: black;
    background-color: white;
    text-align: center;
    padding: 0.3em 0.6em;
    margin: 0.625em;
    display: inline-block;
    width: 15em;
    box-shadow: 0 0.1em 0.1em 0.01em black;
}
input[type="checkbox"] {
  width: 1em;
  height: 1em;
  padding: 0;
  /* margin: 0; */
}
input[type="range"] {
  box-shadow: none;
  width: 8em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  padding: 0;
  font-size: 0.95em;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 1em;
  width: 1em;
  border-radius: 0.5em;
  background: #ffffff;
  cursor: pointer;
  margin-top: 0; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; /* Add cool effects to your sliders! */
}

.menu-wrapper {
    background: black url("/static/images/menu-background.png?ver=0.1.4") no-repeat center center fixed; 
    width: 100%;
    height: 100%;
    display: block;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-blend-mode: screen;
    position: absolute;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
#menu-featuredyoutube-link-wrapper {
  width: 11em;
}
#menu-featuredyoutube-link {
  text-decoration: none;
}

#menu-featuredyoutube-wrapper {
  margin: 1em;
  display: flex;
  padding: 0.5em;
  height: 4em;
  width: 11em;
  align-items: center;
  backdrop-filter: blur(10px);
  flex-direction: column;
  justify-content: center;
}

#menu-featuredyoutube-wrapper > div > .svg-scale {
  margin-left: -1em;
  float: left;
}
.menu-featuredyoutube-header {
  font-size: 1.2em;
  text-align: middle;
}
#menu-featuredyoutube-name-wrapper {
  margin-top: 0.2em;
  height: 2em;
  display: inline-block;
}
#menu-featuredyoutube-name {
  font-size: 1.25em;
  height: 2em;
  padding-left: 0.5em;
  color: white;
  float: left;
}

#menu-server-dropdown {
  position: absolute;
  top: 1em;
  right: 1em;
  color: white;
}

#menu-server-dropdown > .button-special {
  /* width: 12em;
  height: 1.5em;
  /* color: white; */
  position: relative;
  z-index: 50 !important;
  margin-bottom: 0.5em;
  width: 14em;
}

#menu-server-dropdown.open .button-special {
  /* z-index: 50 !important; */
  /* border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; */
  box-shadow: none;
  border-bottom: none;
  padding-bottom: 0.5em;
}

#menu-server-dropdown .ui-dropdown-content-wrapper {
  background-color: rgb(170, 25, 25);
  border-radius: 0.5em;
  width: 15em;
  z-index: 49 !important;
  display: flex;
  flex-direction: column;
  row-gap: 0.5em;
  padding-top: 2.35em;
  margin-top: -2.35em;
  position: relative;
  padding-bottom: 0.5em;
  /* height: 0; */
  /* overflow: hidden; */
  /* padding-left: 0.5em;
  padding-right: 0.5em; */
  /* padding-bottom: 0.5em; */
  box-shadow: 0em 0.1em 0.25em 0.01em black;
  /* padding-bottom: 0.5em; */
}

#menu-server-dropdown .ui-dropdown-option {
  padding: 0.5em;
  margin: 0.2em;
  border-radius: 0.5em;
  /* background-color: rgb(200, 30, 30); */
  margin-bottom: 0;
  /* box-shadow: 0em 0.1em 0.25em 0.01em black; */
  
  
  /* background-color: rgba(0,0,0,0.05);    */
}
/* 
#menu-server-dropdown .button-special {
  background-color: var(--button-special-color);
}
#menu-server-dropdown .button-special:hover {
  background-color: var(--button-special-hover-color);
}
#menu-server-dropdown .button-special:hover {
  background-color: var(--button-special-hover-color);
} */


/* #menu-main-mode-dropdown .button-special.duel {
  background-color: rgb(20, 20, 170);
} */

#menu-server-dropdown .ui-dropdown-option:hover {
  background-color: rgba(0,0,0,0.2);
  outline: none;
}
#menu-server-dropdown .ui-dropdown-option {
  /* outline: 0.2em solid rgba(0,0,0,0.2); */
}
#menu-server-dropdown .ui-dropdown-option.duel:hover {
  /* background-color:rgb(30, 30, 130); */
}

#menu-server-dropdown .ui-dropdown-content-wrapper .ui-dropdown-option:hover {
  /* background-color: rgba(0,0,0,0.2); */
  cursor: pointer;
}

#menu-server-dropdown .ui-dropdown-content-wrapper .ui-dropdown-option .ui-dropdown-option-title {
  text-transform: uppercase;
  text-align: center;
  /* margin-bottom: 0.25em; */
  /* font-size: 1.1em; */
}
/* .menu-main-mode-dropdown-option-description {
  font-size: 0.9em;
} */

.ui-dropdown-option-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-server-dropdown-player-count-wrapper {
  height: 2em;
  display: flex !important;
  align-items: center;
  flex-direction: row;
  padding-right: 0.5em;
}

.menu-server-dropdown-player-count-wrapper .icon-svg {
  width: 2em;
  height: 2em;
  mask-size: 100% 100%;
  top: initial !important;
  transform: initial !important;
}
.menu-server-dropdown-player-count-wrapper span {
  line-height: 2em;
}
#menu-server-dropdown .button-special .button-text .ui-dropdown-label-wrapper .ui-dropdown-label-text-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.ui-dropdown-option-title .menu-server-dropdown-player-count-wrapper {
  font-size: 0.8em;
}



#menu-title-wrapper {
  width: 20em;
  height: 5em;
  left: calc(50% - 20em / 2);
  background-image: url("/static/svg/logo.svg?ver=0.1.4");
  background-size: 20em;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  position: absolute;
  display: inline-block;
  top: 0.5em;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

#menu-error-wrapper {
  position: absolute;
  top: 8.5em;
  left: calc(50% - 20em / 2);
  width: 20em;
  text-align: center;
  color: white;
  text-shadow: 0em 0.06em 0.2em rgb(0, 0, 0);
  line-height: 3em;
  background-color: rgba(200, 0, 0, 0.69);
  outline-color: white;
  outline-style: solid;
  outline-width: 0;
  animation: menu-error-popout 0.6s ease;
  -webkit-animation: menu-error-popout 0.6s ease;
}

#menu-news-wrapper {
  position: absolute;
  width: 17em;
  height: 16em;
  right: calc(100% + 1em);
  top: 0;
  color: white;
  padding: 0.5em;
  overflow-y: auto;
  backdrop-filter: blur(10px);
  text-align: left;
}

.menu-news-header {
  font-size: 2em;
  font-weight: bold;
  color: rgb(255, 200, 0);
  text-shadow: 0em 0.1em 0.1em rgba(64, 0, 0);
  letter-spacing: 0.04em;
}
.menu-news-subheader {
  top: -0.25em;
  font-size: 1.1em;
  position: relative;
  font-weight: bold;
  letter-spacing: 0.02em;
  text-shadow: 0em 0.1em 0.1em rgba(64, 0, 0);
  color: rgb(255, 255, 255);
}
.menu-news-header-wrapper {
  border-bottom: 0.1em solid rgba(255,255,255,0.75);
  border-radius: 0.15em;
}
.menu-news-content {
  color: rgb(230,230,230);
  margin-top: 0.1em;
  font-size: 1.05em;
}
.menu-news-content > p {
  margin-top: 0em;
  margin-bottom: 0.7em;
}

#menu-main-wrapper {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 26em;
  left: calc(50% - 29em / 2);
  top: max(calc(50% - 21em / 2) - 5em, 8em);
  height: 18em;
  text-align: center;
  color: white;
  padding: 1.5em;
  z-index: 10;
  backdrop-filter: blur(10px);
}

#menu-main-wrapper > #menu-character-wrapper {
  top: 0.5em;
}

#loading-title {
  position: absolute;
  width: 24em;
  height: 8em;
  left: calc(50% - 24em / 2);
  top: calc(50% - 8em / 2 - 3em);

  background-image: url("/static/svg/logo.svg?ver=0.1.4");
  background-size: 24em;
  background-position: center; 
  background-repeat: no-repeat;
  animation-duration: 2s;
}

#loading-spinner {
  position: absolute;
  left: calc(50% - 5em);
  top: calc(50% + 2em);
  height: 2em;
  width: 10em;
  animation-duration: 2s;
}
#loading-spinner > div {
  background-color: white;
  font-size: 1.5em;
}

#loading-message {
  position: absolute;
  width: 24em;
  left: calc(50% - 26em / 2);
  top: calc(50% + 9em);
  animation-duration: 10s;
  color: white;
  padding: 1em;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.loading-transparency-animation {
  animation: loading-wrapper-keyframes 1.5s ease;
  animation-fill-mode: forwards;
}

@keyframes loading-wrapper-keyframes {
  0%, 70% { 
    opacity: 0;
  } 100% { 
    opacity: 1;
  }
}

#menu-main-content-wrapper {
  width: 13em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 17.25em;
  align-items: center;
  margin-top: 0.5em;
}

#menu-main-content-wrapper > .button-default, .button-special {
  /* margin-top: -0.3em; */
  margin-bottom: 0;
}

#menu-public-join {
  height: 6.5em;
  font-family: 'Oswald', Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  letter-spacing: 0.1em;
}

#menu-public-join .menu-public-join-text-none {
  font-size: 2.5em;
  margin-right: 0.2em;
  font-style: normal;
}

#menu-public-join .menu-public-join-text-queued {
  position: relative;
  font-style: normal;
  letter-spacing: 0;
  top: -0.5em;
}

#menu-public-join .button-text {
  display: block;
}

#menu-public-join .button-image {
  position: relative;
  top: 0.1em;
  right: 0.1em;
  display: inline-block;
  -webkit-mask-image: url('/static/svg/menu-join-random-match.svg?ver=0.1.4');
  mask-image:  url('/static/svg/menu-join-random-match.svg?ver=0.1.4');
}

#menu-public-join .spinner {
  width: 6em;
  top: 0.5em;
}

#menu-main-mode-dropdown > .button-special {
  width: 12em;
  height: 1.5em;
  /* color: white; */
  margin-top: 0.75em;
  position: relative;
  z-index: 50 !important;
  margin-bottom: 0.5em;
}

#menu-main-mode-dropdown .ui-dropdown-content-wrapper {
  background-color: rgb(170, 25, 25);
  border-radius: 0.5em;
  width: 13em;
  z-index: 49 !important;
  display: flex;
  flex-direction: column;
  row-gap: 0.5em;
  padding-top: 2.35em;
  margin-top: -2.35em;
  position: relative;
  padding-bottom: 0.5em;
  /* height: 0; */
  /* overflow: hidden; */
  /* padding-left: 0.5em;
  padding-right: 0.5em; */
  /* padding-bottom: 0.5em; */
  box-shadow: 0em 0.1em 0.25em 0.01em black;
  /* padding-bottom: 0.5em; */
}



#menu-main-mode-dropdown.open .button-special {
  /* z-index: 50 !important; */
  /* border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; */
  box-shadow: none;
  border-bottom: none;
  padding-bottom: 0.5em;
}

#menu-main-mode-dropdown .ui-dropdown-option {
  padding: 0.2em;
  margin: 0.2em;
  border-radius: 0.5em;
  /* background-color: rgb(200, 30, 30); */
  margin-bottom: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  /* box-shadow: 0em 0.1em 0.25em 0.01em black; */
  
  
  /* background-color: rgba(0,0,0,0.05);    */
}

#menu-main-mode-dropdown .button-special {
  background-color: var(--button-special-color);
}

/* #menu-main-mode-dropdown .button-special.duel {
  background-color: rgb(20, 20, 170);
} */

#menu-main-mode-dropdown .ui-dropdown-option:hover {
  background-color: rgba(0,0,0,0.2);
  outline: none;
}
#menu-main-mode-dropdown .ui-dropdown-option {
  /* outline: 0.2em solid rgba(0,0,0,0.2); */
}
#menu-main-mode-dropdown .ui-dropdown-option.duel:hover {
  /* background-color:rgb(30, 30, 130); */
}

#menu-main-mode-dropdown .ui-dropdown-content-wrapper .ui-dropdown-option:hover {
  /* background-color: rgba(0,0,0,0.2); */
  cursor: pointer;
}

.menu-main-mode-dropdown-option-title {
  text-transform: uppercase;
  text-align: center;
  /* margin-bottom: 0.25em; */
  /* font-size: 1.1em; */
}
.menu-main-mode-dropdown-option-description {
  font-size: 0.9em;
}

#menu-private-create {
  height: 3em;
  width: 12em;
  display: inline-block;
  line-height: 3em;
}

#menu-private-join {
  height: 3em;
  width: 12em;
}

#menu-private-join-code-enter {
  width: 3em;
  height: 3em;
  position: relative;
  vertical-align:top;
}

.menu-private-join-code-wrapper {
  padding: 0;
  display: inline-block;
  position: relative;
  height: 3.55em;
  margin-bottom: 0.3em;
}

.menu-private-join-code-close {
  padding: 0;
  height: 100%;
  opacity: 0.5;
  transition-property: opacity;
  transition: 0.1s ease-in-out;
}

.menu-private-join-code-close-wrapper {
  position: absolute;
  height: 1.35em;
  width: 1.35em;
  margin-top: 1.2em;
}
.menu-private-join-code-close-wrapper:hover .menu-private-join-code-close {
  opacity: 1 !important;
}
.menu-private-join-code-close-wrapper:hover {
  cursor: pointer;
}

#menu-private-join-code-input {
  width: 5em;
  height: 3.1em;
  padding: 0.3em 0.5em;
  top: 0;
  display: inline-block;
  border-style: solid;
  border-color: rgba(255,255,255,0.3);
  border-width: 0.15em;
  position: relative;
  margin: 0;
  margin-left: 2em;
  margin-right: 0.7em;
}

#menu-tutorial-button {
  height: 2em;
  line-height: 2em;
  width: 12em;
  margin-left: 0;
  margin-right: 0;
}

#menu-character-wrapper {
  width: 11em;
  position: relative;
}

.menu-input {
  background-color: transparent;
  border-style: solid;
  box-shadow: none;
  border-color: transparent;
  color: rgba(255,255,255,0.9);
  font-family: inherit;
  border-radius: 0.5em;
  text-shadow: 0em 0.06em 0.2em rgb(0, 0, 0);
  transition: 0.1s ease-in-out;
  transition-property: background-color, color;
  padding: 0em;
  margin-right: 0;
  margin-left: 0;
}
.menu-input:hover {
  background-color: rgba(0,0,0,0.25);
}
.menu-input::placeholder {
  color: rgb(160,160,160);
}

#menu-character-name-input {
  width: calc(100% - 0.5em);
  margin-top: 0.25em;
  border: none;
}

#menu-character-canvas-wrapper {
  width: 100%;
  height: 13em;
  text-align: center;
}
#menu-character-canvas-wrapper > canvas {
  position: relative;
  top: -0.9em;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

#menu-character-clickable-area {
  width: 100%;
  height: 11.25em;
  top: -12.25em;
  position: relative;
}
#menu-character-clickable-area:hover {
  cursor: pointer;
}

#menu-character-ability-wrapper {
  margin-top: 0.5em;
  padding: 0.5em;
  width: 10em;
  display: flex;
  position: relative;
  justify-content:space-around;
}

#menu-lobby-everything-wrapper {
  width: calc(45.5em + 1em + 18.75em);
  height: 28em;
  left: calc(50% - (45.5em + 1em + 18.75em) / 2);
  top: max(5.5em, calc(50% - 28em / 2 - 4.5em));
  position: absolute;
}

#menu-lobby-wrapper {
  position: absolute;
  width: 45.5em;
  left: 0;
  height: 28em;
  padding-bottom: 0;
  top: 0;
  text-align: center;
  color: white;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
}

#menu-lobby-contents-wrapper {
  position: absolute;
  width: 100%;
  left: 0;
  top: 3em;
  height: calc(100% - 3em);
  border-bottom-left-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
}

.menu-lobby-header-button {
  width: 50%;
  height: 3em;
  position: absolute;
  top: 0;
  line-height: 3em;
  text-shadow: 0em 0.1em 0.05em black;
}
.menu-lobby-header-button-enabled {
  background-color: rgba(0,0,0,0.3);
}
.menu-lobby-header-button-enabled:hover {
  cursor: pointer;
}
#menu-lobby-header-lobby-button {
  left: 0;
  border-radius: 0.5em 0 0 0;
}
#menu-lobby-header-options-button {
  right: 0;
  border-radius: 0 0.5em 0 0;
}
#menu-lobby-header-options-button.menu-lobby-header-button-enabled {
  border-radius: 0 0.5em 0 0.5em;
  box-shadow: 1em -1em 2em -1em rgba(0,0,0, 0.4) inset;
}
#menu-lobby-header-lobby-button.menu-lobby-header-button-enabled {
  border-radius: 0.5em 0 0.5em 0;
  box-shadow: -1em -1em 2em -1em rgba(0,0,0, 0.4) inset;
}

#menu-lobby-options-sidebar-wrapper {
  width: 8em;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-flow: column wrap;
}
.menu-lobby-options-sidebar-element-wrapper {
  width: 100%;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  display: flex;
  background-color: rgba(0,0,0,0.25);
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  transition-property: background-color, border-bottom-right-radius, border-top-right-radius;
  transition: 0.1s ease;
  flex-direction: column;
}
.menu-lobby-options-sidebar-element-wrapper:hover {
  background-color: rgba(0,0,0,0.5);
  cursor: pointer;
}
.menu-lobby-options-sidebar-element-wrapper:active {
  background-color: rgba(0,0,0,0.6);
}
.menu-lobby-options-sidebar-element-wrapper:last-of-type {
  border-bottom-left-radius: 0.5em;
  /* border-top-right-radius: 0.5em; */
}
.menu-lobby-options-sidebar-element-wrapper.selected {
  background-color: transparent;
  cursor: default;
}
.menu-lobby-options-sidebar-element-wrapper > .icon-svg {
  width: 2.5em;
  height: 2.5em;
  position:initial;
  display: flex;
  transform: none;
}
.menu-lobby-options-sidebar-text {
  display: flex;
}

#menu-lobby-options-content-wrapper {
  position: absolute;
  width: calc(100% - 8em);
  height: 100%;
  left: 8em;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-bottom-right-radius: 0.5em;
}

#menu-lobby-character-wrapper {
  position: absolute;
  width: 11em;
  height: 18em;
  left: 1.5em;
  bottom: 6em;
}

#menu-lobby-chat-wrapper {
  position: absolute;
  width: 18.75em;
  height: 12em;
  left: calc(100% + 1em);
  top: 6em;
  backdrop-filter: blur(10px);
}
#menu-lobby-chat-wrapper > .menu-chat-wrapper > .menu-chat-messages-wrapper {
  font-size: 0.9em;
}

#menu-lobby-chat {
  width: 100%;
  height: 100%;
}

#menu-lobby-settings-wrapper {
  width: 14.5em;
  right: calc(100% + 1em);
  bottom: 3.5em;
  height: 11em;
  position: absolute;
  padding: 0.75em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#menu-lobby-settings-header {
  color: rgb(200,200,200);
  border-bottom: 0.1em solid rgba(100,100,100, 0.5);
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}

#menu-lobby-link-text {
  font-size: 100%;
  margin-right: 4em;
  margin-left: 0em;
}

.menu-lobby-link-text-wrapper {
  padding-left: 0.3em;
  padding-right: 0.3em;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  background-color: rgba(0, 0, 0, 0.3) !important;
  border-radius: 0.3em !important;
}
.menu-lobby-link-text-wrapper .bolded {
  letter-spacing: 0;
}

#menu-lobby-url-wrapper {
  align-items: center;
  display: inline-flex;
  margin: 0 auto;
  justify-content: center;
  position: absolute;
  margin-left: 0.3em;
  bottom: 0em;
}

#menu-lobby-url-wrapper .menu-popout-text {
  opacity: 0;
  bottom: 2.25em;
}

#menu-lobby-url-wrapper:hover .menu-popout-text {
  opacity: 1;
}

#menu-lobby-url-wrapper:hover {
  cursor: pointer;
}

#menu-lobby-code-hidden-text {
  color: rgba(255,255,255,0.5);
  text-align: center;
  width: 100%;
}

#menu-lobby-code-text {
  letter-spacing: 0.0625em;
  font-size: 95%;
  position: absolute;
  right: 0;
  text-align: center;
}

#menu-lobby-link-wrapper {
  display: inline-flex;
  text-align: left;
  position: absolute;
  right: 3em;
  width: 27em;
  top: 1em;
}

.menu-lobby-player-list-wrapper {
  text-align: center;
  width: 28em;
  line-height: 0%;
  top: 3em;
  right: 2.5em;
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4em;
}

.menu-lobby-player-box-wrapper {
  width: 6em;
  height: 9.5em;
  padding: 0.25em;
  vertical-align: top;
  box-shadow: 0 0.2em 0.01em 0.01em rgba(0,0,0,0.5);
}

.menu-lobby-player-box-name-wrapper {
  margin-left: -0.5em;
  margin-right: -0.5em;
  position: relative;
  text-align: center;
  width: 7em;
  height: 2em;
  text-shadow: 0em 0.075em 0.1em black;
  top: -0.5em;
  line-height: 2em;
  overflow: hidden;
}

.menu-lobby-player-box-wrapper:hover > .menu-lobby-player-box-name-wrapper .menu-lobby-player-box-kick-button-wrapper {
  opacity: 0.5;
}

.menu-lobby-player-box-name {
  display: inline-block;
  top: 0;
  overflow-x: hidden;
}

.menu-lobby-player-box-placeholder-wrapper {
  color: rgb(170,170,170);
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  text-align: center;
  line-height: initial;
  vertical-align: middle;
  height: 9em;
  flex-wrap: wrap;
}

.menu-lobby-player-box-contents {
  position: absolute;
  width: 6em;
  height: 7.5em;
  text-align:center;
}
.menu-lobby-player-box-contents > canvas {
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  top: -1em;
}
.menu-lobby-player-box-contents > .menu-lobby-player-box-ready-wrapper {
  font-size: 0.85em;
}

.menu-lobby-player-box-ability {
  width: 1.25em;
  height: 1.25em;
  border-radius: 0.25em;
  background-size: 1.25em 1.25em;
  position: absolute;
  bottom: 0;
  right: 0;
  box-shadow: 0 0.05em 0.05em 0em black;
  font-size: 0.9em;
}


.menu-lobby-player-box-ready-wrapper {
  width: 6em;
  height: 1em;
  line-height: 1em;
  position: absolute;
  bottom: 0;
  text-align: left;
  font-size: 
}
#menu-character-wrapper .menu-lobby-player-box-ready-wrapper {
  bottom: 4.75em;
  left: 0.5em;
}

.menu-lobby-player-box-ready-indicator-on, .menu-lobby-player-box-ready-indicator-off {
  width: 0.6em;
  height: 0.6em;
  margin-right: 0.5em;
  border-radius: 0.2em;
  display: inline-block;
  position: absolute;
  margin-top: 0.275em;
  box-shadow: 0 0.05em 0.05em 0em black;
}

.menu-lobby-player-box-ready-text-on {
  color: rgb(50,200,50);
  font-size: 0.95em;
  margin-left: 1.2em;
  text-shadow: 0 0.05em 0.05em 0em black;
}


.menu-lobby-player-box-ready-indicator-on {
  background-color: rgb(50,200,50);
}
.menu-lobby-player-box-ready-indicator-off {
  background-color: rgb(150,150,150);
}

.menu-lobby-player-box-ready-text-off {
  color: rgb(150,150,150);
  font-size: 0.95em;
  margin-left: 1.2em;
  text-shadow: 0 0.05em 0.05em 0em black;
}
.menu-leader-crown-wrapper {
  position: absolute;
  line-height: initial;
  width: 1.25em;
  height: 1.25em;
}
.menu-leader-crown {
  background-color: gold;

  width: 1.25em;
  height: 1.25em;
  mask-size: 1.25em;
  -webkit-mask-size: 1.25em;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-position: center center;
}
.menu-leader-crown-wrapper:hover > .menu-popout-text {
  opacity: 1;
}
.menu-lobby-player-box-contents .menu-leader-crown-wrapper {
  left: -1em;
  top: -3em;
}
#menu-character-wrapper .menu-leader-crown-wrapper {
  left: -0.5em;
  top: -0.5em;
}

.menu-chat-messages-wrapper {
  width: calc(100% - 2em);
  padding-left: 1em;
  padding-right: 1em;
  height: calc(100% - 3em);
  padding-top: 0.5em;
  overflow-y: auto;
  word-wrap:break-word;
  overflow-x: hidden;
}
.menu-chat-input-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5em;
  display: flex;
}
.menu-chat-input {
  display: inline-block;
  width: calc(100% - 5.5em);
  margin-top: 0;
  padding-right: 2em;
  margin-bottom: 0;
  height: 1.9em;
  padding: 0.3em 0.5em;
  border: none;
  text-align: left;
  background-color: rgba(0,0,0,0.3);
}
.menu-chat-input:hover {
  background-color: rgba(0,0,0,0.4);
}
.menu-chat-input:focus {
  outline: none;
  background-color: rgba(0,0,0,0.5);
}

.menu-chat-input-wrapper .button-default {
  display: inline-block;
  width: 4em;
  height: 1.575em !important;
  position: absolute;
  top: 0em;
  right: 0;
}
.menu-chat-server-message, .menu-chat-regular-message {
  display: block;
  width: 100%;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}
.menu-chat-server-message {
  text-align: center;
  color: rgb(170, 170, 170);
}
.menu-chat-regular-message {
  text-align: left;
}
.menu-chat-sender {
  font-weight: bold;
  margin-right: 0.25em;
  color: rgb(240,240,240);
  letter-spacing: 0.03em;
  text-shadow: 0 0.1em 0 rgb(0, 0, 0);
}
.menu-chat-contents {
  color: rgb(220,220,220);
  text-shadow: 0 0.1em 0 rgb(0, 0, 0);
}

.lobby-cannot-edit-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition-property: opacity;
  transition: 0.1s ease;
  background-color: rgba(0,0,0,0.5);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.lobby-cannot-edit-overlay:active {
  pointer-events: none;
}
.lobby-cannot-edit-text {
  width: 100%;
  text-shadow: 0em 0.1em 0.1em black;
  font-size: 1.1em;
}

#menu-lobby-ready-button, #menu-lobby-start-button {
    position: absolute;
    left: 1.5em;
    bottom: 1.5em;
    margin: 0;
    width: 10em;
    height: 3.75em;
    border-width: 0.1em;
}

#menu-lobby-leave-button {
  position: absolute;
  left: 1em;
  top: 1em;
  margin: 0;
  width: 10em;
  height: 3em;
  line-height: 3em;
}

#menu-lobby-leave-button .button-text {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 1em;
}

#menu-lobby-options-button {
  position: absolute;
  left: 1em;
  bottom: 6.5em;
  margin: 0;
  width: 11em;
  height: 3em;
  line-height: 3em;
  display: none;
}


.menu-lobby-player-box-kick-button-wrapper {
  opacity: 0;
  transition-property: opacity;
  transition: 0.05s ease;
  width: 1.25em;
  height: 1.25em;
  position: absolute;
  top: 0.4em;
  right: 0.6em;
  display: inline-flex;
  align-items: center;
}
.menu-lobby-player-box-kick-button-wrapper:hover {
  opacity: 1 !important;
  cursor: pointer;
}
.menu-lobby-player-box-kick-button-wrapper:hover .menu-popout-text {
  opacity: 1 !important;
}
.menu-lobby-player-box-kick-button-wrapper .menu-popout-text {
  line-height: initial;
  width: 6em;
  margin-left: calc(-6.6em / 2);
  word-break: break-all;
}

.menu-lobby-player-box-cross {
  transform: scale(0.6);
  padding: 0;
}
.menu-lobby-player-box-cross:before, .menu-lobby-player-box-cross:after {
  position: absolute;
  left: calc(0.9em);
  top: calc(-1.5em/2);
  content: ' ';
  height: 1.25em;
  width: 0.25em !important;
  background-color: #fff;
}


.menu-lobby-map-wrapper {
  position: absolute;
  width: 18.75em;
  height: 5em;
  top: 0em;
  left: calc(100% + 1em);
  overflow: hidden;
  display: flex;
  box-shadow: 0em 0.1em 0.1em 0.01em black !important;
  outline: 0 solid white;
  outline-width: 0;
  transition: outline-width 0.05s ease;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}
.menu-lobby-map-wrapper.no-click {
  outline-width: 0 !important;
  cursor: default !important;
}
.menu-lobby-map-wrapper:hover {
  outline-width: 0.25em;
  cursor: pointer;
}
.menu-lobby-map-wrapper:active {
  outline-width: 0.15em;
  cursor: pointer;
}
.menu-lobby-map-wrapper > .icon-svg {
  width: 6em;
  height: 6em;
  position: absolute;
  top: 4em;
  right: 0.75em;
}

.menu-lobby-map-icon {
  position: absolute;
  width: 60%;
  height: 100%;
  border-radius: 0.5em;
  background-size: cover;
  background-position: center;
  right: 0;

  /* backdrop-filter: blur(10px); */
  /* box-shadow: 0 -1em 1em -0.5em rgb(0,0,0) inset; */
}

.menu-lobby-map-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0.5em;
  box-shadow: 0 -3em 2em -1.4em rgba(0,0,0, 0.6) inset;
}

#menu-lobby-map-name-wrapper {
  position: absolute;
  bottom: 0.25em;
  text-align: left;
  width: calc(100% - 1em);
  text-shadow: 0em 0.1em 0.05em black;
  letter-spacing: 0.1em;
  padding-left: 1em;
  overflow:hidden;
}
#menu-lobby-map-name-wrapper > span {
  font-size: 1.75em;
  text-transform: uppercase;
  font-weight: bold;
}

#menu-lobby-maps-back-button {
  position: absolute;
  bottom: 1em;
  left: 1em;
  margin: 0;
  width: 7em;
  left: calc(50% - 7em / 2);
}

.menu-lobby-list-wrapper {
  width: calc(100% - 1.5em);

  overflow-y: auto;
  padding-left: 1.25em;
  padding-right: 0.25em;
  display: flex;
  align-items: center;
  vertical-align: middle;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.menu-lobby-list-wrapper:hover > .lobby-cannot-edit-overlay {
  opacity: 1;
}

#menu-lobby-maps-list-wrapper {
  width: calc(100% - 2em);
  padding-left: 1em;
  padding-right: 1em;
  justify-content: space-around;
  
}

#menu-lobby-weapons-list-wrapper {
  width: calc(100% - 1.5em);
  padding-left: 1.25em;
  padding-right: 0.25em;
  /* height: calc(100% - 2em); */
  /* overflow: hidden; */
  /* row-gap: -2em; */
  overflow-y:visible;
}

#menu-lobby-weapons-list-selectAll-button {
  position: absolute;
  width: 7em;
  left: 1em;
  bottom: 1em;
}

#menu-lobby-weapons-list-unselectAll-button {
  position: absolute;
  width: 7em;
  left: 10em;
  bottom: 1em;
}
#menu-lobby-weapons-list-randomize-button {
  position: absolute;
  width: 7em;
  right: 1em;
  bottom: 1em;
}
.menu-lobby-weapons-header {
  color: rgb(200,200,200);
  position: absolute;
  padding: 0.5em;
}

.menu-lobby-maps-element {
  width: 9em;
  height: 5.4em;
  overflow: hidden;
  display: inline-block;
  box-shadow: 0 -3em 2em -1.4em rgba(0,0,0, 0.6) inset, 0em 0.1em 0.25em 0.01em black;
  background-size: cover;
  outline: 0 solid white;
  outline-width: 0;
  transition: outline-width 0.05s ease;
  margin: 0.5em;
  border-radius: 0.5em;
  position: relative;
  background-color: rgba(0,0,0,0.5);
}
.menu-lobby-maps-element.allowClick:hover {
  outline-width: 0.25em;
  cursor: pointer;
}
.menu-lobby-maps-element.allowClick:active {
  outline-width: 0.15em;
  cursor: pointer;
}
.menu-lobby-maps-element.selected {
  outline-width: 0.2em;
}
.menu-lobby-maps-element.selected > .menu-lobby-maps-element-name-wrapper {
  font-weight: 500;
}
.menu-lobby-maps-element > .menu-lobby-maps-element-name-wrapper {
  position: absolute;
}
.menu-lobby-maps-element > .icon-svg {
  position: absolute;
  height: 2.5em;
  width: 2.5em;
  top: 2.5em;
  left: calc(50% - 1.25em);
}

.menu-lobby-maps-element-overlay {
  width: 7em;
  height: 4.2em;
  border-radius: 0.5em;
  position: absolute;
  top: 0;
  /* box-shadow: 0 -1em 1em -0.5em rgb(0,0,0) inset; */
}

.menu-lobby-maps-element-name-wrapper {
  position: relative;
  bottom: 0.25em;
  text-align: center;
  width: 100%;
  text-shadow: 0em 0.15em 0em black;
}
.menu-lobby-maps-element-name-wrapper > span {
  font-size: 1em;
}

.menu-lobby-weapons-element {
  width: 4em;
  height: 4em;
  /* overflow: hidden; */
  /* display: inline-block; */
  box-shadow: 0 -3em 2em -1.4em rgba(0,0,0, 0.6) inset, 0em 0.1em 0.25em 0.01em black;
  /* background-size: cover; */
  outline: 0 solid white;
  outline-width: 0;
  transition-property: outline-width background-color;
  background-color: rgba(0,0,0,0);
  transition: 0.05s ease;
  margin: 0.4em;
  /* margin-bottom: -1em; */
  border-radius: 0.5em;
  text-align: center;
}

.menu-lobby-weapons-element .menu-popout-text {
  opacity: 0;
  bottom: -1.5em;
  position: relative;
  /* margin-left: calc(-10em / 2); */
  /* z-index: 100; */
  /* display: table; */
  margin-left: 0 !important;
  left: -2em;
  /* white-space:nowrap; */
  width: 8em;
  display: block;
}

.menu-lobby-weapons-element:hover .menu-popout-text {
  opacity: 1;
}

.menu-lobby-weapons-element.selected {
  outline-width: 0.25em;
}
.menu-lobby-weapons-element.allowClick:hover {
  cursor: pointer;
  background-color: rgba(0,0,0,0.3);
}
.menu-lobby-weapons-element.allowClick:active {
  outline-width: 0.15em;
}

.menu-lobby-weapons-element-image {
  position: relative;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#menu-lobby-options-settings-wrapper {
  width: calc(100% - 1em);
  height: calc(100% - 1em);
  padding: 0.5em;
  /* height: calc(100% - 2em); */
  /* overflow: hidden; */
  /* row-gap: -2em; */
  overflow-y:visible;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
}

.menu-lobby-options-settings-setting-wrapper {
  width: 10em;
  background-color: rgba(0,0,0,0.3);
  padding: 1em;
  border-radius: 0.5em;
  height: 5em;
  display: flex;
  flex-direction: column;
  row-gap: 0.5em;
  justify-content: center;
}

.menu-lobby-options-settings-setting-wrapper .ui-input-label {
  font-size: 1.25em;
}
.menu-lobby-options-settings-setting-wrapper .ui-input-wrapper {
  font-size: 1.25em;
}

.menu-lobby-ability-button {
  width: 2.75em;
  height: 2.75em;
  background-size: 2.75em;
  outline: 0 solid rgba(255, 128, 0);
  outline-width: 0;
  z-index: 2;
  box-shadow: 0 0em 0.1em 0.01em black;
  transition: 0.05s ease-in-out;
  transition-property: outline-width;
  border-radius: 0.3em;
}

.menu-lobby-ability-button:hover {
  cursor: pointer;
  outline-width: 0.2em;
}

.menu-lobby-ability-button:hover > .menu-popout-text {
  opacity: 1;
}

.menu-lobby-ability-button-selected {
  width: 2.75em;
  height: 2.75em;
  background-size: 2.75em;
  outline: 0.25em solid rgba(255, 200, 0);
  z-index: 2;
  box-shadow: 0 0em 0.1em 0.02em black;
  border-radius: 0.3em;
  display:inline-block;
}

.menu-lobby-ability-button-selected:hover {
  cursor: pointer;
}
.menu-lobby-ability-button-selected:hover > .menu-popout-text {
  opacity: 1;
}
.menu-lobby-ability-button .menu-popout-text {
  width: 12.5em;
  margin-left: calc(-13.1em / 2);
}
.menu-lobby-ability-button-selected .menu-popout-text {
  width: 12.5em;
  margin-left: calc(-13.1em / 2);
}

#menu-ad-wrapper-300x250 {
  width: 18.75em;
  height: 15.625em;
  /* left: calc(50% + 41em / 2 + 2.5em);
  top: max(calc(10em + 21em / 2 - 15.265em / 2), calc(50% - 15.265em / 2)); */
  display: none;
}
#menu-ad-wrapper-300x250.main {
  left: calc(50% + 29em / 2 + 1em);
  top: calc(max(calc(50% - 21em / 2) - 5em, 8em) + 21em / 2 - 15.625em / 2);
}
#menu-ad-wrapper-300x250.lobby {
  left: calc(50% + (45.5em + 1em + 18.75em) / 2 - 18.75em);
  top: calc(max(5.5em, calc(50% - 28em / 2 - 4.5em)) + 28em - 15.625em + 5.625em + 1em);
}
#menu-ad-wrapper-728x90 {
  width: 45.5em;
  height: 5.625em;
  /* left: calc(50% - 45.5em / 2);
  top: max(calc(10em + 21em + 2em), calc(50% + 21em / 2 + 2em)); */
  /* display: none; */
  left: calc(50% - 45.5em / 2);
}
#menu-ad-wrapper-728x90.main {
  top: calc(max(calc(50% - 21em / 2) - 5em, 8em) + 21em + 1em);
}
#menu-ad-wrapper-728x90.lobby {
  left: calc(50% - (45.5em + 1em + 18.75em) / 2);
  top: calc(max(5.5em, calc(50% - 28em / 2 - 4.5em)) + 28em + 1em);
}

@media only screen and (aspect-ratio < 1) {
  #menu-ad-wrapper-728x90 {
    display: none !important;
  }
  #menu-ad-wrapper-300x250.main {
    left: calc(50% - 18.75em / 2);
    top: calc(max(calc(50% - 21em / 2 - 10em), 12em) + 21em + 1em);
  }
  #menu-ad-wrapper-300x250.lobby {  
    left: calc(50% + (45.5em) / 2 - 18.75em  - 2em);
    top: calc(max(6em, calc(50% - 28em / 2 - 10em)) + 29em);
  }
  #menu-portrait-message {
    color: white;
    position: absolute;
    background-color: rgba(200, 0, 0, 0.69);
    width: 18em;
    left: calc(50% - 9.5em);
    padding: 0.5em; 
    top: calc(max(calc(50% - 21em / 2 - 10em), 12em) - 3em);
    text-align: center;
  }
  #menu-portrait-message.lobby {
    top: calc(max(6em, calc(50% - 28em / 2 - 10em)) - 3em);
  }
  #menu-main-wrapper {
    top: max(calc(50% - 21em / 2 - 10em), 12em) !important;
  }
  #menu-lobby-everything-wrapper {
    top: max(6em, calc(50% - 28em / 2 - 10em));
    width: 45.5em;
    left: calc(50% - 45.5em / 2);
  }
  .menu-lobby-map-wrapper {
    top: 29em;
    left: 2em;
    height: 4em;
  }
  #menu-lobby-chat-wrapper {
    top: calc(29em + 5em);
    left: 2em;
    height: 10em;
  }
  #menu-help-wrapper {
    transform: scale(0.9);
  }
  #options-wrapper {
    transform: scale(0.9);
  }
}

.menu-ad-wrapper {
  position: absolute;
  display: none;
  text-align: center;
  color: rgba(255,255,255,0.8);
  text-shadow: 0em 0.06em 0.2em rgb(0, 0, 0);
  z-index: 1;
}

.menu-ad-placeholder-text {
  display: table-cell;
  vertical-align: middle;
  font-size: 1.15em;
  padding-left: 1em;
  padding-right: 1em;
}

#suprem-io_300x250 {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: top left;
}

#suprem-io_728x90 {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: top left;
}

.menu-wrapper-class {
  background-color: rgba(0,0,0, 0.4);
  border-radius: 0.5em;
}

.menu-wrapper-class-no-bg {
  box-shadow: 0em 0.1em 0.25em 0.01em black;
  border-radius: 0.5em;
}

.menu-wrapper-class-light {
  background-color: rgba(0,0,0, 0.3);
  border-radius: 0.5em;
}

.menu-wrapper-class-light-button {
  background-color: rgba(0,0,0, 0.2);
  border-radius: 0.5em;
  transition: 0.1s ease;
  transition-property: background-color;
  border-bottom: 0.3em solid rgba(0,0,0,0.15);
  margin-bottom: -0.3em;
}
.menu-wrapper-class-light-button:hover {
  background-color: rgba(0,0,0, 0.4);
  cursor: pointer;
  
}
.menu-wrapper-class-light-button:active {
  background-color: rgba(0,0,0, 0.15); 
}

.menu-wrapper-class-button {
  background-color: rgba(0,0,0, 0.4);
  border-radius: 0.5em;
  transition: 0.1s ease;
  transition-property: background-color;
  border-bottom: 0.3em solid rgba(0,0,0,0.3);
  margin-bottom: -0.3em;
}
.menu-wrapper-class-button:hover {
  background-color: rgba(0,0,0, 0.6);
  cursor: pointer;
  
}
.menu-wrapper-class-button:active {
  background-color: rgba(0,0,0, 0.3); 
}

.menu-hamburger-icon {
  width: 1em;
  height: 0.75em;
  position: relative;
}
.menu-hamburger-icon span {
  height: 0.15em;
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  border-radius: 0.2em;
  background: white;
}
.menu-hamburger-icon span:nth-child(1) {
  top: 0;
}
.menu-hamburger-icon span:nth-child(2) {
  top: 0.3em;
}
.menu-hamburger-icon span:nth-child(3) {
  top: 0.6em;
}

#menu-footer-wrapper {
  width: 10em;
  height: 1em;
  padding: 0.5em;
  bottom: 1em;
  position: absolute;
  left: 1em;
  text-align: center;
  display: table;
  background-color: rgba(0,0,0,0.35);
}

.footer-link {
  margin-left: 0.5em;
  margin-right: 0.5em;
  vertical-align: middle;
  display: table-cell;
  width: 8em;
  cursor: pointer;
  text-decoration: none;
  text-shadow: 0em 0.04em 0.06em black;

}
.footer-link-wrapper {
  color: rgb(180, 180, 180);
}
.footer-link-wrapper:hover {
  color: white;
}
.footer-link-wrapper:active {
  color: rgb(240, 240, 240);
}

#menu-about-popout {
  text-align: center;
  overflow: hidden;
  width: 6em;
  height: 7.5em;
  opacity: 1;
  position: absolute;
  bottom: 3em;
  right: 0em;
  transition: 0.1s ease;
  transition-property: height, opacity;
}
.menu-about-link {
  height: 2.5em;
  width: 100%;
  padding: none;
  margin: 0;
  display: block;
  line-height: 2.5em;
}

.menu-footer-button {
  width: 2em;
  height: 2em;
  padding: 0.5em;
  position: absolute;
  bottom: 1em;
}
.menu-footer-button:hover {
  background-color: rgba(0,0,0,0.7);
  cursor: pointer;
}

.menu-footer-button:hover > .svg-scale {
  transform: scale(1.1);
}

.menu-footer-button:active {
  background-color: rgba(0,0,0,0.8);
  bottom: 0.95em;
}
.menu-footer-button:active > .svg-scale {
  transform: scale(0.95);
}
#menu-help-button {
  bottom: 1em;
  width: 3.5em;
  height: 3.5em;
  right: 5.5em;
  position: absolute;
  color: white;
  background-color: var(--button-red-color);
}
#menu-help-button > .button-text {
  font-size: 2.25em;
  left: 50%;
  top: calc(50% - 0.05em);
  position: absolute;
  transform: translateX(-50%) translateY(-50%);
}
#menu-settings-button {
  width: 3.5em;
  height: 3.5em;
  bottom: 1em;
  right: 1em;
  position: absolute;
  background-color: var(--button-red-color);
}
#menu-settings-button > div {
  width: inherit;
  height: 3em;
  position: relative;
  top: calc(50% - 1.5em);
  background-color: white;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-position: center center;
}

/* desktop */
@media only screen and (min-width: 1224px) {
  /* #menu-settings-button {
    bottom: 1em;
    right: 1em;
    top: initial;
  }
  #menu-help-button {
    bottom: 1em;
    top: initial;
  } */
  /* #ad-wrapper-300x250 {
    display: block;
  } */
}

#menu-help-button-popout {
  opacity: 1;
  font-size: 1.3em;
  width: 9em;
  height: 2em;
  bottom: 3.5em;
  top: initial;
  position: absolute;
  animation: help-popout-animation 3s ease-in-out infinite normal;
  -webkit-animation: help-popout-animation 3s ease-in-out infinite normal;
  background-color: rgba(200, 0, 0, 0.69);
  display: flex;
  align-items: center;
  justify-content: center;
  outline-color: white;
  outline-style: solid;
  outline-width: 0;
  pointer-events: all;
}
#menu-help-button-popout p {
  margin: 0;
}
/* #menu-help-button-popout::after {
  border-color: rgba(0,0,0,0.7) transparent transparent transparent;
} */
@keyframes help-popout-animation {
  0% {
    transform: scale(1.075);
    outline-width: 0.25em;
  }
  50% {
    transform: scale(1);
    outline-width: 0;
    outline-color: transparent;
  }
  100% {
    transform: scale(1.075);
    outline-width: 0.25em;
  }
}

@keyframes menu-error-popout {
  0% {
    outline-width: 0em;
  }
  30% {
    outline-width: 0.4em;
  }
  70% {
    outline-width: 0em;
  }
}

#menu-discord-button {
  bottom: 0em;
  right: calc(100% + 3em);
  width: 14em;
  height: 3em;
  text-align: center;
  position: absolute;
  background-color: rgba(88, 101, 242, 0.9);
}
#menu-discord-button:hover {
  background-color: rgba(88, 101, 242, 1);
}
#menu-discord-button:active {
  background-color: rgba(70, 81, 212, 1);
}
#menu-discord-button > div {
  width: 4em;
  height: 1.75em;
  position: relative;
  top: calc(50% - 0.875em);
  background-color: white;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-position: center center;
  float: left;
}
#menu-discord-button > span {
  float: left;
  color: white;
  font-size: 1.2em;
  line-height: calc(3em / 1.2);
}

#menu-cookie-banner {
  position: absolute;
  width: 38em;
  height: 4em;
  bottom: 2em;
  left: calc(50% - 20em);
  color: white;
  font-size: 1.0em;
  padding: 1em;
  background-color: rgba(0,0,0, 0.8);
  /* text-shadow: 0em 0.04em 0.1em black; */
  z-index: 10000;
}

#menu-cookie-banner-label {
  position: relative;
  width: 20em;
  line-height: 2em;
}

#menu-cookie-banner-reject {
  right: 1em;
  top: 1.5em;
  width: 5em;
  position: absolute;
}

#menu-cookie-banner-accept {
  width: 8em;
  top: 1.5em;
  position: absolute;
  right: 8em;
}

.icon-svg {
  position: relative;
  background-color: white;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-position: center center;
  top: 50%;
  transform: translateY(-50%);
}

.icon-svg-scoreboard {
  margin-top: -0.2em;
}
.icon-svg-options-map {
  transform: scale(0.8) !important;
}

.svg-scale {
  transition: 0.1s ease;
  transition-property: transform;
  width: 2em;
  height: 2em;
}

.button-default, .button-special, .button-disabled, .button-hollow, .button-hollow-selected {
  text-align: center;
  padding: 0.3em 0.5em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 15em;
  height: 2em;
  max-height: 20em;
  z-index: 0;
}

.button-default {
    color: black;
    background-color: white;
    border-bottom: 0.3em solid rgba(0,0,0,0.15);
    margin-bottom: -0.3em;
}

.button-default:hover {
    background-color:rgb(255, 80, 80);
    color: white;
    cursor: pointer;
}

.button-default .spinner > div {
  background-color: black;
}

.button-default:hover .spinner > div {
    background-color: white;
}

.button-default:hover .button-image {
  background-color: white;
}

.button-default:active {
    background-color:rgb(240, 35, 35);
    color: white;
    cursor: pointer;
}

.button-special {
  color: white;
  background-color: var(--button-special-color);
  letter-spacing: 0.0625em;
  width: 12em;
  height: 2em;
  border-bottom: 0.3em solid rgba(0,0,0,0.15);
  margin-bottom: -0.3em;
}

.button-special:hover {
  background-color:rgb(180, 20, 20);
  color: white;
  cursor: pointer;
}

.button-special:hover .spinner > div {
  background-color: white;
}

.button-special .button-image {
  vertical-align: middle;
  background-color: white;
  width: 3.5em;
  height: 3.5em;
  margin: 0;
}

.button-special:hover .button-image {
background-color: white;
}

.button-special:active {
  background-color:rgb(160, 20, 20);
  color: white;
  cursor: pointer;
}
.button-special:active .button-image {
  background-color: white;
}

.button-hollow {
  background-color: rgba(0,0,0,0.2);
  border: 0.15em solid rgb(100,100,100);
}

.button-hollow > .button-text {
  color: rgb(210,210,210);
}

.button-hollow:hover {
  cursor: pointer;
  color: white;
  border-color: rgb(200,200,200);
}

.button-hollow:hover > .button-text {
  color: white;
}

.button-hollow-selected {
  color: white;
  background-color: rgba(200,30,30,0.25);
  border: 0.15em solid rgb(255,255,255,0.75);
}
.button-hollow-selected:hover {
  cursor: pointer;
  color: white;
  border-color: white;
}


.button-image {
  height: 3.1em;
  width: 3.1em;
  background-color: black;
  margin-bottom: -1em;
}

.button-text {
  font-size: 1.2em;
}

.button-disabled {
  color: rgb(200,200,200);
  background-color: transparent;
  outline: 0.1em solid rgb(200,200,200);
  border-width: 0 !important;
  border-radius: 0.5em;
}

#game-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none; 
  user-select: none;
}

#game-canvas {
  padding: 0;
  margin: 0;
  display: block;
}

#game-ui-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
}

.game-ui-button {
  width: 35px;
  height: 35px;
  z-index: 50;
  border-bottom: 4.8px solid rgba(0,0,0,0.15);
  margin-bottom: -4.8px;
  border-radius: 8px;
  -webkit-user-select: none; 
  user-select: none;
  -webkit-touch-callout: none; 
  -webkit-text-size-adjust: none; 
}
.game-ui-button > div {
  opacity: 0.75;
  transition: 0.1s ease;
  transition-property: opacity;
}
.game-ui-button > .icon-svg {
  width: 80%;
  height: 80%;
}
.game-ui-button:hover > div {
  opacity: 1;
}
.game-ui-button:active > div {
  opacity: 0.5;
}
#game-ui-top-left-wrapper {
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: row;
  position: absolute;
  gap: 15px;
  -webkit-user-select: none; 
  user-select: none;
  -webkit-touch-callout: none; 
  -webkit-text-size-adjust: none; 
}
#game-ui-button-wrapper {
  display: flex;
  gap: 7.5px;
}
#game-ui-pause-hamburger {
  font-size: 20px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
}

#game-chat-wrapper {
  position: absolute;
  width: 18em;
  height: 14em;
  bottom: 10px;
  left: 10px;
}

#game-chat {
  width: 100%;
  height: 100%;
}

#game-lives-wrapper {
  margin-top: 0;
  height: 3em;
  line-height: 3em;
  text-align: center;
  display: inline-block;
  color: white;
}

.game-lives-element-wrapper {
  position: relative; 
  float: left;
  width: 9em;
  padding-left: 0.25em;
  padding-right: 0.25em;
  height: 200%;
  vertical-align: middle;
}

.game-lives-element {
  font-size: 2.5em;
  font-weight: 600;
}

.game-lives-element-label {
  font-size: 1.25em;
  overflow: hidden;
  height: 2em;
  word-break: break-all;
  -webkit-text-stroke-width: 0.01875em;
}


.game-kill-notification-wrapper {
  position: absolute;
  width: 100%;
  height: 10em;
  top: 7em;
  text-transform: uppercase;
}

.game-kill-notification {
  display: block;
  color: white;
  text-shadow: 0 0.08em 0em gray;
  font-weight: normal;
  font-size: 2.25em;
  height: 0;
  opacity: 0;
  animation: kill-notification-popout 3s ease;
  -webkit-animation: kill-notification-popout 3s ease;
  letter-spacing: 0.0625em;
}

.game-kill-notification-span {
  /*text-shadow: 0em 0.1em 0em black;*/
  -webkit-text-stroke-width: 0.003125em;
  -webkit-text-stroke-color: transparent;
  font-weight: bolder;
}

#game-spectate-wrapper {
  height: 50px;
  min-width: 220px;
  color: white;
  position: absolute;
  bottom: 10px;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
  vertical-align: middle;
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-size: 14px;
}
#game-spectate-wrapper > .arrow {
  font-size: 0.75em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.75;
  display: block;
}
#game-spectate-wrapper > .arrow > .menu-popout-text {
  font-size: 1.1em;
  background-color: rgba(0,0,0,0.4);
  margin-bottom: 1em;
  padding: 0.5em;
}
#game-spectate-wrapper > .arrow:hover > .menu-popout-text {
  opacity: 1 !important;
}
#game-spectate-wrapper > .arrow:hover {
  opacity: 1; 
  cursor: pointer;
}
#game-spectate-wrapper >.arrow.left {
  left: 1em;
}
#game-spectate-wrapper >.arrow.right {
  right: 1em;
}
#game-spectate-player-label {
  font-size: 1em;
  text-shadow: 0 0.1em 0 black;
  display: inline-block;
  line-height: 3em;
  max-width: 16em;
  overflow-x:hidden;
  overflow-y: visible;
}
#game-spectate-freecam-label {
  color: rgba(255,255,255,0.7);
}

#game-fps-ping-wrapper {
  color: white;
  text-shadow: 0em 0.1em 0.1em rgb(0, 0, 0);
  text-align: left;
  font-size: 12px;
}

#game-win-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  /* animation: win-wrapper-popout 4s ease;
  -webkit-animation: win-wrapper-popout 4s ease; */
  background-color: rgba(0,0,0,0.15);
  box-shadow: inset 0 0 1.25em black;
  top: 0;
  font-size: 7.5em;
  display: flex;
  justify-content: center;
  align-items: center;
}

#game-win-text {
  font-style: italic;
  color: white;
  
  -webkit-text-fill-color: white;
  -webkit-text-stroke-width: 0.03em;
  -webkit-text-stroke-color:rgb(48, 149, 255);

  text-shadow: 0em 0.1em 0.05em black;

  letter-spacing: 0.075em;
  overflow: hidden;

  animation: win-text-popout 4s ease;
  -webkit-animation: win-text-popout 4s ease;

  text-transform: uppercase; 
  padding: 2em;
}

#game-scoreboard-wrapper {
  width: 45em;
  min-height: 2em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#game-scoreboard-table {
  width: 100%;
}
#game-scoreboard-table-header {
  color: white;
  align-items: center;
  font-size: 1em;
  text-shadow: 0em 0.1em 0.1em rgb(0, 0, 0);
}
.game-scoreboard-table-header-cell {
  display: table-cell;
  vertical-align: middle;
  padding: 0.5em;
  border-bottom: 0.1em solid rgba(255,255,255,0.1);
  font-weight: 500 !important;
  height: 2em;
}
.game-scoreboard-table-header-icon {
  width: 1.75em;
  height: 1.75em;
  top: 0.15em;
  position: relative;
  background-color: white;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-position: center center;
}
.game-scoreboard-table-header-player-cell {
  overflow: hidden;
  min-width: 5em;
  max-width: 7em;
  border-bottom: 0.1em solid rgba(255,255,255,0.1);
}
.game-scoreboard-row-player-label {
  border-radius: 0.5em;
  width: 0.5em;
  height: 2em;
  display: block;
  position: absolute;
  margin-top: -0.25em;
  opacity: 0.6;
  /* margin-left: -0.25em; */
}
.game-scoreboard-table-row {
  width: 100%;
  color: white;
  height: 2em;
}
.game-scoreboard-table-row-cell {
  text-align: center;
  padding: 0.5em;
  height: 2em;
  max-width: 7em;
  overflow: hidden;
  display: table-cell;
  vertical-align: middle;
  color: white;
  text-shadow: 0em 0.1em 0.1em rgb(0, 0, 0);
  border-bottom: 0.1em solid rgba(255,255,255,0.05);
}
.game-scoreboard-table-name-wrapper {
  -webkit-font-smoothing: antialiased;
  font-size: 1.25em;
  font-style: italic;
}

#game-controls-wrapper {
  bottom: calc(1em / 0.8);
  right: calc(1em / 0.8);
  width: 26.5em;
  height: 15em;
  position: absolute;
  font-size: 0.8em;
}
#game-controls-wrapper >.options-controls-main-wrapper {
  left: 1em;
  top: 1em;
}

#menu-help-wrapper {
  width: 48em;
  height: 23.5em;
  left: calc(50% - 50em / 2);
  top: calc(50% - 11.75em);
  color: white;
  padding: 1em;
}
#menu-help-contents-wrapper {
  width: 20em; 
}
#menu-help-controls-wrapper {
  position: absolute;
  left: 22.5em;
  top: 2em;
}
#menu-help-controls-header-wrapper {
  position: absolute;
  left: 22.5em;
  top: 1em;
  width: 25.25em;
}

#menu-cosmetics-wrapper {
  width: 35em;
  height: 22em;
  left: calc(50% - 17.5em);
  top: calc(50% - 11em);
  color: white;
  /* background-color: rgba(80, 0,0);
  border-color: rgba(255,255,255,0.2);
  border-width: 0.25em;
  border-style: solid; */
}
#menu-cosmetics-wrapper > canvas {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1em;
  background-color: #3131a2;
  /* border-color: rgba(255,255,255,0.2);
  border-width: 0.25em;
  border-style: solid; */
  border-radius: 0.5em;
}

.menu-cosmetics-list-wrapper {
  width: 20.5em;
  height: 14.5em;
  right: 1.5em;
  top: 2.5em;
  overflow-y: auto;
  display: flex;
  vertical-align: middle;
  justify-content: center;
  flex-wrap: wrap;
  position: absolute;
}

.menu-cosmetics-element {
  width: 5em;
  height: 5em;
  display: inline-block;
  overflow: hidden;
  box-shadow: 0 -3em 2em -1.4em rgba(0,0,0, 0.6) inset, 0em 0.1em 0.25em 0.01em black;
  background-color: rgba(255,255,255, 0.2);
  outline: 0 solid white;
  outline-width: 0;
  transition-property: outline-width;
  transition: 0.05s ease;
  margin: 0.4em;
  border-radius: 0.5em;
  position: relative;
}

.menu-cosmetics-element.selected {
  outline-width: 0.25em;
}
.menu-cosmetics-element:hover {
  cursor: pointer;
}
.menu-cosmetics-element:active {
  outline-width: 0.15em;
}

.menu-cosmetics-element-image, .menu-cosmetics-element > .icon-svg {
  position: relative;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.menu-cosmetics-element > .icon-svg {
  background-color: rgba(255,255,255,0.25) !important;
  position: relative;
  top: 50%;
}

.menu-cosmetics-element .menu-popout-text {
  opacity: 0;
  position: absolute !important;
  bottom: 0 !important;
  display: block;
  top: calc(100% - 1.75em) !important;
  height: 1.5em;
  font-size: 0.7em !important;
  background-color: rgba(0,0,0,0.45) !important;
  text-shadow: 0em 0.1em 0.2em rgb(0, 0, 0);
  padding-top: 0 !important;
}
.menu-cosmetics-element:hover > .menu-popout-text {
  opacity: 1;
}

#menu-cosmetics-done-button {
  position: absolute;
  width: 8em;
  bottom: 1.5em;
  left: calc(50% - 4em);
}


#options-wrapper {
  width: 50em;
  height: 26.5em;
  left: calc(50% - 25em);
  top: calc(50% - 12.25em);
}

#game-pause-wrapper {
  width: 20em;
  height: 17em;
  left: calc(50% - 10em);
  top: calc(50% - 8.5em);
  padding-top: 1.5em;
}

#game-pause-wrapper > .button-default {
  height: 2.5em;
  width: 16em;
  margin-left: 1.5em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

#game-pause-resume {
  height: 3.5em !important;
  margin-bottom: 2em !important;
}

.window-wrapper {
  z-index: 100;
  position: absolute;
  backdrop-filter: blur(10px);
  background-color: rgba(0,0,0,0.6);
}

.window-close-wrapper {
  position: absolute;
  right: 0.75em;
  top: 0.75em;
  height: 1.35em;
  width: 1.35em;
  opacity: 0.5;
  transition-property: opacity;
  transition: 0.1s ease-in-out;
}

.window-close-wrapper:hover {
  opacity: 1;
  cursor: pointer;
}

.close-icon {
  width: 2em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  right: 0;
  text-align: center;
}
.close-icon:hover > .close {
  opacity: 1;
}

.window-outside-wrapper {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  z-index: 40;
}
#options-controls-wrapper {
  margin: 1em;
  margin-right: 0;
  padding: 0.5em;
  background-color: transparent;
  border-radius: 0.4em;
  width: 25.75em;
  height: 23.5em;
  position: absolute;
  right: 0;
}

#options-controls-screen-select-wrapper > .button-hollow, .button-hollow-selected {
  width: 5em;
  height: 1em;
  margin: 0.25em;
  background-color: rgba(0,0,0,0.2);

  color: white;
}

#options-controls-screen-select-wrapper > .button-hollow > .button-text {
  font-size: 95%;
}

#options-controls-screen-select-wrapper > .button-hollow-selected > .button-text {
  font-size: 95%;
}

/* #options-controls-screen-select-wrapper > .button-default:hover {
  background-color: 
} */

.options-controls-keybind-wrapper, .options-controls-keybind-wrapper-uneditable {
  width: 5.5em;
  height: 3.5em;
}
.options-controls-keybind-wrapper:hover {
  border-color: rgba(200,200,200,0.5);
  cursor: pointer;
}
.options-controls-keybind-label {
  width: 100%;
  height: 1.5em;
  text-align: center;
  color: white;
  font-size: 100%;
  text-shadow: 0em 0.05em 0.1em rgb(0, 0, 0);
}
.options-controls-keybind-key {
  width: 100%;
  height: 2em;
  text-align: center;
  font-size: 100%;
  overflow: hidden;
}
.options-controls-keybind-inline-wrapper {
  width: 11em;
  height: 2.5em;
  position: absolute;
  /* background-color: rgba(0,0,0,0.3); */
  border-radius: 0.4em;
  /* padding-left: 1em; */
}
.options-controls-keybind-inline-key:hover {
  border-color: rgba(200,200,200,0.5);
  cursor: pointer;
}
.options-controls-keybind-inline-label {
  height: 100%;
  line-height: 2.5em;
  text-align: left;
  color: white;
  font-size: 100%;
  text-shadow: 0em 0.05em 0.1em rgb(0, 0, 0);
}
.options-controls-keybind-inline-key {
  height: 100%;
  width: 4em;
  right: 0;
  top: 0;
  text-align: center;
  line-height: 2.5em;
}

.options-controls-keybind-wrapper, .options-controls-keybind-inline-key, .options-controls-keybind-wrapper-uneditable {
  background-color: rgba(50,50,50,0.6);
  border-radius: 0.5em;
  position: absolute;
  border: 0.15em solid rgba(120,120,120, 0.6);
}

.options-controls-keybind-selected {
  -webkit-animation: border-flash 1.4s infinite ease-in-out both;
  animation: border-flash 1.4s infinite ease-in-out both;
  background-color: rgba(20,20,20,0.6);
}

.options-controls-main-wrapper {
  position: absolute;
  left: 0.5em;
  height: 12.8em;
  width: 24.8em;
  top: 4em;
}
#options-controls-movement-wrapper {
  width: 17.8em;
  height: 8em;
  left: calc(50% - 17.8em / 2);
  position: absolute;
}

#options-controls-keybind-jump {
  left: 6em;
  top: 0em;
}
#options-controls-keybind-moveLeft {
  left: 0em;
  top: 4em;
}
#options-controls-keybind-moveDown {
  left: 6em;
  top: 4em;
}
#options-controls-keybind-moveRight {
  left: 12em;
  top: 4em;
}
#options-controls-keybind-pickup {
  left: 6.5em;
  top: 9em;
}
#options-controls-keybind-drop {
  left: 12.5em;
  top: 9em;
}
#options-controls-keybind-action {
  left: 0em;
  top: 9em;
}
#options-controls-keybind-ability {
  left: 19em;
  top: 9em;
}
#options-controls-keybind-controlsToggle {
  left: 0.5em;
  top: 21em;
}
#options-controls-keybind-chatFocus {
  left: 14.25em;
  top: 21em;
}
#options-controls-keybind-scoreboard {
  left: 0.5em;
  top: 18em;
}
#options-controls-keybind-chatSend {
  left: 14.25em;
  top: 18em;
}

#options-controls-keybind-spectateUp {
  left: 6em;
  top: 0em;
}
#options-controls-keybind-spectateDown {
  left: 6em;
  top: 4em;
}
#options-controls-keybind-spectateLeft {
  left: 0em;
  top: 4em;
}
#options-controls-keybind-spectateRight {
  left: 12em;
  top: 4em;
}
#options-controls-keybind-spectatePlayerNext {
  left: 12.5em;
  top: 9em;
}
#options-controls-keybind-spectatePlayerBack {
  left: 6.5em;
  top: 9em;
}

#options-settings-wrapper {
  position: absolute;
  overflow-y: auto;
  background-color: rgba(0,0,0,0.35);
  border-radius: 0.4em;
  left: 0;
  height: 23.5em;
  width: 20em;
  top: 0em;
  margin: 1em;
  padding: 0.5em;
}

.ui-input-wrapper {
  text-shadow: 0em 0.05em 0.05em black;
  height: 2em;
  color: white;
}
#options-settings-wrapper > .ui-input-wrapper {
  display: flex;
  justify-content:space-between;
  align-items: center;
  padding-right: 0.5em;
  padding-left: 0.5em;
}
#options-settings-wrapper > .ui-input-wrapper .ui-input-label {
  min-width: 8em;
}
.ui-input-wrapper > span, label, output {
  font-size: 0.95em;
}
.ui-input-checkbox-wrapper {
  border-radius: 0.4em;
  border: 0.15em solid transparent;
  min-height: 2em;
  height: initial !important;
}
.ui-input-checkbox-wrapper:hover {
  cursor: pointer;
  border-color: rgba(255,255,255,0.3);
}
.ui-input-label {
  /* line-height: 100%;
  height: 100%; */
  /* display: inline-block; */

}

.ui-input-slider {
  margin: 0;
  height: 2.5em;
  float: right;
}
#options-settings-wrapper .ui-input-wrapper .ui-input-slider-value {
  width: 2.5em;
  text-align: center;
}
.ui-input-checkbox {
  height: 2.5em;
  float: right;
  line-height: 2.5em; 
  margin: 0.75em !important;
  margin-right: 0.25em !important;
}
.ui-input-stepper-wrapper {
  display: flex;
  flex-direction: column;
}
.ui-input-stepper-body-wrapper {
  display: flex;
  justify-content: center;
  align-content: space-between;
  margin-left: 0.25em;
}
.ui-input-stepper-value {
  width: 2.75em;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ui-input-stepper-value span {
  font-size: 1.1em;
  /* font-weight: 1000; */
}
.ui-input-stepper-body-wrapper .ui-input-button {
  width: 1.75em;
  height: 2em;
  line-height: 2em;
  border-bottom: none;
  margin-bottom: 0;
}
.ui-input-stepper-body-wrapper .ui-input-button span {
  font-size: 1.6em;
}
.ui-input-stepper-button-minus span {
  line-height: 1em;
}
.ui-input-stepper-wrapper .ui-input-label div {
  font-size: 1.25em;
  text-transform: capitalize;
}

.ui-dropdown-label-wrapper {
  width: calc(100% - 0.5em);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 0.25em;
  padding-right: 0.25em;
  text-transform: uppercase;
}
.ui-dropdown-label-wrapper div {
  display: inline-block;
  font-size: 0.85em;
}
.ui-dropdown-arrow {
  font-size: 0.7em !important;
}

.button-text:has(.ui-dropdown-label-wrapper) {
  width: 100%;
}

.lobby-main-settings-slider-value {
  font-size: 1.2em;
  font-weight: 1000;
}
.lobby-main-settings-option-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lobby-main-settings-option-wrapper .ui-input-label {
  /* font-weight: 1000; */
  font-size: 1em;
}
.lobby-main-settings-option-wrapper .ui-input-slider-value {
  height: 2.5em;
  width: 2.5em;
  line-height: 2.5em;
  float: right;
  text-align: center;
  /* margin-right: 0.25em; */
}
.window-header {
  font-size: 1.5em;
  border-bottom: 0.1em solid rgba(255,255,255,0.2);
  margin-bottom: 0.5em; 
}
.window-header.main {
  margin-left: 0.5em;
  margin-top: 0.5em;
  display: inline-block;
}
.options-settings-subheader {
  font-size: 1.2em;
}
.window-header, .options-settings-subheader {
  color: white;
  font-weight: bold;
  text-shadow: 0em 0.1em 0.1em black;
  letter-spacing: 0.04em;
}
.close {
  position: absolute;
}
.close:before, .close:after {
  position: absolute;
  content: ' ';
  height: 1.5em;
  width: 0.25em !important;
  background-color: #fff !important;
  margin-left: calc((1 / 1.41421) * 0.67314560089em);
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}

/* no select*/
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}

.bolded {
    font-weight: bold;
    color: rgb(255, 200, 0);
    text-shadow: 0em 0.1em 0em rgba(64, 0, 0);
    /* letter-spacing: 0.0625em; */
}

.bolded-italic {
  font-weight: bold;
  font-style:italic;
  color: rgb(255, 200, 0);
  text-shadow: 0em 0.1em 0.1em rgba(64, 0, 0);
  /* letter-spacing: 0.0625em; */
  margin-right: 0.1em;
}

.menu-popout-text {
  width: 10em;
  background-color: rgba(0,0,0,0.6);
  /* box-shadow: 5px 0 0 rgba(0,0,0,0.3), -5px 0 0 rgba(0,0,0,0.3); */
  color: #fff;
  text-align: center;
  font-size: 0.85em;
  border-radius: 0.5em;
  padding: 0.3em;
  position: absolute;
  z-index: 1; 
  bottom: calc(100% + 0.5em);
  left: 50%;
  margin-left: calc(-10.6em / 2);
  opacity: 0;
  transition: opacity 0.1s;
  pointer-events:none;
}


.spinner {
    margin: 0 auto 0;
    width: 4.375em;
    height: 1em;
    text-align: center;
    position: relative;
  }
  
  .spinner > div {
    position: relative;

    width: 1em;
    height: 1em;
    background-color: white;
    margin-left: 0.15em;
    margin-right: 0.15em;
  
    border-radius: 40%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  }
  
  .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
  }
  
  .spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
  }
  
  @-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
  }
  
  @keyframes sk-bouncedelay {
    0%, 80%, 100% { 
      -webkit-transform: scale(0);
      transform: scale(0);
    } 40% { 
      -webkit-transform: scale(1.0);
      transform: scale(1.0);
    }
  }

@-webkit-keyframes border-flash {
  0%, 80%, 100% {
    border-color: rgb(200,200,200);
  }
  40% {
    border-color: white;
  }
}
@keyframes border-flash {
  0%, 80%, 100% {
    border-color: rgba(120,120,120, 0.6);
  }
  40% {
    border-color: white;
  }
}
.breathe {
    -webkit-animation: breathing 3s ease-in-out infinite normal;
    animation: breathing 3s ease-in-out infinite normal;
}
@-webkit-keyframes breathing {
    0% {
      -webkit-transform: scale(0.9);
      transform: scale(0.9);
    }

    50% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
  
    100% {
      -webkit-transform: scale(0.9);
      transform: scale(0.9);
    }
  }
  
  @keyframes breathing {
    0% {
      -webkit-transform: scale(0.9);
      -ms-transform: scale(0.9);
      transform: scale(0.9);
    }
    50% {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
    }
    100% {
      -webkit-transform: scale(0.9);
      -ms-transform: scale(0.9);
      transform: scale(0.9);
    }
  }
.button-breathe {
    -webkit-animation: breathing-color 3s ease-in-out infinite normal;
    animation: breathing-color 3s ease-in-out infinite normal;
}
.button-breathe:hover {
    -webkit-animation: 0;
    animation: 0;

    background-color:rgb(255, 100, 100);
    color: white;
}
.button-breathe:active {
  background-color:rgb(255, 50, 50);
  color: white;
}
@-webkit-keyframes breathing-color {
  0% {
    background-color: white;
    color: rgb(80, 0, 0);
  }
  15% {
    background-color: white;
    color: rgb(80, 0, 0);
  }
  35% {
    background-color: rgb(255, 100, 100);
    color: white;
  }
  65% {
    background-color: rgb(255, 100, 100);
    color: white;
  }

  85% {
    background-color: white;
    color: rgb(80, 0, 0);
  }
}
  
@keyframes breathing-color {
  0% {
    background-color: white;
    color: rgb(80, 0, 0);
  }
  15% {
    background-color: white;
    color: rgb(80, 0, 0);
  }
  35% {
    background-color: rgb(255, 100, 100);
    color: white;
  }
  65% {
    background-color: rgb(255, 100, 100);
    color: white;
  }

  85% {
    background-color: white;
    color: rgb(80, 0, 0);
  }
}
  
@keyframes win-wrapper-popout {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes win-text-popout {
  0% {
    transform: scale(0);
  }
  25% {
    transform: scale(1.25);
  }
  95% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}


@keyframes kill-notification-popout {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
    height: 0;
  }
  25% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
    height: 1.7em;
  }
  85% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    height: 1.7em;
  }
  100% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
    height: 0;
  }
}

@-webkit-keyframes kill-notification-popout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
    height: 0;
  }
  25% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    opacity: 1;
    height: 4.7em;
  }
  85% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    height: 4.7em;
  }
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
    height: 0;
  }
}

h1 {
  font-style: italic;
  letter-spacing: 0.0625em;
  text-shadow: 0em 0.1em 0.05em black;
  margin-top: 0.25em;
  margin-bottom: 0;
}
h2 {
  font-style: italic;
  letter-spacing: 0.0625em;
  text-shadow: 0em 0.1em 0.05em black;
  margin-top: 0.25em;
  margin-bottom: 0;
}
h4 {
  margin-top: 0em;
  font-weight: 100;
  font-style: italic;
}

h6 {
  font-size: 1em;
  font-weight: 100;
  font-style: italic;
  margin: 0;
  display: inline;
}

.arrow {
  position: relative;
  width: 2.5em;
  height: 2.5em;
  display: inline-block;
}
.arrow:before,
.arrow:after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 0.5em;
  display: block;
}
.arrow:before:hover,
.arrow:after:hover {
  background: #5f3f5c;
}
.arrow.left,
.arrow.right {
  width: 1.667em;
}
.arrow.left:before,
.arrow.right:before {
  top: 55%;
}
.arrow.left:after,
.arrow.right:after {
  bottom: 55%;
}
.arrow.left:before,
.arrow.right:before,
.arrow.left:after,
.arrow.right:after {
  left: 0%;
  height: 20%;
  width: 85%;
}
.arrow.up,
.arrow.down {
  height: 1.667em;
}
.arrow.up:before,
.arrow.down:before {
  left: 55%;
}
.arrow.up:after,
.arrow.down:after {
  right: 55%;
}
.arrow.up:before,
.arrow.down:before,
.arrow.up:after,
.arrow.down:after {
  top: 0%;
  height: 85%;
  width: 20%;
}
.arrow.left:before,
.arrow.left:after {
  transform: rotate(45deg);
}
.arrow.left:after {
  transform: rotate(-45deg);
}
.arrow.right:before,
.arrow.right:after {
  transform: rotate(-45deg);
}
.arrow.right:after {
  transform: rotate(45deg);
}
.arrow.up:before,
.arrow.up:after {
  transform: rotate(-45deg);
}
.arrow.up:after {
  transform: rotate(45deg);
}
.arrow.down:before,
.arrow.down:after {
  transform: rotate(45deg);
}
.arrow.down:after {
  transform: rotate(-45deg);
}

/* width */
::-webkit-scrollbar {
  width: 0.75em;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 0.1em;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}