@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@10..48,200;10..48,300;10..48,400;10..48,500;10..48,600;10..48,700;10..48,800&display=swap');
.parallax-content{
    background-color: #f3f5f9;
    width: 100%;
    height: fit-content;
    position: relative;
  }
  
  .parallax-team {
  
    width: 100%;
    aspect-ratio: 16/6;
    object-position: 0% 70%;
    object-fit: cover;
    position: relative;
    z-index: -10;
  
    }
  
    .image-space{
      position: relative;
      z-index: 100;
      display: none;
      text-align: center;
      justify-content: center;
      align-items: center;
      height: 37vw;

    }
  
    @media screen and (max-width: 768px) {
      .image-space{
        height: calc(45vw);
      }
    }
      

.teamBody{
    display: flex;
    background-color: #f3f5f9;
    width: 100%;
    flex-wrap: row;
    position: relative;
    overflow-x: clip;
  }
  
  .stickhead{
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;    
    display: flex;
    flex:auto;
    transition: 2.5s;
  }
  
  .teamHead{
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background:  linear-gradient(45deg, rgba(81, 157, 142,0.8) , rgba(91, 197, 171,1), rgba(129, 209, 191,0.8));
    background-size: 400% 400%;
    background-position: 0% 0%;
    overflow: hidden;
    transition: 2.5s;
  
  
  }
    .teamBody.active .stickhead{
      width: 1100px;
  
    }
  
    .s1{
      background-position: 0% 0%;
    }
  
     .s2{
      background-position: 35% 35%;
    }
  
     .s3{
      background-position: 70% 70%;
    }
  
     .s4{
      background-position: 100% 100%;
    }
  
  
    .teamHead .teamTxt{
      justify-content: center;
      align-items: center;
      width: 1000px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      position: relative;
      top: -33%;
      padding-right: 0px;
      transition: top 1.5s ease, left 1.5s ease, width 0.1s ease, padding-right 0.1s ease;
      left: 0px;
  
    }
  
    .teamHead .wave{
      position: absolute;
      width: 100%;
      left: 500px;
      opacity: 1;
      transition: 2.2s;
    }
  
    .teamBody.active .teamHead .wave{
      opacity: 1;
      left: 0;
    }
  
    .teamHead .teamTxt .head{
      font-size: 5rem;
      font-weight: 500;
      justify-content: center;
      align-items: center;
      text-align: center;
      font-family: 'Bricolage Grotesque';
      line-height: 6rem;
      color: #F3F3FA;
     
    }
  
  
  
    .teamHead .teamTxt .teamList{
      display: flex;
      flex-direction: column;
      position: relative;
      transition: 0.7s;
      opacity: 0;
    }
   
    .teamBody.active .teamHead .teamTxt .teamList{
      opacity: 1;
      transition-delay: 1.2s;
    }
  
    .teamBody.active .teamHead .teamTxt{
      top:0%;
      left: -40px;
      width: 500px;
      padding-right: 20px;
    }
  
  
    .teamScroll{
      width: 0%;
      overflow: auto;
      -ms-overflow-style: none;
      scrollbar-width: none;
      padding-top: 20px;
      position: relative;
      transition: 2.5s;
      z-index: 1;
      background-color: #f3f5f9;
  
    }
  
    .teamScroll::-webkit-scrollbar {
      display: none;
    }
  
  
    .teamBody.active .teamScroll{
      width: 100%;
    }
  
  
    @media screen and (max-width: 768px) {
      /* Estilos para dispositivos móviles */
      /* Quiero quitar el flex y q todo se vea en la pantalla */
      .teamBody{
        position: relative;
      }
      .stickhead{
        width: 100% !important;
        position: relative;
        height: 5rem;
      }
  
      .wave{
        display: none;
      }
  
      .teamHead .teamTxt{
        justify-content: center;
        align-items: center;
        width: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
        top: 0%;
        padding-right: 0px;
        transition: top 1.5s ease, left 1.5s ease, width 0.1s ease, padding-right 0.1s ease;
        left: 0px;
    
      }
  
      .teamBody.active .teamHead .teamTxt{
        top:0%;
        left: auto;
        width: auto;
        padding-right: 0px;
      }
      .teamBody .teamHead .teamTxt .teamList{
        display: none;
      }
  
      .teamHead .teamTxt .head{
        font-size: 2rem;
        font-weight: 500;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-family: 'Bricolage Grotesque';
        line-height: 2.5rem;
        color: #F3F3FA;
       
      }
  
      
    .teamBody .teamScroll{
      width: 100%;
    }  
    }

.scrollIndexContain{
  opacity: 0;
  transition: 1s;
}

.teamBody.active .teamScroll .scrollIndexContain{
  opacity: 1;
  transition-delay: 2.3s;
}