body {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */

  display: flex;
  background: rgb(5, 5, 5);
  font-family: 'Rubik';
  margin: 0;
  padding: 0;
}

/*
 * Gameplay related
 */
#chatbox {
  width: 24%;
  min-width: 250px;
  height: 30px;
  padding: 6;
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: 'Rubik';
  font-size: 16px;
  background: rgba(10, 10, 10, 0.6);
  border: 0;
  color: white;
  border-radius: 10px;
  border: 2.5px solid rgba(255, 255, 255, 0.11);
  box-sizing: border-box;
  transition: border-color 0.5s ease-out;
  caret-color: white;
}

#chatbox:focus {
  /* border: 2px solid rgba(255,255,255,0.25); */
  /* border: 2px solid rgba(255,255,255,0.2); */
  box-shadow: none;
  outline: none;
}

#chatlist {
  width: 24%;
  min-width: 250px;
  max-height: 50%;
  overflow-y: scroll;
  position: absolute;
  left: 12px;
  bottom: 58px;
  background: rgba(10, 10, 10, 0.6);
  border-radius: 10px;
}

.chat-message {
  min-width: calc(100% - 12px);
  margin: 0;
  padding: 4;
  padding-left: 6;
  padding-right: 60px;
  box-sizing: border-box;
  font-size: 15px;
  /*background: rgba(10, 10, 10, 0.6);*/
  text-wrap: wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  user-select: text;
}

.chat-message-container {
  position: relative;
  min-height: 24px;
}

.chat-timestamp {
  position: absolute;
  top: 2px;
  right: 6px;
  font-size: 11px;
  color: rgba(150, 150, 150, 0.8);
  font-family: 'Rubik';
  white-space: nowrap;
}

/* Chat message color classes */
.chat-red {
  color: var(--chat-red);
}

.chat-blue {
  color: var(--chat-blue);
}

.chat-green {
  color: var(--chat-green);
}

.chat-yellow {
  color: var(--chat-yellow);
}

.chat-purple {
  color: var(--chat-purple);
}

.chat-bold {
  font-weight: bold;
}

.chat-italic {
  font-style: italic;
}

.chat-plus-size {
  font-size: 1.2em;
}

/*
 * UI related
*/

#particles-js {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}

.w-100 {
  font-weight: 100 !important;
}

.w-200 {
  font-weight: 200 !important;
}

.w-300 {
  font-weight: 300 !important;
}

.w-400 {
  font-weight: 400 !important;
}

.w-500 {
  font-weight: 500 !important;
}

.w-600 {
  font-weight: 600 !important;
}

h1 {
  font-family: 'Rubik';
  font-size: 44px;
  margin: 0;
  padding: 0;
}

h2 {
  font-family: 'Rubik';
  font-size: 40px;
  margin: 0;
  padding: 0;
}

h3 {
  font-family: 'Rubik';
  font-size: 30px;
  margin: 0;
  padding: 0;
}

h4 {
  font-family: 'Rubik';
  font-size: 26px;
  margin: 0;
  padding: 0;
}

h5 {
  font-family: 'Rubik';
  font-size: 22px;
  margin: 0;
  padding: 0;
}

h6 {
  font-family: 'Rubik';
  font-size: 18px;
  margin: 0;
  padding: 0;
}

:root {
  --top-bar-height: 74px;
  --top-bar-color: #ffffff;
  /* Chat message color variables */
  --chat-red: #ff365b;
  --chat-blue: #294bf8;
  --chat-green: #52f86e;
  --chat-yellow: #fad345;
  --chat-purple: #ab25ff;
  --chat-pink: #ff3686;
  --chat-lava: #c53811;
  --chat-dark-red: #cc1b1b;
  --chat-orange: #fd9729;
  --chat-happy-blue: #45affa;
  --chat-cyan: #45fcff;
  --chat-gray: #515151;
  --chat-brown: #90503d;
}

/* width */
::-webkit-scrollbar {
  /* width: 10px; */
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  /*background: #111;*/
  /* background: transparent; */
  background: rgba(10, 10, 10, 0.6);
}

/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #222;
}

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

#ui {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 13, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.topbar {
  width: 100%;
  height: 100px;
  background: rgb(0, 0, 0, 0.9);
  position: absolute;
  top: 0;
}

.tclr-white {
  color: white;
}

input {
  width: auto;
}

input::after {
  transition: left 0.1s linear;
}

.skip-btn-bounce {
  transition:
    opacity 0.2s,
    background-color 0.2s,
    transform 0.25s cubic-bezier(.68, -0.55, .27, 1.55);
  will-change: transform;
}

.skip-btn-bounce:not(:disabled):hover {
  transform: translateY(-3px);
}

.popup-container {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  transition: scale 180ms ease, opacity 180ms ease;
  background: 0;
}

@keyframes playfulJump {

  0%,
  70%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  73% {
    transform: translateY(-8px) rotate(0deg)
  }

  77% {
    transform: translateY(-8px) rotate(-12deg);
  }

  80% {
    transform: translateY(-8px) rotate(12deg);
  }

  83% {
    transform: translateY(-8px) rotate(-12deg);
  }

  85% {
    transform: translateY(-8px) rotate(12deg);
  }

  88% {
    transform: translateY(-8px) rotate(-12deg);
  }

  91% {
    transform: translateY(-8px) rotate(12deg);
  }

  94% {
    transform: translateY(-8px) rotate(-12deg);
  }
}

*:focus-visible {
  outline-color: rgb(60, 60, 60);
  outline-width: 4px;
}

.classic-font {
  font-family: 'Russo One', Verdana, Arial, Helvetica, sans-serif;
}