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



/*MENU*/
header {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  background-color: #b71c1c; 
  display: flex;
  justify-content: space-between; 
  align-items: center;            
  padding: 0.5rem 2rem; 
  height: 4rem;        
  box-sizing: border-box; 
  z-index: 1000;
  box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.2);
}

header .logo-catedra {
  height: 2.5rem;       
  max-height: 100%;   
  object-fit: contain;    
  margin-right: 2rem;
  flex-shrink: 0;         
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;    
  flex-wrap: wrap;       
}

header nav ul li a {
  text-decoration: none;
  color: #ffffff;       
  font-weight: bold;
  font-size: 1rem;       
  text-transform: uppercase;
  padding: 0.5rem 1rem;  
  border: 2px solid transparent; 
  border-radius: 0.5rem;
  transition: all 0.3s;
}

header nav ul li a:hover {
  border: 2px solid rgba(255, 255, 255, 0.8);
}

header nav ul li a:active {
  background-color: rgba(0,0,0,0.2);
  border-color: rgba(255, 255, 255, 0.8);
}



/*YO*/
.presentacion {
  width: 100%;
  padding: 6rem 2rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #ffebee;
  color: #b71c1c;
  gap: 1.5rem;
}

.presentacion .info {
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.5rem;
}

.presentacion .info .linea1,
.presentacion .info .linea2 {
  display: block;
}

.presentacion .foto-estudiante {
  width: 10rem;        
  height: auto;        
  border-radius: 50%;  
  border: 0.3rem solid #b71c1c;
  object-fit: cover;   
}

.presentacion .nombre {
  font-size: 1.5rem;
  font-weight: bold;
  color: #b71c1c;
}



/*DATOS ACADEMICOS*/
.foja-academica {
  width: 100%;
  padding: 6rem 2rem 3rem 2rem;
  background-color: #ffdde0; 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.foja-academica h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #b71c1c; 
}

.foja-academica .fila-cajas {
  display: flex;
  flex-wrap: wrap;     
  justify-content: center; 
  gap: 2rem;               
}

.foja-academica .caja {
  width: 18rem;            
  height: auto;         
  background-color: #ffcdd2; 
  border: 0.15rem solid #b71c1c;
  border-radius: 0.75rem;
  padding: 1rem;     
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
  justify-content: normal;  
}

.foja-academica .caja h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #b71c1c; 
  margin-bottom: 0.5rem;
}

.foja-academica .caja ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.foja-academica .caja ul li {
  font-size: 0.9rem;
  color: #880e4f; 
  line-height: 1.2rem;
  word-wrap: break-word;
}

.foja-academica .caja ul li em {
  font-weight: bold;
  font-size: 0.8rem;
}

.foja-academica .caja ul li a {
  text-decoration: none;
  color: #880e4f;
  transition: all 0.3s ease;
}

.foja-academica .caja ul li a:hover {
  text-decoration: underline;
  color: #b71c1c;
}

.foja-academica .caja ul li a:active {
  color: #4a0000;
}



/*CHICAS*/
.equipo {
  width: 100%;
  padding: 6rem 2rem 3rem 2rem;
  background-color: #ffe5e5; 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.equipo h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #b71c1c; 
}

.fila-miembros {
  display: flex;
  flex-wrap: wrap;      
  justify-content: center;
  gap: 2rem;         
}

.miembro {
  width: 14rem;          
  height: 14rem;           
  padding: 0.8rem;      
  background-color: #ffcdd2;
  border: 0.15rem solid #b71c1c;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 0.3rem 0.6rem rgba(0,0,0,0.50); 
  transition: all 0.3s ease;
  text-decoration: none;
  color: #b71c1c;
}

.miembro img {
  width: 7rem;    
  height: 7rem;
  object-fit: contain; 
  margin-bottom: 1rem;
}

.miembro .nombre {
  font-size: 1.2rem;
  font-weight: bold;
  color: #880e4f; 
  margin-bottom: 0.5rem;
  text-align: center;
}

.miembro .carrera {
  font-size: 0.9rem;
  font-weight: bold;
  color: #b71c1c;
  text-align: center;
}

.miembro:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 0.6rem 1rem rgba(0,0,0,0.15); /* sombra más sutil al hover */
}

.miembro:active {
  background-color: #e57373;
  transform: translateY(0);
  box-shadow: 0 0.3rem 0.6rem rgba(0,0,0,0.1);
}



/*INFO FACU*/
.datos-academicos {
  width: 100%;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background-color: #fff0f0;
}

.datos-academicos h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #b71c1c;
  margin-bottom: 2rem;
  text-align: center;
}

.fila-datos {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
}

.dato {
  flex: 1 1 0;
  min-width: 14rem;
  height: 18rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #b71c1c;
  box-shadow: 0 0.3rem 0.8rem rgba(0,0,0,0.05); 
}

.dato:nth-child(1), .dato:nth-child(3) {
  background-color: #ffcdd2;
}

.dato:nth-child(2) {
  background-color: #ff8a80; 
}

.dato h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.dato p {
  font-size: 0.9rem;
  margin: 0.2rem 0;
  line-height: 1.2rem;
  text-align: center;
}



/*PIE DE PAGINA*/
footer {
  width: 100%;
  padding: 2rem;
  background-color: #8b0000; 
  color: #ffffff;            
  font-size: 0.8rem;         
  font-style: italic;        
  text-align: center;    
}
