* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #000000;
  background-color: #fafafa;
}

/* Header */
header {
  background: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 100px 30px;
}

header img {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 5px; /* Base padding to avoid size change on hover */
  margin: 5px;  /* Base margin to avoid movement on hover */
  transition: color 0.3s ease, background-color 0.3s ease;
}

nav a:hover,
nav a:focus,
nav a:active {
  color: #000;
  background-color: #fff;
}

/* Main */
main {
  max-width: 1400px;
  margin: 100px auto;
}

main h1 {
  font-family: 'Milonga', serif;
  font-size: 72px;
  margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 1rem;
  color: #ffffff;
  text-align: center;
  background-color: #000000;
}

main h2 {
  font-family: 'Milonga', serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #555;
  text-align: center;
}

h3 {
  font-family: 'Milonga', serif;
  font-weight: 400;
  text-align: center;
}

main p {
  margin-left: 15%;
  margin-right: 15%;
  margin-top: 1.5rem;
  text-align: center;
}

/* Equipo */
#equipo {
  margin-top: 3rem;
}

#equipo h2 {
  text-align: center;
  margin-bottom: 1rem;
}

#integrantes {
  margin:2em;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

#integrantes ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

#integrantes li {
  text-align: center;
  flex: 1;
  max-width: 200px;
}

#integrantes img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  margin-bottom: 0.5rem;
  border: 3px solid #000000;
  border-radius: 10px;
}

#integrantes h4 {
  text-decoration: none;
  margin-top: 0.3rem;
  color: #000000;
  font-family: 'Milonga', serif;
  font-weight: 400;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding: 1rem;
  text-align: center;
  background: #222;
  color: #fff;
  font-size: 0.9rem;
}


@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  #integrantes {
    flex-direction: column;
    align-items: center;
  }
}
@font-face {
  font-family: 'Milonga';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Milonga.ttf') format('truetype');
}