figure {
  margin: 0;
  color: rgb(227, 227, 227);
  background-color: rgb(49, 56, 56);
  box-shadow: 0 0 5px #3b3b3b;
  overflow: hidden;
  border-radius: 8px;
  height: 400px;
  width: 275px;
}

figure {
  transition: all 250ms ease-out;
}

figure > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

figure:hover {
  cursor: pointer;
  transform: scale(1.02);
}

figure > figcaption {
  padding: 16px 0;
  font-size: 1.5rem;
}
