:root {
  --fondo: #FFEDF6;
  --azul: #0E00CF;
  --negro: #14141C;
  --blanco: #ffffff;
  --rem-base: 16px; /* 1rem = 16px */
}

html {
  font-size: 16px; /* base para los rem */
}

body {
  margin: 0;
  background-color: var(--fondo);
  color: var(--negro);
  font-family: "Fira Sans Condensed", sans-serif;
  line-height: 1.5;
}

/* NAVBAR */
.topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--azul);
  padding: 1rem;
  text-align: center;
}

.topbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.topbar a {
  text-decoration: none;
  color: var(--azul);
  font-weight: 600;
}

.topbar a:hover {
  text-decoration: underline;
  text-decoration-color: var(--azul);
}


/* Sección perfil */
.perfil {
  text-align: center;
  padding: 2rem 1rem;
  border: 0.1rem solid var(--azul);
  margin: 2rem auto;
  max-width: 28rem;
  border-radius: 2rem;
}

.perfil h1 {
  font-size: 2.5rem;
  color: var(--azul);
}

.perfil .subtitulo {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--azul);
}

.profile-img {
  width: 15.75rem; /* 252px */
  height: 15.75rem;
  object-fit: cover;
  border-radius: 50%;
  margin-top: 1rem;
}

/* Contenedores */
.contenedores {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem;
}

.box {
  background: rgba(255,255,255,0.3);
  padding: 2rem;
  border-radius: 1rem;
  flex: 1 1 20rem;
  max-width: 25rem;
}

.box h2 {
  color: var(--azul);
  font-size: 1.5rem;
}

/* Botones de integrantes */
.equipo {
  list-style: none;   /* 👈 quita los puntitos */
  padding: 0;         /* 👈 elimina sangría extra */
  margin: 1rem;          /* 👈 le di un margen extra para 
que no quede marginado a la izq. */
}

.equipo li {
  margin: 1rem 0;
}

.equipo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16rem; /* 256px */
  height: 3.25rem; /* 52px */
  background: var(--blanco);
  color: var(--negro);
  font-weight: 600;
  border-radius: 0.75rem;
  border: 0.1rem solid transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.equipo a:hover {
  border: 0.1rem solid var(--azul);
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: var(--negro);
  margin-top: auto;
}

footer p {
  margin: 0.5rem 0;
}

footer p:first-child {
  color: var(--azul);
  font-weight: 600;
}