:root {
  --card-height: 17vh;
  --card-width: calc(var(--card-height) * (500/726));
  --gap-size: 0.4vw;
  font-family: system-ui;
  font-size: 1rem;
}

.tableau {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, fit-content(20vw));
  justify-items: start;
  gap: var(--gap-size);
  background-color: green;
  font-size: 0.75rem;
  color: lightgreen;
  padding: var(--gap-size);
}

.tableau > div { /* Child combinator */
  padding: var(--gap-size);
  touch-action: none;
  border: 1px solid #999999;
  border-radius: 3px;
}

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

.card {
  touch-action: none;
  height: var(--card-height);
  width: var(--card-width);
}

.card-column-holder {
  text-align: center;
}

.card1 {
  position: relative;
  z-index: 0;
  touch-action: none;
  height: var(--card-height);
  width: var(--card-width);
}

.card2 {
  position: relative;
  z-index: 1;
  bottom: calc(0.8 * var(--card-height));
  touch-action: none;
  height: var(--card-height);
  width: var(--card-width);
}

.card3 {
  position: relative;
  z-index: 2;
  bottom: calc(1.6 * var(--card-height));
  touch-action: none;
  height: var(--card-height);
  width: var(--card-width);
}

.card4 {
  position: relative;
  z-index: 3;
  bottom: calc(2.4 * var(--card-height));
  touch-action: none;
  height: var(--card-height);
  width: var(--card-width);
}

