/* katag image hover home */
/* https://codepen.io/ArnaudBalland/pen/vGZKLr */

.container-overlay {
  margin-bottom: 30px;
}

.content {
  position: relative;
  width: 100%;
  /*max-width: 400px;*/
  margin: auto;
  overflow: hidden;
}

.content .content-overlay {
  background: #9f9e9f;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay {
  opacity: 1;
}

.content-image{
  width: 100%;
}

.content-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.content:hover .content-details{
  top: 50%;
  left: 50%;
  opacity: 1;
}

.content-details h3 {
  color: #ffcc00!important;
  font-weight: 300;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.content-details p {
  color: #fff!important;
  font-size: 1rem;
}

.content-title a {
  color: #ffcc00!important;
}
.content-text a {
  color: #fff!important;
}

.fadeIn-bottom{
  top: 80%;
}

.fadeIn-top{
  top: 20%;
}

.fadeIn-left{
  left: 20%;
}

.fadeIn-right{
  left: 80%;
}

