#error {
  color: var(--text-bright);
  transition-property: transform;
  transition-duration: 0.3s;
  transform: translateY(-100%);
  width: 100vw;
  min-height: min-content;
  font-size: 1.4rem;
  /* height: 100px; */
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
}

.error-success {
  background-color: var(--highlight);
}

.error-error {
  background-color: var(--variable);
}

.error-open {
  transform: translateY(0) !important;
  visibility: visible !important;
}

.error-container {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#qrcode {
  background-color: white;
  text-align: center;
  padding: 10px;
  width: fit-content;
  margin: 0 auto;
}

.button {
  width: fit-content;
  background-color: var(--background);
  color: var(--form-text);
  padding: 10px 30px 10px 30px;
  outline: none;
  border: none;
  border-radius: 6px;
  margin-right: 6px;
  margin-bottom: 6px;
  cursor: pointer;
}

.button:hover {
  background: var(--button-hover);
  text-decoration: none;
}

.main {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* client */

#name-input-container {
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#name-input {
  margin-top: 30px;
  display: inline-block;
}

#name-input::placeholder {
  font-style: italic;
}

#waiting {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#name {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

#round-screen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #5ca550;
  flex-direction: column;
}

#timer {
      height: 90vh;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
}

#round-screen-start-timer {
  font-size: 6rem;
  font-weight: bold;
}

/* connector */

h1 {
  text-align: center;
}

.client {
  background-color: var(--background);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  padding: 10px;
  width: 100px;
  min-width: fit-content;
  height: 80px;
  border-radius: 10px;
  font-size: 1.3rem;
  margin: 20px;
  min-height: fit-content;
}

.short-link {
  color: var(--text-bright) !important;
  font-size: 1.5rem !important;
  text-align: center;
  margin: 10px auto;
  display: block;
}

.start-game {
  margin: 10px auto;
  display: block;
}

#clients {
  display: flex;
}

/* main */

#stats {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 30vw;
  min-width: fit-content;
}

#stats table {
  width: inherit;
  min-width: fit-content;
}

#controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30vw;
  min-width: fit-content;
}

.client-data {
  font-size: 1rem;
}

#round-screen-main {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 7rem;
  font-weight: bold;
}

.leader {
  outline-color: yellow;
  outline-style: solid;
  outline-width: 2px;
}

.winner {
  border-color: green;
  border-style: solid;
  border-width: 2px;
}

.not-visible {
  visibility: hidden !important;
}

#result-show {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  max-width: 300px;
  width: 95%;
  background-color: var(--background);
  border-radius: 5px;
  margin: 150px auto 50px auto;
}

#result-times {
  display: flex;
  flex-direction: column;
  background-color: none;
  align-items: center;
}

#result-diff {
  margin: 0px;
  padding: 0px;
}

#round-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  border-radius: 5px;
  background-color: var(--background);
}

.end-round-button {
  margin-block: 20px;
  margin-inline: auto;
  background: #5ca550;
  height: 40%;
  width: 70%;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}