body {
  background: #000; /* black background */
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
#wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 100vh; /* full screen height */
  width: 100%;
  /* overflow-y: hidden; */
}
.main {
  height: 80%;
}
.inp {
  position: fixed;
  z-index: 10;
}
/* Card container */
.card {
  position: relative;
  width: 230px;
  height: 300px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.09);
}
.card img:hover {
  filter: grayscale(0%);
}
/* Image inside card */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(50%);
  transition: filter 0.4s ease;
}

/* Blurred bottom overlay */
.blurred-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  backdrop-filter: blur(4px);
}
.card-box {
  position: absolute;
  bottom: 150px;
}
/* Text content */
.content {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  color: #fff;
  z-index: 2;
}

.content h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
}

.content p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #ddd;
}
