<style>
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
</style>

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

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    margin: 20px;
}

h1, h2, h3{
    color: #ffffff;
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;   
    font-weight: 700;
}

body {
    background-color: #8B1A1E;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header.menu {
    background-color: #ffffff;
    width: 100%;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

header.menu > a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #666666;
    padding: 6px 12px;
    background-color: #ffffff;
    text-decoration: none;
    border-radius: 0; 
}

header.menu img {
    height: 24px; 
    display: block;
}

header.menu nav ul {
    list-style: none; 
    display: flex;
    gap: 10px;
}

header.menu nav ul li a {
    text-decoration: none;
    font-size: 12px;
    color: #8B1A1E; 
    background-color: #ffffff;
    padding: 6px 16px;
    border: 1px solid #8B1A1E;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

header.menu nav ul li a:hover {
    background-color: #8B1A1E;
    color: #ffffff;
}

.contenedor-secciones {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px; 
    padding: 40px 20px;
    margin: 0 auto;
}

main.contenedor-secciones h1 {
    font-size: 32px;
    color: #ffffff; 
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 0.5px;
    font-weight: 600;
    width: 100%;
}

.fotopersonal img {
    width: 100%;
    height: auto; 
    display: block; 
    border-radius: 8px;
}

.bio {
    text-align: left; 
    margin-bottom: 2rem;
}

.bio p {
   font-family: 'Jost', sans-serif;
    font-weight: 400; 
    line-height: 1.6; 
    margin-bottom: 1.2rem; 
    color: #ffffff;
}

.contenedor-tarjetas {
    display: flex;
    flex-direction: row;       
    justify-content: center;  
    align-items: stretch;    
    gap: 30px;                
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

.cursada, .asignaturas {
    background-color: #fff9f2; 
    border: 2px solid ##ffcad0; 
    border-radius: 18px;       
    padding: 35px 25px;        
    flex: 1;                  
    max-width: 550px;         
    text-align: left;
}

.cursada h3, .asignaturas h3 {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #8B1A1E;     
    border-radius: 50px;           
    padding: 8px 20px;            
    display: inline-block;       
    margin-top: 0;
    margin-bottom: 2rem;
}

.cursada ul, .asignaturas ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.cursada ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 14px 20px;
}

.asignaturas ul {
    display: flex;
    flex-direction: column;
    gap: 14px;                           
}

.cursada li, .asignaturas li {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    color: #8B1A1E;     
    line-height: 1.4;
}



.cardproyectos {
    border: 2px solid #ffcad0;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 16px;
    background: #fff9f2;
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;       
    text-align: center;
    margin: 0 auto 2rem auto;
}

.cardproyectos h2,
.cardproyectos h3 {
    color: #8B1A1E;
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;   
    font-weight: 700;
}

video {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto;
}

.cardproyectos: :has(img) {
    border-color:#ffcad0;
    background: #fff9f2;
}

.imagenproyec {
    width: 100%;
    max-width: 600px;         
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
    margin: 0 auto 1rem auto;     
    border-radius: 8px;
}

.album {
    background-color: #fff9f2; 
    border: 2px solid #ffcad0; 
    border-radius: 18px;       
    padding: 35px 25px;        
    max-width: 900px;          
    margin: 4rem auto;         
    text-shadow: none;   
    width: 90%;      
}

.album h3 {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #6b0c23;        
    text-align: center;   
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.galeria-de-fotos {
    display: flex;
    flex-direction: row;      
    gap: 15px;                
    width: 100%;
    overflow-x: auto;        
    scrollbar-width: none;     
    padding-bottom: 5px;
}

.galeria-de-fotos::-webkit-scrollbar {
    display: none;
}

.galeria-de-fotos img {
    height: 250px;
    width: 190px;            
    object-fit: cover;
    border-radius: 100px;     
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
        border: 2px solid #ffcad0; 

}

.galeria-de-fotos img:hover {
    transform: scale(1.05) translateY(-6px);
}

.caja-rosita {
    background-color: #fff9f2; 
    border: 2px solid #ffcad0; 
    border-radius: 24px;      
    padding: 40px;             
    max-width: 1050px;         
    margin: 4rem auto;  
    width: 90%;       
}

.centrar-texto {
    text-align: center;
}

.titulo-rojo {
    color: #6b0c23;            
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 3.5rem;       
}

.grilla-dos-columnas {
    display: flex;
    flex-direction: row;       
    justify-content: center;  
    align-items: flex-start;
    gap: 50px;               
    flex-wrap: nowrap;        
    width: 100%;           
}

.separacion-blanco {
    flex: 1;
    min-width: 250px;   
    max-width: 380px;  
    display: flex;
    flex-direction: column;
    align-items: center;        
}

.separacion-blanco h3 {
    color: #8B1A1E;     
    text-align: center;   
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 1rem 0 0.4rem 0;
    width: 100%;
}

.separacion-blanco .genero {
    color: #6b0c23;       
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    margin: 0 0 1.8rem 0;
}

.foto-redonda {
    width: 160px;       
    height: 160px;      
    border-radius: 50%;    
    border: 3px solid #ffcad0;
    object-fit: cover;         
    display: block;
}

.iframe-contenedor {
    width: 100%;
    max-height: 152px;
    border-radius: 12px;
    overflow: hidden;         
}

@media (max-width: 768px) {
.grilla-dos-columnas {
    grid-template-columns: 1fr; 
    gap: 40px;
    }
}

.boceto {
    background-color: #fff9f2; 
    border: 2px solid #ffcad0; 
    border-radius: 24px;       
    padding: 40px;             
    max-width: 1100px;          
    margin: 4rem auto;         
    text-align: center;         
}

.boceto h2.titulo-rojo {
    color: #6b0c23;         
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 2.5rem; 
}

.boceto img {
    width: 100%;               
    max-width: 700px;          
    height: auto;              
    display: block;           
    margin: 0 auto;            
    border-radius: 12px;     
}


.grilla-tres-columnas {
    display: flex;
    flex-direction: row;       
    justify-content: center;  
    align-items: flex-start;
    gap: 30px;                
    width: 100%;
    flex-wrap: wrap;         
}

.boton-rosa {
    display: inline-block;
    background-color: #f2cbd2; 
    color: #6b0c23;           
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;    
    padding: 8px 24px;       
    border-radius: 8px;       
    margin-top: 1rem;       
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.boton-rosa:hover {
    background-color: #ffffff; 
    transform: scale(1.03);    
}

.datos-academicos {
    max-width: 1200px;        
    margin: 4rem auto;        
    padding: 0 20px;
    text-align: center;
}

.datos-academicos h2 {
    color: #8B1A1E;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 3rem;      
}

.contenedor-tarjetas-datos {
    display: flex;
    flex-direction: row;        
    justify-content: center;   
    align-items: stretch;      
    gap: 30px;                
    width: 100%;
    flex-wrap: wrap;           
}

.dato-academico {
    flex: 1;
    min-width: 280px;          
    max-width: 380px;          
    background-color: #fff9f2; 
    border: 2px solid #ffcad0;  
    border-radius: 20px;        
    padding: 30px 20px;      
    display: flex;
    flex-direction: column;    
    align-items: center;     
}

.dato-academico img {
    height: 70px;              
    width: auto;
    max-width: 100%;
    object-fit: contain;       
    margin-bottom: 1.5rem;    
}

.dato-academico h3 {
    color: #8B1A1E;             
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    text-align: center;         
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    width: 100%;
}

.dato-academico ul {
    list-style-type: none;      
    padding: 0;
    margin: 0;
    text-align: left;         
    width: 100%;
}

.dato-academico li {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: #6b0c23;        
    margin-bottom: 0.6rem;     
    line-height: 1.5;
}



.footer {
    background-color: #ffcad0;    
    border-top-right-radius: 14px; 
    border-top-left-radius: 14px;  
    padding: 25px 20px 35px 20px;  
    text-align: center;            
    width: 100%;              
    box-sizing: border-box;       
    margin-top: 4rem;          
}

/* 2. EL TEXTO ADENTRO DEL FOOTER (Blanco y estilizado) */
.footer p {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;        
    line-height: 1.6;             
    color: #6b0c23;            
    max-width: 1000px;            
    margin: 0 auto;             
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

