
.newcontainer{
	position: relative;
	display: flex;
	flex-wrap: wrap;
}
.newcontainer .card{
	position: relative;
}
.newcontainer .card .face
{
	width: 300px;
	height: 200px;
	transition: .4s;
}
.newcontainer .card .face.face1
{
	position: relative;
	background-color: #333;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	z-index: 1;
     transform: translateY(100px);
}
.newcontainer .card:hover .face.face1
{
  transform: translateY(0);
  box-shadow: 
       inset 0 0 60px whitesmoke,
       inset 20px 0 80px #f0f,
       inset -20px 0 80px #f0f,
       inset 20px 0 300px #f0f,
       inset -20px 0 300px #0ff,
        0 0 50px #fff,
        -10px 0 80px #f0f,
        10px 0 80px #0ff;

}
.newcontainer .card .face.face1 .content
{
	opacity: .2;
	transition: 0.5s;
	text-align: center;
}
.newcontainer .card:hover .face.fa1.content
{
	opacity: 1;
}
.newcontainer .card .face.face1 .content i
{
	font-size: 3em;
	color: white;
	display: inline-block;
}
.newcontainer .card .face.face1 .content h3{
	font-size: 1em;
	color: white;
	text-align: center;
}
.newcontainer .card .face.fa1 .content a{
	transition: .5s;
}
.newcontainer .card .face.face2{
	position: relative;
	background-color: whitesmoke;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	box-shadow:  0 20px 50px rgba(0,0,0,.8);
	transform: translateY(-100px);
}
.newcontainer .card:hover .face.face2
{
	transform: translateY(0);
}
.newcontainer .card .face.face2 .content p,a{
	font-size: 10pt;
	margin: 0;
	padding: 0;
	color: #333;
}
.newcontainer .card .face.face2 .content a{
	text-decoration: none;
	color: black;
	box-sizing: border-box;
	outline: 1px dashed #333;
	padding: 10px;
	margin: 15px 0 0;
	display: inline-block;
}
.newcontainer .card .face.face2 .content a:hover{
	background-color: pink;
	color: black;
	box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);
}