@import url(https://fonts.googleapis.com/css?family=Raleway);

@media screen and (max-width: 480px){
  .fade-content>img{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
   /*object-fit: contain;*/
  width: calc(100%);
 overflow-x:hidden;
 display:block;
 
  
}
}


.fade-container .title{
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 10px;
}

.fade-content {
  position: relative; 
  margin: auto;
  overflow: hidden;
}

.fade-content .fade-content-overlay {
  background: rgba(0,0,0,0.7);
  position: absolute;
  height: 99%;
  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;
}

.fade-content:hover .fade-content-overlay{
  opacity: 1;
}

.fade-content>img{
  width: calc(100%);
  height:150px;
 overflow-x:hidden;
   background-size: cover;
  background-position: center;
  background-repeat: no-repeat;  
}
.fade-content .main-btn {
  color: #FFF;
  background-color: #24b000;  
  text-transform:uppercase;
  font-weight:600;

} 
.fade-content .main-btn:hover, .fade-content .main-btn:focus {
  color: #FFF;
  background-color: #24b000;
}
.fade-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;
}

.fade-content:hover .fade-content-details{
  top: 50%;
  left: 50%;
  opacity: 1;
}

.fade-content-details h3{
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-top: 0.5em;
  text-transform: uppercase;
  font-size:12px;
}

.fade-content-details p{
  color: #fff;
  font-size: 1.2em;
}

.fadeIn-bottom{
  top: 80%;
}

.fadeIn-top{
  top: 20%;
}

.fadeIn-left{
  left: 20%;
}

.fadeIn-right{
  left: 80%;
}