.container {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: auto;
    cursor: pointer;
    overflow: hidden;
}
  
.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    width: 100%;
    height: 3.5em;
    color: white;
    font-size: .85em;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: all 300ms ease-in;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
}
    
.overlay:hover {
    opacity: 1;
}

.overlayed {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 3.5em;
    color: white;
    font-size: .85em;
    padding: 10px;
    text-align: center;
    transition: all 300ms ease-in;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
}