.team { 
    background: linear-gradient(to top right, #7700001e, #7700001e, #0001334f);
    scroll-margin-top: 360px;
}

@media (min-width: 768px) {
  .team {
    scroll-margin-top: 420px;
  }
}

@media (min-width: 1919px) {
  .team {
    scroll-margin-top: 510px;
  }
}

.team::after{
    content:"";
    display:block;
    justify-self:center;
    width:100%;
    height: 1px;
    background:linear-gradient(
        90deg,
        transparent,
       #00c882,
        transparent
    );
}

.container-team {
  padding: 0rem;
  padding-left: 1rem;
  padding-right: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.subtitle-team {
  font-size: 2rem;
  font-weight: 300;
  color: #cecece;
  line-height: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .subtitle-team {
    font-size: 2.5rem;
  }
}

@media (min-width:1919px) {
  .subtitle-team {
    font-size: 3rem;
  }
}

.description-team {
  font-size: 1rem;
  color: #8d8d8d;
  line-height: 1.65;
  text-align: center;
}

@media (min-width:768px) {
  .description-team {
    font-size: 1.5rem;
    width: 40%;
  }
}

@media (min-width:1919px) {
  .description-team {
    font-size: 2rem;
    width: 40%;
  }
}

.team-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.team-card {
  border: 1px solid #00c88461;
  border-radius: 3px;
  text-align: center;
  width: fit-content;
  padding: 1rem;
}

.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #000000;
  border: 1px solid rgb(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  font-weight: 400;
  color: #00c882;
  filter: grayscale(100%);
}

@media (min-width:1919px){
  .team-avatar {
    width: 5rem; 
    height: 5rem;
    font-size: 2rem;
  }
}

.team-avatar-gillermo {
  width: 72px; 
  height: 72px;
  border-radius: 50%;
  background: #000000;
  border: 1px solid rgb(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  font-weight: 400;
  overflow: contain;
  color: #00c882;
  filter: grayscale(100%);
  object-fit: cover;
}

@media (min-width:1919px){
  .team-avatar-gillermo {
    width: 5rem; 
    height: 5rem;
    font-size: 2rem;
  }
}

.team-name { 
  font-size: 18px; 
  font-weight: 600; 
  color: #fff;
  margin-bottom: 4px; 
}

@media (min-width:1919px){
  .team-name { 
    font-size: 2.5rem; 
  }
}

.team-role { 
  font-size: 12px; 
  font-weight: 600; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  color: #00c882; 
  margin-top: 1rem;
  margin-bottom: 1rem; 
}

@media (min-width:1919px){
  .team-role { 
    font-size: 1.5rem; 
  }
}

.team-bio { 
  font-size: 14px; 
  color: #cecece; 
  line-height: 1.65; 
  width: 80%;
  justify-self: center;
}

@media (min-width:768px){
  .team-bio {
    width: 40%;
  }
}

@media (min-width:1919px){
  .team-bio { 
    font-size: 1.5rem; 
  }
}

.team-links { 
  display: flex; 
  justify-content: center; 
  gap: 12px; 
  margin-top: 20px; 
}

.team-links a {
  font-size: 12px;
  color: #cecece;
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid #cecece;
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s;
}

@media (min-width:1919px){
  .team-links a {
    font-size: 1.5rem;
  }
}

.team-links a:hover {
  color: #00c882; 
  border-color: #00c882; 
}
