@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

.clientes-section {
  width: 100vw;
  background-color: white;
  margin: 0 auto;
  padding: 40px 15px;
  padding-bottom: 100px;
}

.clientes-section h1 {
  padding-top: 70px;
  padding-left: 10rem;
  font-family: "Roboto";
  font-weight: bold;
  font-size: 64px;
  margin-bottom: 60px;
}

.logos-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  padding: 0 10rem;
  margin: 0 auto;
}

.logo-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.logo-item {
  width: 100%;
  max-width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo {
  width: 150px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.8);
  transition: filter 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%) opacity(1);
}

#glencore {
  width: 200px;
  height: 200px;
}

#golden {
  width: 150px;
  height: 70px;
}

#teck {
  width: 100px;
}

/* Añadir estas reglas para centrar horizontalmente los logos específicos */
.logo-column:nth-child(2) .logo-item:last-child,
.logo-column:nth-child(3) .logo-item:last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

/* Ocultar la versión móvil por defecto */
.mobile-logos {
  display: none;
}

/* Si necesitas ajustar específicamente estos logos */

@media (max-width: 1200px) {
  .logos-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .logos-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .logos-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  /* Mostrar versión móvil y ocultar versión desktop */
  .mobile-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .desktop-logos {
    display: none;
  }

  /* Responsive */
  .clientes-section h1 {
    font-size: 36px;
    padding-left: 1rem;
  }

  .logos-container {
    padding: 0 1rem;
  }

  .logo-item {
    max-width: 100px;
  }

  .client-logo {
    width: 100px;
    height: 60px;
  }

  #minas {
    width: 110px;
    height: 110px;
  }

  #golden {
    width: 60px;
  }

  #teck {
    width: 60px;
  }

  #glencore {
    margin-left: 0;
    width: 150px;
    height: 110px;
  }

  #banco {
    margin-right: 0;
    width: 120px;
    height: 110px;
  }

  /* Ajustar el espaciado para la cuarta fila en la segunda columna */
  .mobile-logos .logo-column:nth-child(2) .logo-item:nth-child(4) {
    margin-top: -20px; /* Ajustar según sea necesario */
  }
}


