html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--light-colour);
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

#wheel-container {
  width: 100%;
  height: 100%;
  margin: auto;
  /* perspective: 2000px; */
  perspective: 500vmin;
}

#cylinder {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: auto;
  aspect-ratio: 1.6 / 1;
  transform-origin: center center;
  background: var(--white-colour);
  border-radius: 2vmin;
  /* box-shadow: 0 0.2vmin 0.2vmin rgba(0, 0, 0, 0.1); */
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: background-color 0.25s linear;
}

.card p {
  color: var(--dark-colour);
  font-weight: 200;
  user-select: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2vmin;
  text-wrap: balance;
  text-align: center;
  font-size: 3vmin;
}
