@charset "utf-8";
/* CSS Document */

/* From Uiverse.io by ayman-ashine */ 
.cardx {
  width: 195px;
  height: 285px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  transition: 0.2s ease-in-out;
  position: relative;
  cursor: pointer;
}

.imgx {
  height: 60%;
  position: absolute;
  transition: 0.2s ease-in-out;
  z-index: 1;
}

.textBoxx {
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  width: 100%;
  height: 100%;
  gap: 0em;
  padding: 1em;
  z-index: 5;
  transition: 0.2s ease-in-out;
}

.textBoxx > .headx {
  font-size: 1em;
  font-weight: bold;
}

.textBoxx > .pricex {
  font-size: 1em;
  font-weight: bold;
}

.textBoxx > .discriptionx {
  font-size: 0.8em;
  color: lightgrey;
  font-weight: light;
}


@keyframes anim {
  50% {
    transform: translateY(-10%) rotate(5deg);
  }
}



.cardx.flipped > .textBoxx {
  opacity: 1;
  gap: 0.5em;
}

.cardx.flipped > .imgx {
  filter: blur(3px);
  animation: anim 3s infinite ease-in-out;
}

.cardx.flipped {
  transform: scale(1.04);
}
