.container {
    position: relative;
    width: 50%;
    margin: auto;
  }
  body {
    background-color: antiquewhite;
  }
  img {
    width: 300px;
    margin-top: 40px;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    float: left;
  }
  h1 {
    text-align: center;
    font-size: 3rem;
    margin: -6px -8px;
  }
  div {
    display: inline;

  }
  .text p {
    font-size: larger;
    margin-top: 48px;
    margin-right: 24px;
    padding-left: 24px;
  }
  
  .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #008CBA;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
  }
  
  .container:hover .overlay {
    width: 100%;
  }
  
  h3 { 
    text-align: center;
  }

 
