html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.flexbox {
  display: flex;
  flex-direction: row;
}

.dice {
  padding: 10px;
  box-shadow: 5px 5px 2px 0px rgba(0, 0, 0, 0.2);
  min-width: 60px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 24px;
  cursor: pointer;
}

.dice.selected {
  background-color: rgba(255, 0, 0, 0.2);
}

.dice-table {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-direction: row;
}

.dice-table button {
  border-radius: 5px;
}

.GameArea {
  /* margin: 5px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 10px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 5px;
  box-shadow: 5px 5px 2px 0 rgba(0, 0, 0, 0.12);
}

.scoreboard {
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-rows: repeat(19, 1fr);
  grid-auto-flow: column;
  box-shadow: 5px 5px 2px 0 rgba(0, 0, 0, 0.12);
  grid-auto-columns: min-content;
  border-radius: 5px;
  min-width: 600px;
}

.scoreboard a,div {
  white-space: nowrap;
}

.scoreboard div {
  border: 1px solid rgba(0, 0, 0, 0.12);
  width: fit;
  padding-left: 5px;
  padding-right: 5px;
}

.scoreboard .empty-insert-dice {
  min-width: 50px;
  max-width: fit-content;
  display: flex;
  justify-content: end;
}

.scoreboard .empty-insert-dice a {
  text-decoration: none;
  color: black;
}

.deleteuser {
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: black;
  width: fit;
  padding-left: 5px;
  padding-right: 5px;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.game-frame {
  min-width: 500px;
}

.rules {
  margin-top: 10px;
  border-radius: 5px;
  padding: 5px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 5px 5px 2px 0 rgba(0, 0, 0, 0.12);
}