.lobby-container {
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lobby-message {
  background: #ccc;
  width: 100%;
  min-height: 2em;
  font-size: 40px;
  text-align: center;
}

.lobby-container {
  text-align: center;
}

.lobby-options {
  font-size: 40px;
}

.players {
  transition: opacity 1s ease-out, transform 1s ease-in-out;
  transform: scale(0.8);
  opacity: 0;
}

.players--visible {
  opacity: 1;
  transform: scale(1);
}

.player-score {
  background: #211;
  color: #ddd;
  border-radius: 50px;
  min-width: 40px;
  min-height: 40px;
  font-size: 45px;
  position: absolute;
  top: -10px;
  left: -10px;
  line-height: 30px;
  padding: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.player-score--updated {
  animation: score-update 1s ease-in-out forwards;
}

.players-list {
  display: flex;
  padding: 10px 0;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.players-list__item {
  overflow: hidden;
  position: relative;
  list-style: none;
  max-width: 200px;
  background: #333;
  border-radius: 20px;
  text-align: center;
  flex: 1 1 200px;
  opacity: 0.8;
  transition: background-color 0.2s, opacity 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 10px;
}

.player-name {
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.5s;
}

.players-list__item--ready {
  opacity: 1;
}

.players-list__item--active {
  opacity: 1;
  animation: pulsate 0.5s ease-in-out infinite alternate-reverse;
}
.players-list__item--active .player-name {
  background-color: #cc0;
  color: black;
}

.players-list__item--active.players-list__item--selected {
  opacity: 1;
  animation: pulsate-selected 0.5s ease-in-out infinite alternate-reverse;
}

.players-list__item--can-select {
  cursor: pointer;
}

.players-list__item--can-select:hover {
  background: #555;
}

.players-list__item--disabled {
  opacity: 0.5;
}

.players-list__item--selected {
  background-color: #a55;
}

.players-list__item--selected:hover {
  background-color: #a55;
}

.head-container {
  line-height: 0;
  position: relative;
  aspect-ratio: 1/1;
  transition: background-color 1s ease-in-out;
}
.head-container img {
  position: absolute;
  height: 100%;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
}

.head-container--poisoned {
  background-color: red;
}

.talking {
  animation: talk 0.15s infinite;
}

.player-votes {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: black;
}

.player-votes__item {
  padding: 5px;
  background: #eee;
  border-radius: 5px;
  margin: 5px;
  display: inline-block;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.player-poisoned-skull {
  font-size: 200px;
  color: #d3003c;
  position: absolute;
  width: 100%;
  opacity: 0.8;
  top: 0;
  left: 0;
}

@keyframes talk {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes score-update {
  10% {
    transform: scale(1.2);
    background-color: #fff;
    color: #000;
  }
}
@keyframes pulsate {
  from {
    background: #333;
  }
  to {
    background: #446;
  }
}
@keyframes pulsate-selected {
  from {
    background: #a55;
  }
  to {
    background: #446;
  }
}
.chalices {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  width: 100%;
}

.chalices--visible {
  opacity: 1;
  transform: translateY(0px);
}

.chalices-list {
  display: flex;
  padding: 10px 0;
  justify-content: center;
  align-items: center;
  margin: 0;
  position: absolute;
  top: -70px;
  width: 100%;
}

.chalices-list__item {
  list-style: none;
  margin: 0 10px;
  max-width: 200px;
  text-align: center;
  flex: 1 1 200px;
  position: relative;
  margin: 10px;
}

.poison-puff {
  color: #9400D3;
  animation: puff 3s linear forwards;
  position: absolute;
  top: -40px;
  left: 0;
  font-size: 40px;
  display: block;
  width: 100%;
  text-align: center;
  text-shadow: 0 0 5px black;
}

@keyframes puff {
  0% {
    transform: scale(0.5) translateY(0);
    opacity: 0;
  }
  50% {
    transform: scale(1) translateY(-20px);
    opacity: 1;
  }
  100% {
    transform: scale(1.5) translateY(-40px);
    opacity: 0;
  }
}
.background {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 0.5;
  transition: opacity 1s linear;
}

.background--visible {
  opacity: 1;
}

.character-selector-container {
  width: 50%;
  min-width: 300px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  margin: 40px auto;
}

.character-selector-carousel {
  width: 100%;
  overflow-x: scroll;
  display: flex;
}

.character-selector-container button {
  background: none;
  border: none;
  padding: 0;
}

.character-image {
  cursor: pointer;
  border-radius: 10px;
  border: 5px solid transparent;
}
.character-image img {
  max-height: 150px;
  padding: 10px;
}

.character-image--selected {
  background: rgba(255, 255, 0, 0.3);
  border: 5px solid rgba(255, 255, 0, 0.3);
}

.character-image--disabled {
  background: rgba(0, 0, 0, 0.3);
  mix-blend-mode: luminosity;
  cursor: not-allowed;
}

.character-image:hover {
  background: rgba(255, 255, 255, 0.3);
}

.character-image--disabled:hover {
  background: rgba(0, 0, 0, 0.3);
}

.character-header {
  margin: 0;
}

body {
  font-family: "Grenze Gotisch", cursive;
  font-size: 20px;
  margin: 0;
  background: #211;
  color: #eee;
}

h1 {
  margin: 0px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
}

strong.poison {
  color: #a00;
  animation: unblur 5s ease-out forwards;
}

.name {
  color: #88f;
}

.chalice {
  color: #cc0;
}

button {
  display: inline-block;
  line-height: inherit;
  font-size: inherit;
  font-family: inherit;
  background: indigo;
  color: white;
  border: 5px solid #88f;
  border-radius: 20px;
  padding: 0 10px;
  cursor: pointer;
  margin-right: 10px;
}

button:hover {
  background: #555;
}

input {
  display: inline-block;
  line-height: inherit;
  font-size: inherit;
  font-family: inherit;
  background: #aaa;
  border-radius: 20px;
  border: 5px solid #ccc;
  padding: 0 10px;
  margin-right: 10px;
}

.messageContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 0 300px;
  margin-top: 2rem;
}

.message {
  position: relative;
}

.message p {
  font-size: 50px;
  text-align: center;
  padding: 20px 40px;
  margin: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 40px;
  display: inline-block;
  margin: 10px;
  max-width: 70%;
}

.message-smaller p {
  font-size: 30px;
  text-align: center;
  padding: 10px 40px;
  margin: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  display: inline-block;
  margin: 10px;
}

.fadeOut {
  animation: fadeOut 500ms ease-in forwards;
}

@keyframes grow {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  25% {
    transform: scale(0.85);
    opacity: 1;
  }
  50% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@keyframes grow-persist {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  25% {
    transform: scale(0.85);
    opacity: 1;
  }
  50% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    transform: translateY(0) scale(1, 1);
    opacity: 1;
  }
  to {
    transform: translateY(100px) scale(0.5, 0.5);
    opacity: 0;
  }
}
@keyframes unblur {
  from {
    filter: blur(5px);
  }
  to {
    filter: blur(0px);
  }
}

/*# sourceMappingURL=5645bf1e15ff817b83473814d9c13d4a1d5e91c9.css.map */
