#membros{
    background-color: #1B1B1B;
    color: #c9c9c9;
}

.membros{
    transition: .5s;
    position: relative;
}

#membros h2{
    /* margin-top: -10px; */
    color: #fff;
    position: relative;
    z-index: 2;
    font-size: 50px;
    text-transform: uppercase;
    font-family: 'Poppins';
    padding-bottom: 10px;
    text-align: left;
}

#membros h2:after{
    position: absolute;
    margin-left: -10px;
    margin-top: 10px;
    z-index: -1;

    content: '\f500';
    font-family: fontAwesome;
    color: #C44351;
    font-size: 30px;
}

.slider{
    position: relative;
    background-color: none;
    overflow: hidden;
    /* overflow-y: hidden;
    overflow-x: scroll; */
    margin: 10px auto ;
    padding: 0 5px;
    display: flex;
    padding-top: 20px;
    scroll-behavior: smooth;
    transition: 1s;

}

.slider::-webkit-scrollbar{
    background: transparent;
    height: 8px;
    width: 5px;
    cursor: pointer;
    
}

.slider::-webkit-scrollbar-thumb{
    background-color: #A61B34;
    border-radius: 5px;
    cursor: pointer;
}  

.slides{
  width: max-content;
  background-color: none;
  display: flex;
  /* justify-content: center; */
  /*   */
    
}

  @keyframes roleta {
        from{
            margin-left: 0px;
        }
        to{
            margin-left: -1000px;
        }
  }

  .slide{
    position: relative;
    display: flex;
    width: 200px;
    border-radius: 10px;
    margin: 5px;
    transition: 0.6s;
    overflow: hidden;

  }


  .slide h1{
    position: absolute;
    z-index: 100;
    bottom: 0px;
    left: 20px;
    color: whitesmoke;
    transition-delay: 2s;
    padding-bottom: 5px;
  }


  .slide p{
    position: absolute;
    z-index: 103;
    top: 10px;
    right: 10px;
    color: whitesmoke;
    transition-delay: 2s;
  }

  .slide img{
      position: relative;
      z-index: 102;
      width: 100%;
      height: 100%;
      transition: .5s;
  }

  .slide img:hover{
    filter: brightness(50%);
    transform: scale(1.1);
    z-index: 99;
  }


  .btnLeft,.btnRight{
    position: absolute;
    display: flex;
    align-items: center;
    width: 40px;
    height: 100%;
    top: 45px;
    font-size: 40px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
  }

  .btnLeft{
    left: 20px;
  }
  .btnRight{
    right: 20px;
  }
 
@media screen and (max-width: 1150px) {
    .slide{
      width: 180px;  
    }
}   

@media screen and (max-width: 850px) {

   
  .btnLeft,.btnRight{
    width: 20px;
    height: 100%;
    top: 45px;
    font-size: 25px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    display: none;
  }

  .slide{
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0px;
  }

  .slides{
    width: 100%;
    background-color: none;
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
    justify-content: center;
    height: max-content;
    overflow: auto;
    /* background-color: aliceblue; */
  }

  .slider{
    width: 100%;
    background-color: none;
  
   
    /* background-color: #de3050; */
    height: max-content;
    overflow: auto;
  }


}
  
@media screen and (max-width: 500px) {
    
      
  #membros h2{
    font-size: 40px;
    padding-bottom: 0px;
  }

    
  #membros h2:after{
    margin-top: 5px;
    z-index: -1;
    font-size: 27px;
  }

  
  .slide{
    position: relative;
    display: flex;
    width: 180px;
    border-radius: 10px;
    margin: 0px;
  
  }


  .slides{
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(150px, 1fr));
   
    row-gap: 20px;
    justify-content: space-between;
   
  }
  
  .btnLeft,.btnRight{
    display: none;
  }
  
  .btnLeft{
    left: 10px;
  }
  .btnRight{
    right: 0px;
  }


}

@media screen and (max-width: 450px) {
  
  .slide h1{
    left: 0px;
    font-size: 16px;
    padding-bottom: 0px;
  }
 
  .slides{
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(150px, 2fr));
    /* gap: 0px; */
    row-gap: 20px;
   
  }

   .slide{
    width: 150px;
    border-radius: 5px;
    margin: 2px;
  }


}
    