*{
    margin: 0;
    padding: 0;
    box-sizing:border-box
}
	

body {
	overflow-x: hidden;
	font-family: "Montserrat";
	line-height: 1.5;
}
img {
	width: 100%;
	height:auto;
}

p {
	color: #fff;
}

.middle {
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
}

.wrapper {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 30px;
	padding: 50px;
}

.membre {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	border-radius:8px;
	position: relative;
	overflow: hidden;
	transition: all 0.5s ease-in;
}

.membre .info {
	background-color: rgba(0, 0, 0, 0.5);
	padding: 20px 10px;
	position: absolute;
	bottom:0;
	width: 100%;
	transition: all 0.5s ease-in;
}
.membre.img {
	width: 100%;
	height:auto;
}
.membre .name {
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 10px;
}

.membre .job {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
}

.membre .text {
	margin: 15px 10px 15px 0px;
	font-size: 14px;
}

.membre .overly {
	height: 0;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 0;
	position: absolute;
	width: 100%;
	display: block;
	transition: all 0.5s ease-in;
}

.membre .top {
	top: -100%;
	left: 0;
}

.membre .bottom {
	bottom: -100%;
	left: 0;
	height: 100%;
}

.membre .left {
	top: 0;
	right: 100%;
	height: 100%;
}

.membre .social-icones {
	display: inline-flex;
	position: relative;
}

.membre .social-icones .icon {
	width: 40px;
	height: 40px;
       line-height: 40px;
      display:block !important;
	background-color: #ffff
	text-align: center;
	margin-right: 5px;
	color: #fff;
}

.membre .to-top {
	bottom: 0;
	transition: all 0.5s ease-in;
}

.membre:hover .overly {
	height: 100%;
	padding: 20px 10px;
}

.membre:hover .info {
	position: absolute;
	bottom: -80px;
	padding: 0;
	transition: all 0.5s ease-in;
}

.membre:hover .top {
	top: 0;
	bottom: 0px;
}

.membre:hover .bottom {
	bottom: 0;
}

.membre:hover .left {
	right: 0;
}

.membre:hover .to-top {
	bottom: 100% !important;
	transition: all 0.5s ease-in;
}

@media screen and (max-width: 868px) {
	.wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 600px) {
	.wrapper {
		grid-template-columns: 1fr;
	}
}