.innerContainer {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}

.cardContainer {
  width: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.652rem;
}

.card {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  cursor: pointer;
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  backface-visibility: hidden;
}

.front {
  transition: background 0.2s ease-in-out;
  background: rgba(255, 255, 255, 0.21);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateY(0deg);
}

.front:hover {
  background: rgba(255, 255, 255, 0.31);
}

.back {
  background-color: cadetblue;
  display: flex;
  justify-content: center;
  align-items: center;
  color: aliceblue;
  transform: rotateY(180deg);
  overflow: hidden;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

@media (min-width: 850px) {
  .card {
    height: 80px;
    width: 80px;
  }
}

@media (min-width: 900px) {
  .card {
    height: 100px;
    width: 100px;
  }
}

@media (min-width: 1536px) {
  .card {
    height: 130px;
    width: 130px;
  }
}

h3 {
  display: none;
}

.card.flipped {
  transform: rotateY(180deg);
}

@keyframes hiddenAnimation {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes showAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
