.container {
  position: relative;
  width: 100%;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: rgba(218, 214, 219, 0.8);
  overflow: hidden;
  width: 100%;
  height:0;
  transition: .5s ease;
}

.container:hover .overlay {
  bottom: 0;
  height: 100%;
  cursor: pointer;
}

.text {
  font-family: sans-serif;
  white-space: nowrap;
  color: white;
  font-size: 14px;
  position: absolute;
  overflow: hidden;
  padding: 50px;
  top: 20%;
  left: 20%;
  transform: translate(-20%, -20%);
}
