* { box-sizing: border-box;}

.container {
	position: relative;
	max-width: 800px;
	margin: 0px auto;
	overflow: hidden;
}

.container img {vertical-align: middle;}

.container .content {
  position: absolute;
  bottom: -100%; 
  background: rgba(0, 0, 0, 0.2); 	
  color: #f1f1f1;
  width: 100%;
  height: auto;
  padding: 0px 10px;
  transition: bottom 0.7s; 
  max-height: 100%;
}

.p1 {
	display: none;
    font-family: Arial;
    font-size: 12px;
    color: #def;
}

.p3 {
	position: absolute;
	color: white;
	display: block;
	font-weight: bold;
	font-size:12px;
	color: white;
	width: 100%;
	height: auto; 
	padding: 10px 10px;
	bottom: 0px;
	background: rgba(0, 0, 0, 0.3);
}

.container:hover .p3 {
	display: none;
}

.container:hover .p1 {
    bottom: 0px;
    display: block;
    }

.container:hover .content{bottom: 0%;}	

a:hover {text-decoration: underline;}
 