/*********************************
*                                *
*             TEAM               *
*                                *
**********************************/

.team {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 20px;
}

.team-block {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-around;
	gap: 20px;
	width: 100%;
}

.team-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
	padding: 0 5px;
	min-width: 200px;
}

.team-img {
	position: relative;
	display: block;
}


.team-img picture,
.team-item img {
	height: 300px;
	width: auto;
	display: block;
	line-height: 0;
	border-radius: 10px;
}

.team-shadow {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: center;
	gap: 8px;
	padding: 0 10px 20px;
	position: absolute;
	bottom: 0;
	height: 50%;
	width: 100%;
	z-index: 1;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: 0 0 10px 10px;
}

.team-shadow img {
	width: 100%;
	max-width: 30px;
	height: auto;
}

.team-img:hover .team-shadow {
	opacity: 1;
}

.team-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: 'Manrope';
    font-weight: 400;
    font-style: normal;
    font-size: 26px;
    color: #444;
	cursor: default;
	width: 100%;
	padding-top: 10px; 
}

.team-text span {
	text-align: center;
	font-family: 'Manrope';
	font-size: 18px;
	color: #999;
}


@media (max-width: 640px) {

	.team {
		padding: 25px 0;
		gap: 0;
		border-radius: 0;
	}
	
	
}