html, body {
  touch-action: manipulation;
}

th, tr, td {
  border: 1px solid black;
  min-width: 20px;
}

h2 {
  margin-bottom: 0px;
}

#tablePlaceholderCell {
  border: none;
  color: transparent;
}

.table-player {
  min-width: 40px;
}

body {
  margin: 8px;
  padding: 0;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

header {
  height: 12dvh;
}

main {
  height: calc(88dvh - 16px);
}

nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0px;
}

table {
  max-height: calc(88dvh - 16px);
  border-collapse: collapse;
}

.summary {
  overflow-y: auto;
  height: 100%;
}

.player {
  flex: 0 0 auto;
  margin-right: 5px;
}

.player > p {
  margin: 0;
}

.icons {
  width: 10vw;
  height: 10vw;
  max-width: 44px;
  max-height: 44px;
}

.nav-button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  border-bottom: 5px solid transparent;
  }

.bar {
  border-bottom-color: black;
}

.home-section, .table-section {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

.player-section {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  font-size: 1rem;
  font-weight: bold;
}

.player-name {
  font-size: 32px;
  font-weight: bold;
  margin: 10px;
}

.wizard-section {
  display: none;
}

.wizard-section.active {
  display: flex;
}

.start {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 85dvh;
  gap: 5px;
}

.players {
  flex-direction: column;
  height: 100%;
  margin: 2px;
  align-items: center;
}

.points-call {
  flex-direction: column;
  align-items: center;
}

.points-got {
  flex-direction: column;
  align-items: center;
}

.playing {
  flex-direction: column;
  align-items: center;
}

.dealing {
  flex-direction: column;
  align-items: center;
}

.button-section {
  display: flex;
  width: 95%;
  gap: 3vw;
}

.disabled-input {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
  height: 80px;
  font-size: 32px;
  color: black;
  font-weight: bold;
  background-color: #f5f5f5;
  box-shadow: rgba(0,0,0,0.35) 0px 5px 15px;
  border-radius: 5px;
  border: none;
}

/* CSS Snippets */

.input {
  width: 90%;
  height: 40px;
  font-size: 16px;
  color: black;
  font-weight: bold;
  background-color: #f5f5f5;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 5px;
  padding: 10px 15px;
  border: none;
  margin: 10px;
  transition: 0.4s;
}
.input:focus {
  outline: none;
  box-shadow: 0 0 0 0.15vw #5f03f4;
}


.button1{
    background-color: #0c0c0c;
}

.button2 {
  background-color: blue;
}

.button1, .button2 {
  flex: 1;
  width: auto;
  min-height: 30vh;
  height: auto;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  outline: none;
  border: none;
  border-radius: 20px;
}

.button3 {
  background-color: black;
}

.button4 {
  background-color: green;
}

.button3, .button4 {
  width: 90%;
  flex: 1;
  min-height: 15vh;
  height: auto;
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  outline: none;
  border: none;
  border-radius: 20px;
}

.button-minus, .button-plus {
  width: auto;
  flex: 1;
  min-height: 25vh;
  height: auto;
  font-size: 32px;
  font-weight: bold;
  color: white;
  text-align: center;
  outline: none;
  border: none;
  border-radius: 20px;
  margin-block: 20px;
}

.button-minus {
  background-color: red;
}

.button-plus {
  background-color: green;
}
