body,
html {
  position: fixed;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: white;
}

p {
  margin: 0;
}

#container {
  background-color: #499167;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
}

#dealer-side {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

#player-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.input-group {
  display: flex;
  justify-content: space-between;
}

#open-stats-button,
#close-stats-button {
  position: absolute;
  bottom: 15px;
  left: 15px;
  font-size: 1em;
  padding: 5px;
}

#clear-stats-button {
  font-size: 1em;
  padding: 5px;
  margin-top: 20px;
}

#stats-text {
  font-size: 1.5em;
}

#cards-in-shoe {
  text-align: center;
  margin-bottom: 20px;
}

#dealer-hand {
  display: flex;
  gap: 10px;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 20px;
}

.card-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  width: 50px;
}

#player-hands {
  display: flex;
  flex-direction: column;
}

.player-hand {
  display: flex;
  gap: 10px;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 20px;
}

.hand-bet {
  text-align: center;
}

.hand-status-div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  text-align: center;
}

#controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100vw;
}

button {
  font-family: inherit;
  border: solid 2px white;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  font-size: 1.3em;
}

button:hover {
  filter: brightness(80%);
}

button:active {
  filter: brightness(60%);
}

#bet-input {
  font-family: inherit;
  width: 100px;
  font-size: 1.2em;
  text-align: center;
}

#insurance-bet {
  text-align: center;
}

#hit-button,
#bet-input-button,
#insure-button {
  color: white;
  background-color: #239e4a;
}

#double-button {
  color: white;
  background-color: #b80bdb;
}

#split-button,
#open-stats-button,
#close-stats-button {
  color: white;
  background-color: #539dfc;
}

#stand-button,
#buy-in-button,
#clear-stats-button,
#dont-insure-button {
  color: white;
  background-color: #fc4141;
}

#balance {
  text-align: center;
}

#stats-window {
  display: none;
  border: 2px solid black;
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 20px;
  background-color: #499167;
  padding: 10px;
  overflow-y: scroll;
}

.hidden {
  display: none;
}
