/* TEAM
/////////////////////////////////////////////////////// */

.team {
	width: 100%;
	height: auto;
    margin-top: var(--margin);
    padding: 0 3vw;
    position: relative;
    z-index: 9; }

/* ABOUT
/////////////////////////////////////////////////////// */

.team__about { 
	width: 100%;
    height: auto;
    display: grid;
    justify-content: center;
	position: relative;
    z-index: 2; }

.team__about--last { 
	margin-top: var(--margin); }

.team__about p {
    max-width: 70vw;
    font-family: "Inter", sans-serif;
    font-weight: 600; 
    font-size: 3vw;
    line-height: 1em; 
    letter-spacing: -0.025em;
    text-align: center;
    color: var(--orange); }

.team__about--last span {
    font-family: "Style Script", cursive;
    font-weight: 400;
    color: var(--green);
    text-decoration: none; }

/* TITLE
/////////////////////////////////////////////////////// */

.team__title {
    width: 100%;
    margin-top: var(--margin);
    margin-bottom: 4vw;
	position: relative; }

.team__title h2 {
    font-family: "Inter", sans-serif;
    font-weight: 800; 
    font-size: 4vw;   
    line-height: 0.9em; 
    letter-spacing: -0.0125em;
    text-align: center;
    color: var(--orange);
    text-decoration: underline; }

/* TEAM CONTENT
/////////////////////////////////////////////////////// */

.team__content {
	width: 100%;
	height: auto;
	display: grid;
    margin-top: 4vw;
	column-gap: var(--gap);
    grid-template-columns: repeat(8, 1fr);
    position: relative; }

.team__item {
 	width: 100%;
    grid-column: span 2;
	position: relative;
    cursor: pointer; }

.team__item p {
 	width: 100%;
    bottom: 1em;
    font-family: "Inter", sans-serif;
    font-weight: 700; 
    font-size: 1vw;   
    line-height: 1.025em; 
    letter-spacing: -0.0125em;
    text-align: center;
     color: var(--white);
	position: absolute; }

.team__item p span {
    font-family: "Inter", sans-serif;
    font-weight: 500; 
    dsiplay: blocK; }

.team__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
    border-radius: var(--border-radius); }

.imgzoom {
	visibility: hidden; }

.image-A {
    opacity: 1;
    -webkit-transition: all 0.75s;
            transition: all 0.75s; }

.image-B {
    opacity: 0;
    height: 100%;
    top: 0;
    position: absolute;
    -webkit-transition: all 0.75s;
            transition: all 0.75s;  }

.team__item:hover .image-B  {
	 opacity: 1; }

.team__item:hover .image-A {
	 opacity: 0; }

/* TEAM THREE
/////////////////////////////////////////////////////// */

.team_three .team__item:nth-last-child(3):nth-child(1) {
	grid-column-end: 4; }
	
.team_three .team__item:nth-last-child(2):nth-child(2) {
	grid-column-end: 6; }

.team_three .team__item:nth-last-child(1):nth-child(3) {
	grid-column-end: 8; }

/* STYLE
/////////////////////////////////////////////////////// */