* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  height: 60%;
  padding: 10px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.container .card {
  position: relative;
  width: 300px;
  height: 100%;
  background: #333;
  border-radius: 5px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  cursor: pointer;
  margin: 5px;
}

.container .card .imgBox {
  width: 100%;
  height: 100%;
}

.container .card .imgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .card:hover .imgBox img {
  filter: grayscale(0.4);
  transform: scale(1.1);
  transition: all 0.5s ease-in-out;
}

.container .card .contentBox {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(400px);
  backdrop-filter: blur(3px);
}

.container .card .contentBox h2 {
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

.container .card .contentBox p {
  font-size: 16px;
  text-align: center;
}

.container .card:hover .contentBox {
  transform: translateY(0px);
  transition-delay: 100ms;
  transition: all 0.5s ease-in-out;
}
