.container {
  position: relative;
  width: 100%;
}

.image {
  display: block;
  width: 300px;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 360px;
  width: 300px;
  opacity: 0;
  transition: .5s ease;
  background-color: #009e6e;
  border-radius:20px;
}

.container:hover .overlay {
  opacity: 1;
}

.text {
  font-family:calibri;
  color: white;
  font-size: 22px;
  position: absolute;
  top: 5%;


  text-align: center;
}