@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Cuatro columnas en computadoras */
  gap: 60px;
  padding: 40px 50px;
  background-color: #004661;
  color: white;
  font-family: 'Inter', sans-serif;
}

.footer-logo img {
  max-width: 60%;
  display: block;
  margin: auto;
}

.footer-section {
  border-top: 2px solid white;
  padding: 10px 0;
}


.footer-section h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul a{
  text-decoration: none;
  color: inherit;
}

.footer-section ul li {
  margin-bottom: 8px;
  font-size: 13px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 80px;
}

.footer-social .social-link {
  color: white;
  font-size: 40px;
  text-decoration: none;
}

.footer-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  font-size: 22px;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #FFAF00;
  font-weight: bold;
  font-style: italic;
}

.join-button {
  text-decoration: none;
  color: #FFFFFF;
}


.copyright {
  background-color: #3b6374;
  color: white;
  text-align: center;
  padding: 8px 0;
  font-size: 15px;
}

/* Responsiveness */
@media (max-width: 768px) {
  .footer {
    grid-template-columns: 1fr;
    /* Una sola columna */
    text-align: left;
    gap: 10px;
  }

  .footer-section:nth-child(2) {
    order: 1;
    /* Semillero primero */
  }

  .footer-section:nth-child(3) {
    order: 2;
    /* Eventos después */
  }

  .footer-section:nth-child(4) {
    order: 3;
    /* Organización después */
  }

  .footer-button {
    order: 4;
    /* Botón después */
    margin: 40px auto 20px auto;
    font-size: 18px;
  }

  .footer-social {
    order: 5;
    /* Redes sociales después */
    justify-content: center;
    margin: 20px 0 0 0;
  }

  .footer-logo {
    order: 6;
    /* Logo al final */
  }
}