
.team {
	width: 1220px;
	height: auto;
	margin: 0 auto;
	display: flex;
	flex-flow: row wrap;
}

.team-card {
	width: 33%;
	height: auto;
	margin: 1% auto;
	padding: 2%  2%;
	overflow: hidden;
	position: relative;
}
.team-card  .team-card-text{
	content:'';
	width: 87.5%;
	height:17%;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 78%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 1%;
	background-color: #00804d;
	font-size: 32px;
}
.team-card:hover  .team-card-text{
	content:'';
	width: 87.5%;
	height:50%;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 1%;
	background-color: #00804d;
	font-size: 32px;
}
.team-card  img{
	width: 100%;
	height: auto;
	margin: 0 auto;


}
.team-card-text{
	width: 100%;
	height: auto;
	margin: 0 auto;
	color: white;
}
.team-card-text h2{
	font-size: 26px;
	text-align: center;
	font-weight: bold;
	margin-top: 4%;
}
.team-card-text hr{
	width: 20%;
	height: 4px;
	background-color: white;
}
.team-card-text p{
	font-size: 18px;
	text-align: center;
}
@media screen and (max-width: 1220px) {
	.team {
		width: 95%;
		height: auto;
		margin: 0 auto;
		display: flex;
		flex-flow: row wrap;
	}
	
.team-card {
	width: 33%;
	height: auto;
	margin: 1% auto;
	padding: 2%  2%;
	overflow: hidden;
	position: relative;
}
.team-card-text h2{
	font-size: 24px;
	text-align: center;
	font-weight: bold;
	margin-top: 4%;
}
.team-card-text hr{
	width: 20%;
	height: 4px;
	background-color: white;
}
.team-card-text p{
	font-size: 14px;
	text-align: center;
}

}
@media screen and (max-width: 768px) {
	.team {
		width: 95%;
		height: auto;
		margin: 0 auto;
		display: flex;
		flex-flow: row wrap;
	}
	
.team-card {
	width: 48%;
	height: auto;
	margin: 1% auto;
	padding: 2%  2%;
	overflow: hidden;
	position: relative;
}
.team-card  .team-card-text{
	content:'';
	width: 92%;
	height:20%;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 78%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 1%;
	background-color: #00804d;
	font-size: 32px;
}
.team-card:hover  .team-card-text{
	content:'';
	width: 92%;
	height:50%;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 1%;
	background-color: #00804d;
	font-size: 32px;
}
.team-card-text h2{
	font-size: 26px;
	text-align: center;
	font-weight: bold;
	margin-top: 4%;
}
.team-card-text hr{
	width: 20%;
	height: 4px;
	background-color: white;
}
.team-card-text p{
	font-size: 20px;
	text-align: center;
}

}
@media screen and (max-width: 586px) {
	.team {
		width: 95%;
		height: auto;
		margin: 0 auto;
		display: flex;
		flex-flow: row wrap;
	}
	
.team-card {
	width: 95%;
	height: auto;
	margin: 1% auto;
	padding: 2%  2%;
	overflow: hidden;
	position: relative;
}
.team-card  .team-card-text{
	content:'';
	width: 95.5%;
	height:20%;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 78%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 1%;
	background-color: #00804d;
	font-size: 32px;
}
.team-card:hover  .team-card-text{
	content:'';
	width: 95.5%;
	height:50%;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 1%;
	background-color: #00804d;
	font-size: 32px;
}
.team-card-text h2{
	font-size: 36px;
	text-align: center;
	font-weight: bold;
	margin-top: 6%;
}
.team-card-text hr{
	width: 20%;
	height: 4px;
	background-color: white;
}
.team-card-text p{
	font-size: 24px;
	text-align: center;
}

}
@media screen and (max-width: 400px) {
	.team-card-text h2{
		font-size: 30px;
		text-align: center;
		font-weight: bold;
		margin-top: 6%;
	}
	.team-card-text hr{
		width: 20%;
		height: 4px;
		background-color: white;
	}
	.team-card-text p{
		font-size: 20px;
		text-align: center;
	}
}
@media screen and (max-width: 400px) {
	.team-card-text h2{
		font-size: 24px;
		text-align: center;
		font-weight: bold;
		margin-top: 6%;
	}
	.team-card-text hr{
		width: 20%;
		height: 4px;
		background-color: white;
	}
	.team-card-text p{
		font-size: 16px;
		text-align: center;
	}
}