
#gallery .card:hover .overlay {
  opacity: 0;
  transition: opacity 2s;
}
#gallery .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 1;
  transition: .5s ease;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.3);
}
#gallery .card-title {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 5px 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
#gallery hr{
    color: white;
    border: solid 2px white;
}
#gallery .card-body {
  background: rgba(80, 80, 80, 0.90);
  padding: 15px;
  border-radius: 15px;
}
#gallery .card-body p {
  color: #fff;
  font-size: 1.3rem;
}
#gallery .card-body img {
  border-radius: 15px;
}