body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  image-rendering: pixelated;
  font-family: 'Open Sans';
  overflow: hidden;
  cursor: crosshair;
}

h1, h2 {
  margin: 0;
}

.background {
  background-image: url(/assets/background.png), linear-gradient(0deg, rgb(72,210,230) 0%, rgb(36,128,229) 100%);
  background-repeat: repeat-x;
  background-size: contain;
  background-position: bottom left;

  width: 3840px;
  height: 100vh;
}

.player {
  position: absolute;
  bottom: calc(8.4%);
  user-select: none;
  cursor: unset;
  z-index: 999;
}

.playerEyeColor {
  width: calc(1px * 3);;
  height: calc(2px * 3);;
  position: absolute;
  top: calc(7px * 3);
  left: calc(7px * 3);
}

.playerImgContainer {
  width: calc(16px * 3);
  height: calc(28px * 3);
  background: url(/assets/character-animated.png);
  background-size: calc(16px * 3);
}

.playerName {
  color: white;
  white-space: nowrap;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 500;
  font-size: 1.5em;
  margin: 0;
  text-shadow: 1px 1px 0px #2e2e2e;
  user-select: none;
  cursor: unset;
}

.stats {
  position: fixed;
  top: 5px;
  left: 5px;
  user-select: none;
  cursor: unset;
  z-index: 1000;
}

.statsValue {
  color: white;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  text-shadow: 1px 1px 0px #2e2e2e;
}

.playerStats {
  position: fixed;
  top: 5px;
  right: 5px;
  user-select: none;
  cursor: unset;
  text-align: right;
}

.bullet {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 5px;
  background-color: black;
  border: 1px solid white;
}

.playerSettings {
  position: fixed;
  bottom: 5px;
  left: 5px;
  user-select: none;
  cursor: unset;
  text-align: left;
}

.playerSetting {
  color: white;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  text-shadow: 1px 1px 0px #2e2e2e;
}

.playerSetting:hover {
  text-decoration: underline;
  cursor: pointer;
}

.modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  user-select: none;
  cursor: unset;
  text-align: center;
  display: none;
}

.modalTitle {
  font-size: 4em;
  color: white;
  margin-bottom: -5px;
  text-shadow: 1px 1px 0px #2e2e2e;
}

.modalDescription {
  font-size: 2em;
  color: rgb(245, 245, 245);
  text-shadow: 1px 1px 0px #2e2e2e;
}

.serverSelect {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  user-select: none;
  cursor: unset;
  text-align: center;
  display: none;
}

.chat {
  position: fixed;
  bottom: 5px;
  right: 5px;
  user-select: none;
  cursor: unset;
  text-align: left;
  border-radius: 5px;
  width: 300px;
  max-height: 260px;
  padding-bottom: 22px;
  overflow-y: hidden;
  overflow-x: hidden;
  z-index: 1000;
  background-color: transparent;
}

.chat::-webkit-scrollbar {
  width: 7px;
}

.chat::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.chat::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 10px;
}

.chatMessage {
  color: white;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  text-shadow: 1px 1px 0px black;
  word-break: break-word;
}

.chatMessage.server {
  color: #fadb3e;
}

/* .chatMessage.kill {
  color: #ff7a7a;
} */

::placeholder {
  color: white;
  opacity: 1;
}

.chatInput {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 297px;
  height: 20px;
  border: none;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  color: white;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  text-shadow: 1px 1px 0px #2e2e2e;
  z-index: 1000;
}

.chatInput:focus {
  outline: none;
}

.serverListServer {
  color: white;
  text-decoration: none;
}

.serverListServer:hover {
  text-decoration: underline;
}

.serverListServer.active:hover {
  text-decoration: none;
  cursor: inherit;
}

.serverListServer:visited {
  color: white;
}

.title {
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: 1px 1px 0px #2e2e2e;
  color: white;
  display: none;
  user-select: none;
}

.object {
  position: absolute;
  bottom: calc(8.4%);
  width: calc(25px * 3);
  height: calc(25px * 3);
  user-select: none;
  cursor: unset;
}

.objectImg {
  position: absolute;
  top: 0;
  left: 0;
}

.objectImgContainer {
  position: relative;
}

.window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 40px 100px;
}

.material-symbols-rounded {
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 200,
  'opsz' 48
}

.micIcon {
  font-family: 'Material Symbols Rounded';;
  font-weight: 300;
  vertical-align: middle;
}

.micIcon.self {
  cursor: pointer;
}
