#team {}
@media (min-width: 900px)	 { #team:not(:last-child) { margin-bottom: 150px; } }
@media (max-width: 899.99px) { #team:not(:last-child) { margin-bottom: 100px; } }

/*-------------------------------------------------------------------------------------------------------*/

#team > .content-wrapper {
	background-color: #FFF;
	border: solid .5px var(--off-color);
	box-shadow: 0px 4px 4px rgba(0,0,0,.25);
}
#team > .content-wrapper > .content {
	max-width: 950px;
	margin: 0 auto;
	
	font-weight: 300;
}
@media (min-width: 900px) {
	#team > .content-wrapper {
		padding: 140px 50px;
		border-radius: 30px;
	}
	#team > .content-wrapper > .content { font-size: 20px; }
}
@media (max-width: 899.99px) {
	#team > .content-wrapper {
		padding: 45px 25px;
		border-radius: 10px;
	}
	#team > .content-wrapper > .content { font-size: 18px; }
}

/*-------------------------------------------------------------------------------------------------------*/

#team > .content-wrapper > .content > .title {
	line-height: normal;
	font-weight: 700;
}
#team > .content-wrapper > .content > .title > span { color: var(--off-color); }
#team > .content-wrapper > .content > .subtitle { font-weight: 200; }

@media (min-width: 900px) {
	#team > .content-wrapper > .content > .title { font-size: 50px; }
	#team > .content-wrapper > .content > .subtitle {
		margin-bottom: 80px;
		font-size: 25px;
	}
}
@media (max-width: 899.99px) {
	#team > .content-wrapper > .content > .title { font-size: 30px; }
	#team > .content-wrapper > .content > .subtitle {
		margin-bottom: 40px;
		font-size: 20px;
	}
}

/*-------------------------------------------------------------------------------------------------------*/

#team > .content-wrapper > .content > .members {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	column-gap: 40px;
	row-gap: 35px;
}

@media (min-width: 1300px) {
	#team > .content-wrapper > .content > .members > :nth-child(3) { margin-right: calc(((100% - (40px * 3)) / 4) + 40px); }
	#team > .content-wrapper > .content > .members > :nth-child(3n + 1):not(:first-child) { margin-left: calc(((100% - (40px * 3)) / 4) + 40px); }
}
@media (min-width: 1300px)							 { #team > .content-wrapper > .content > .members > * { flex: 0 0 calc((100% - (40px * 3)) / 4); } }
@media (max-width: 1299.99px) and (min-width: 900px) { #team > .content-wrapper > .content > .members > * { flex: 0 0 calc((100% - (40px * 2)) / 3); } }
@media (max-width:  899.99px) and (min-width: 450px) { #team > .content-wrapper > .content > .members > * { flex: 0 0 calc((100% - (40px * 1)) / 2); } }
@media (max-width:  449.99px)						 { #team > .content-wrapper > .content > .members > * { flex: 0 0 calc((100% - (40px * 0)) / 1); } }

/*-------------------------------------------------------------------------------------------------------*/

#team > .content-wrapper > .content > .members > .member > .avatar { margin-bottom: 25px; }
#team > .content-wrapper > .content > .members > .member > .info > .name { margin-bottom: 15px; }

/*-------------------------------------------------------------------------------------------------------*/

#team > .content-wrapper > .content > .members > .join {
	position: relative;
	overflow: hidden;
}
#team > .content-wrapper > .content > .members > .join > .background {
	position: relative;
	padding-top: 100%;
	
	background-image: url("../../images/join.jpg");
	background-size: cover;
	background-position: center;
}
#team > .content-wrapper > .content > .members > .join > .background:after {
	content: '';
	position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2;
	
	background-color: var(--off-color);
	
	opacity: .9;
}
#team > .content-wrapper > .content > .members > .join > .content {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 25px;
	
	text-align: center;
	color: #FFF;
}
#team > .content-wrapper > .content > .members > .join > .content > .title {
	margin-bottom: 20px;
	
	font-size: 20px;
	font-weight: 700;
}
#team > .content-wrapper > .content > .members > .join > .content > a {
	font-size: 18px;
	font-weight: 600;
}
@media (min-width: 900px)	 { #team > .content-wrapper > .content > .members > .join { border-radius: 15px; } }
@media (max-width: 899.99px) { #team > .content-wrapper > .content > .members > .join { border-radius: 7.5px; } }