/* container echipa */
.echipa {
  width: 100%;
  /* padding: 40px 0; */
}

/* controller (butoane) */
.team-buttons {
  user-select: none;
  display: flex;
  gap: 30px;
  margin: 1rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

/* butoane */
.team-button {
  /* padding: 10px 16px; */
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s;
  transition: all 0.2s ease;
}

.team-button p {
  margin: 0;
  font-weight: bold;
}

.team-button img{
  height: 8rem;
  margin: 25px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

/* hover */
.team-button:hover {
  transform: scale(1.1); 
  img{
    box-shadow: 0 0 20px hsl(var(--glow-hue) 80% 60%);
  }
}

/* buton activ (din JS) */
.team-button-active {
  transform: scale(1.1); 
  img{
    box-shadow: 0 0 20px hsl(var(--glow-hue) 80% 60%);
  }
}

/* slide (divizie) */
.slides-echipa {
  margin-top: 20px;
}

/* titlu divizie */
.team-title {
  margin: 20px 0;
  font-size: 24px;
  color: #fff;
  text-shadow:0 0 5px black;
}

/* container membri */
.team-container {
  padding: 0 5px 0 5px;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
  justify-content: center;
  gap: 1rem;
  
}

/* card membru */
.team-container-item {
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

/* nume */
.team-name {
  font-weight: bold;
  margin-bottom: 6px;
  color: #000000;
}

/* rol */
.team-role {
  font-size: 14px;
  color: #666;
}

/* Responsivness */
@media screen and (max-width:500px)
{
  .team-button img{
height: 5rem;
margin: 0.2rem 0.5rem 0.2rem 0.5rem;
  }
}