/*
-  Hover card imges will be 300px x 300px OR 225 x 225
-  Make sure all hover cards are the same size if used in a group
-  Ensure your images are large enough that they wont nedd to stretch for the default size
*/

.hc-wrapper {
  display: flex;
  justify-content: center;
}

.hc-card {
  width: 225px;
  height: 225px;
  border-radius: 15px;
  padding: 1.5rem;
  background: white;
  position: relative;
  display: flex;
  align-items: flex-end;
  box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease-out;
}

.hc-card img {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 15px;
}

.hc-card .hc-content {
  position: relative;
  z-index: 3;
  transform: translateY(30px);
  opacity: 0;
  color: white;
  transition: 0.5s;
}

.hc-card .hc-content p {
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-top: 0.5em;
}

.hc-card:hover {
  transform: translateY(20px);
}

.hc-card:hover .hc-content {
  opacity: 1;
  transform: translateY(0px);
}

.hc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  border-radius: 15px;
  opacity: 0;
  transition: 0.5s;
}

.hc-card:hover::before {
  opacity: 1;
}

@media (min-width: 1200px) {
  .hc-card {
    height: 300px;
    width: 300px;
  }
}
