.video-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-pres {
  width: 100%;
  height: 100%;
  border-radius: 32px;
}

.ellipse-to-bg-container {
  top: -35%;
  left: 0;
  width: 100%;
  height: 120%;
  aspect-ratio: 1/1;
  background-color: transparent;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.ellipse-to-bg {
  top: 0;
  left: 50%;
  width: 100px;
  height: 100px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--light-gray);
  transform-origin: center top;
  transform: translate(-50%, 0);
}

.cards-list {
  transform-origin: top center;
}

.card {
  width: calc(33% - 32px);
  min-width: 230px;
  background-color: var(--white);
  border-radius: 16px;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--dark-blue);
  position: relative;
}

.duplicates {
  display: none;
}

.duplicates.playable {
  display: flex;
}

.card.no-bg {
  background-color: transparent;
}

.card {
  cursor: pointer;
}

.card::before {
  content: "?";
  position: absolute;
  inset: 0;
  background-color: var(--white);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  border-radius: inherit;
  color: var(--dark-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: calc(42px + (56 - 42) * ((100vw - 320px) / (1440 - 320)));
  font-weight: 600;
  line-height: normal;
}

.card.hidden::before {
  opacity: 1;
}

.card.matched {
  pointer-events: none;
}
