@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
}

img {
  height: 100%;
  width: 100%;
}

.main {
  border-top: 10px solid #d30404;
  position: relative;
  height: 90vh;
}

.main h2 {
  text-align: center;
  padding: 40px 0;
  color: #d30404;
  font-family: "Poppins";
  font-size: 35px;
  font-weight: 600;
}

.main .topRightImg {
  position: absolute;
  right: 0;
  z-index: -1;
}

.main .bottomRightImg {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.main .bottomLeftImg {
  position: absolute;
  left: 0;
  z-index: -1;
  bottom: 0;
}

/* new */
.cards {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0.5rem 0.5rem 2.5rem;
  min-height: 50vh;
}

.cards .card {
  align-items: center;
  background-color: #f5f7f9;
  box-shadow: 0px 0px 35px 6px rgba(217, 217, 217, 0.9);
  display: flex;
  flex: 0 0 25rem;
  flex-direction: column;
  margin: 2.5rem;
  /* padding: 0.5rem; */
  position: relative;
  max-height: 550px;
  overflow-y: hidden;
  width: 450px;
  border-radius: 20px;
}

/* .cards .card::before{
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background-color: rgba(217, 217, 217, 0.5);
    border-radius: 20px;
} */

.cards .cardContent h4 {
  font-family: "Inter";
  font-size: 30px;
  font-weight: 600;
  color: rgba(155, 155, 155, 1);
  text-align: center;
}

.cards .card .eyeIcon {
  position: absolute;
  z-index: 99;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #d30404;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in-out;
}

.cards .card .eyeIcon:hover {
  box-shadow: 0px 0px 6px 2px rgba(58, 58, 58, 0.5);
}

.cards .card .eyeIcon img {
  height: 35px;
  width: 35px;
}

.cardImg img {
  object-fit: cover;
  overflow: hidden;
  transition: transform 1s ease-in-out;
  width: 100%;
  opacity: 0.7;
  /* filter: blur(2px); */
}

.cardImg:hover img {
  transform: translateY(calc(-100% + 550px));
  transition: transform 3s ease-in-out;
}
