

.font-mono {
  font-family: 'Fira Code', monospace;
}

.scene {
  perspective: 1200px;
  width: 100%;
  height: 520px;
  /* Fixed height for consistency */
}

.card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card.is-flipped {
  transform: rotateY(180deg);
}

.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  /* Prevent content from spilling */
}

.card__face--back {
  transform: rotateY(180deg);
}

/* Carousel cell styling */
.carousel-cell {
  width: 80%;
  /* Adjust width of cells */
  margin-right: 20px;
  height: auto;
}

@media (min-width: 768px) {
  .carousel-cell {
    width: 50%;
  }
}

.flickity-prev-next-button {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.flickity-prev-next-button .flickity-button-icon {
  fill: #1f2937;
}
