:root {
  --gradient-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  background-color: #ffffff;
}

.container-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.teamPicture {
  max-width: 100%;
  height: auto;
  width: 600px;
  margin-top: 14px;
  margin-left: 14px;
  margin-bottom: 14px;
  margin-right: 14px;
  border-radius: 5px;
}
.page-title {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-weight: bold;
  color: #09829b;
  background-color: white;
  width: 80.69%;
  border-radius: 25px;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.teamContainer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1.6rem;
  font-weight: bold;
  color: #09829b;
  background-color: white;
  width: 80.69%;
  border-radius: 25px;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.member-name {
  font-size: 1.2rem; 
}

.member-title {
  font-size: 1rem; 
}

.grid-container-coordonatoare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
  max-width: 50%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  justify-items: center;
}

.grid-container-lead {
  display: grid;
  margin: 0 auto;
  padding: 0 10rem;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
}

.grid-container-membri {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 10rem;
  gap: 2rem;
  text-align: center;
  justify-items: center;
  width: 100%;
}

.grid-item {
  width: 18rem;
}

.container{
  display: flex;
  flex-direction: row;
}

/* ANIMATIE HOVER */
.member-card {
  --c: rgba(9, 130, 155, 1);
  color: var(--c);
  font-size: 16px;
  border: 0.3em solid var(--c);
  border-radius: 0.5em;
  width: 18em;
  height: auto;
  text-transform: uppercase;
  font-weight: bold;
  font-family: sans-serif;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 3em;
  position: relative;
  overflow: hidden;
  z-index: 2;
  transition: 0.5s;
  margin: 1em;
}
.member-card span {
  position: absolute;
  width: 22%;
  height: 81%;
  background-color: var(--c);
  transform: translateY(140%);
  border-radius: 50%;
  left: calc((var(--n) - 1) * 25%);
  transition: 0.5s;
  transition-delay: calc((var(--n) - 1) * 0.1s);
  z-index: -1;
}

.member-card:hover {
  color: white;
}

.member-card:hover span {
  transform: translateY(0) scale(2);
}

.member-card span:nth-child(1) {
  --n: 1;
}

.member-card span:nth-child(2) {
  --n: 2;
}

.member-card span:nth-child(3) {
  --n: 3;
}

.member-card span:nth-child(4) {
  --n: 4;
}

/* sfarsit animatie hover */

/* SIDEBAR */
.sidebar {
  position: fixed;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: transparent;
  border: none;
  outline: none;
  z-index: 10;
  width: 200px;
  height: 100%;
  top: 13%;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: #55cae25d;
  color: #00B1B2;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.sidebar-item:hover,
.sidebar-item:focus {
    background-color: #04849D;
    transform: scale(1.1);
}
/* END OF SIDEBAR */

.member-card.btn {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: black;
}


/* RESPOINSIVE */

@media only screen and (max-width: 768px) {
  .page-title {
    width: 90%;
  }

  .section-title {
    width: 90%;
  }

  .section-title {
    font-size: 2rem;
  }

  .grid-container-coordonatoare {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* SIDEBAR pe tlf */
  .sidebar {
    width: 100vw;
    top: auto;
    left: 0;
    height: 10%;
    bottom: 0;
    flex-direction: row;
    justify-content: space-evenly;
    position: fixed;
    z-index: 4;
    background-color: rgba(255, 255, 255, 0.7); 
    border-top: 2px solid transparent; 
    align-items: center;
   
  }
  
  .sidebar-item {
    width: 15%;
    height: 3rem;
    font-size: 0.9rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: solid  rgba(4, 150, 157, 1) 0%,; 
    background-color:  rgba(4, 150, 157, 1) 0%,; 
  }
  /* END OF SIDEBAR */

  .border-image {
    border-radius: 6px;
  }

  .container-img {
    width: 300px;
    height: auto;
  }

  .grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
}

@media screen and (min-width: 769px) and (max-width: 1000px) {
  .page-title {
    width: 90%;
  }

  .section-title {
    width: 90%;
  }

  .border-image {
    pointer-events: none;
  }

  .member-card {
    width: 15rem;
    pointer-events: none;
  }
  .member-card.btn {
    width: 50px;
    height: 10px;
  }

  .member-card:before {
    display: none;
  }

  .member-card:hover {
    display: none;
  }
  
  .grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .border-image {
    height: initial;
    width: initial;
  }
}

.border-image {
  background-image: url(../../assets/echipa/echipa.jpg);
  display: flex;
  justify-content: center;
  border-radius: 5px;
  transition: 1s ease;
}

.border-image:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  transition: 1s ease;
}

.sectiune {
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 10/1;
  img {
    height: 100%;
    width: 100%;
  }
  /* SIDEBAR */
  .sidebar {
    width: 7rem;
    height: 1rem;
    top: auto;
    bottom: 0;
    flex-direction: row;
    justify-content: space-evenly;
    background-color: white;
  }

  .sidebar-item {
      width: 6rem;
      height: 6rem;
      font-size: 1.2rem;
  }
  /* END OF SIDEBAR */
}


@media screen and (min-width: 1001px)  {
  .sidebar{
    margin:1rem auto;
  }
}