  .outercontainer {
    position: relative;
  }

  .overlay {
    position: absolute;
    bottom: 5px; 
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5); /* Black see-through */
    color: #f1f1f1; 
    width: 100%;
    transition: .5s ease;
    opacity:0;
    color: white;
    font-size: 15px;
    padding: 20px;
    text-align: center;
  }

  .outercontainer:hover .overlay {
    opacity: 1;
  }

  .outercontainer i {
    float: right;
  }

@media screen and (min-width: 0px) and (max-width: 600px) { /* show it on small screens */
  .outercontainer .overlay {
    opacity: 1;
  }
}