.perfil {
    display: flex;
    align-items: center;
    flex-direction: row; 
    padding-right: 20px;
    justify-content: center;
        margin: 0 auto;
         max-width: 800px;
         margin-bottom: 100px;
         margin-top: 80px;
        
}

body {
    background-color: #f5ebeb;
}

img {
    width: 300px;      
    margin: 10px 10px 10px 10px;     
}



h1 {
    font-size: 3.5rem;
    color: #334b35;
       line-height: 1.1;  
          margin: 30px 0 0 0;
}

.serif {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
}

.sans {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}

.info {
    margin-left: 100px;
    margin-top: 0px;
}

.title-icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 10px;
    display: inline-block;
}

.card {
    background: #fbb6c0;
    border-radius: 20px;
    padding: 0;     
    max-width: 300px;      
    margin: 0px 0;        
    height: 1.8rem;
    display: inline-flex;
    margin-bottom: 0px;
}

.titulocard {
    display: flex;
    align-items: center;
    gap: 0px;
    margin: 0;
    margin-right: 10px;
    padding: 0;
    color: #334b35;
}

.card-materias {
    background: #fff6f9;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 18px 24px;
    width: 220px;
    margin: 24px auto;
    color: #a85c32;
}

.card-materias h4 {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: #d68a94;
    font-weight: bold;
}

.card-materias p {
    font-size: 1rem;
    margin: 0;
    color: #334b35;
    line-height: 1.6;
}

.card-materias2 {
    background: #fff6f9;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 18px 24px;
    width: 220px;
    margin: 24px auto;
    color: #a85c32;

}

.card-materias2 h4 {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: #d68a94;
    font-weight: bold;
}

.card-materias2 p {
    font-size: 1rem;
    margin: 0;
    color: #334b35;
    line-height: 1.6;
}

.cards-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.card-materias,
.card-materias2 {
  margin: 0 6px;  
}


.card-integrantes {
    background: #fbb6c0;
    border-radius: 20px;
    padding: 1rem; 
    max-width: 450px;      
    display: flex;          
    align-items: center;    
    justify-content: space-around; 
    color: #fff;      
    margin-top: 80px;
    margin-bottom: 40px;
}
.card-integrantes a {
    color: #18682a;
    font-weight: bold;
    margin-right: 1.5rem; 
}



header {
  text-align: center; 
  margin-top: 30px;  
  margin-bottom: 50px;
}

.menu {
  background: white;
  border-radius: 15px;
  padding: 10px 20px;
  display: inline-flex; 
  list-style: none;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 10px;
}

.menu a:hover {
  background: #f0f0f0;
}


.grupo h1 {
    text-align: center;
    color: #334b35;
    margin-bottom: 40px;
    margin-top: 80px;
}

.integrantes-fila {
    display: flex;             
    justify-content: center;  
    gap: 30px;                 
    flex-wrap: wrap;   
    margin-top: 30px;   
    margin-bottom: 80px;    
}

.integrantes-fila figure {
    text-align: center;      
    margin: 0;                 
}

.integrantes-fila img {
    width: 200px;
    height: 200px;
    border-radius: 10px;     
    display: block;
    margin-bottom: 10px;
}

.integrantes-fila figcaption {
    font-weight: bold;
    color: #334b35;
}


.Datos{
    background: #fff6f9;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 18px 24px;
    width: 45%;
    margin: 24px auto;
    text-align: center;

}

.Datos h2 {
    color: #d68a94; 
    text-align: center; 
}