.image-container {
    position: relative;
    max-height: 260px;
  cursor: pointer;
  margin: 00px;
  }
  
  .overlay-image {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .overlay {
    
    position: absolute;
    top: 75%;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    width: 100%;
   opacity: 0;  
    transition: .5s ease;
    background-color: #d8d8d8;
  }
  
  .image-container:hover .overlay {
    opacity: 0.9;
  }

  .image-text {
    color: #3c3c3c;
    font-size: 15 px;
    position: absolute;
    top: 30%;
    left: 10%;
    
   
  }
  
  .overlay-headline {
  text-align: center;
  }
  
  

  @media  only screen and (max-width: 1200px) {
    .overlay {     
        opacity: 1; 
        background-color: #d8d8d800;    
          
    }   
    .image-container:hover .overlay {
      opacity: 1;
    }
    .image-text {
    color: #fdfafa;
    font-size: 20px;
    position: absolute;
    top: 30%;
    left: 10%;
    
   
  }
   
}

