
  
  .team-main{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Bebas Neue', Courier, monospace;
    text-decoration: none;
  }
  
  .team-content{
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 4 columns */
    grid-auto-rows: minmax(100px, auto); /* Smaller minimum row height */
    text-align: center;
    margin-top: 2rem;
    place-content: center;
    gap: 1rem;
    width: 25%;
  }
  
  .team-box img{
    width: 100%;
    height: auto;
    max-width: 100px; /* Limit maximum width */
    max-height: 100px; /* Limit maximum height */
    min-width: 54px;
    border-radius: 10px;
    margin-bottom: 10px; /* Reduced margin */
  }
  
  .move-center h1{
    color: #fff;
    font-size: 4rem;
    text-align: center;
  }
  
  #kofiwidget{
    transition: opacity 0.5s;
  }
  
  .team-box{
    border-radius: 10px;
    transition: all .38s ease;
    width: 100%;
  }
  
  .team-box h3{
    font-size: 14px;
    font-weight: 200;
    color: #000;
    margin-bottom: 8px;
    margin-top: 0;
  }
  
  .team-box h5{
    font-size: 14px;
    font-weight: 200;
    color: black;
    margin-bottom: 14px;
    margin-top: 0;
  }
  
  .team-icons i{
    display: inline-block;
    color: black;
    font-size:  20px;
    margin: 0 8px;
    transition: all .38s ease;
  }
  
  .team-icons i:hover{
    transform: scale(1.2);
  }
  

  

@media(max-width: 1050px) {
    .team-content {
        grid-template-columns: repeat(5, 1fr); /* 2 columns for screens up to 1024px */
        margin-top: 0;
        width: 75%;
    }

    
}
  