@charset "utf-8";

/*header*/
header {
    background-color: transparent;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 1rem;
}

.logomateria {
    display: flex;
    align-items: center;
}

header nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.logo {
    height: 50px;
    margin-right: 20px;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

header nav a {
    text-decoration: none;
    color: #2D2D2D; 
    font-weight: bolder;
    transition: color 0.3s, transform 0.3s;
}

nav a:hover {
    color: #ccdf27; 
    transform: scale(1.1);
}

/*body*/
body {
    background-color: #F3F3F3;
    color: #2D2D2D;
    font-family: 'Poppins', sans-serif;
}

/*seccion presentación*/

#presentacion {
    display: flex;              
    align-items: center;        
    justify-content: center; 
    gap: 20px;                  
    padding: 20px;
    flex-wrap: wrap;
}

.presentacion-texto {
    flex: 1;
    padding-left: 56px;
    padding-right: 56px;
    
}

h1 .linea {
    display: block;
}

h1 .exclam {
    color: #371983;
}
.presentacion-texto h1 {
    font-family: 'Oi', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
    margin-bottom: 10px;
}

.presentacion-texto p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;        
    margin-top: 10px;
    
}

.presentacion-foto {
    flex: 1;                    
    display: flex;
    justify-content: center;    
}

.presentacion-foto img {
    max-width: 70%;            
    height: 70%;
    border-radius: 10px;        
}

/*seccion portfolio*/

#portfolio {
    background-color: #371983;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#portfolio h2 {
    font-family: 'Oi', serif;
    font-weight: 400;
    font-style: normal;
    color: #ccdf27;
    text-align: center;
    margin-bottom: 30px;
}

#portfolio p {
    color: #F3F3F3;
}

#portfolio .trabajo {
    text-align: center;
    flex: 1;
    max-width: 30%;
}

#portfolio .trabajo img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

#portfolio .trabajo-contenedor {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/*seccion materias*/

#materias {
    background-color: transparent;
    padding: 40px;
}

#materias h2 {
    font-family: 'Oi', serif;
    font-weight: 400;
    font-style: normal;
    color:#2D2D2D;
    text-align: center;
    margin-bottom: 30px;
}

.nivel-contenedor {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: nowrap; 
    overflow-x: auto;  
}

.nivel {
    background-color: #ccdf27;
    border-radius: 10px;
    color: #2D2D2D;
    padding: 20px;
}

.nivel h3 {
    margin-top: 0;
    font-family: 'Poppins' sans-serif;
}

.nivel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nivel ul li {
    padding-left: 25px;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.nivel ul li::before {
    content: "✔"; 
    position: absolute;
    left: 0;
    color: #371983;
    font-weight: bold;
}

.nivel:nth-of-type(5) ul li::before {
    content: "○"; 
    color: #371983;
}

/*seccion fotos*/ 

#sobrefio {
    background-color: #371983;
    padding: 40px;
    border-radius: 10px;
}

#sobrefio h2 {
    font-family: 'Oi', serif;
    font-weight: 400;
    font-style: normal;
    color:#ccdf27;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.foto-contenedor {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-template-rows: repeat(2, 1fr);    
    gap: 15px;                             
    justify-items: center;                 
    align-items: center;
}

.foto img {
    width: 100%;
    aspect-ratio: 1 / 1;        
    object-fit: cover;     
    border-radius: 10px;
    display: block;
}

/*seccion prototipos*/

#prototipos {
    text-align: center;         
    padding: 20px 20px;
    background-color: #ccdf27;
    border-radius: 10px;
}

#prototipos h2 {
    font-family: 'Oi', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    margin-bottom: 30px;
}

#prototipos {
    overflow-x: auto;           
    white-space: nowrap;

}

#prototipos .pantalla {
    display: inline-block;      
    margin: 8px 4px;             
}

#prototipos .pantalla img {
    width: 300px;               
    height: auto;
    border-radius: 20px;        
    display: block;
}

/*seccion informacion académica*/

#informacion {
    padding: 20px;
    background-color: transparent;
}

#informacion h2 {
    font-family: 'Oi', serif;
    font-weight: 400;
    font-style: normal;
    color:#371983;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

#informacion .academico {
    display: flex;
    gap: 20px; 
    flex-wrap: wrap;
}

#informacion .info {
    display: flex;
    flex: 1; 
    min-width: 200px; 
    text-align: center; 
    flex-direction: column; 
    align-items: center;
    justify-content: flex-start; 
    text-align: center;
}

#informacion .info-academica p{
    text-align: justify;
}

.info-academica p span {
    display: block;
    margin-bottom: 5px;
}

.info-academica p span:first-child {
    font-weight: bold;
}

#informacion .logo {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center; 
    align-items: center;
}

#informacion .info:nth-child(2) .logo img {
    width: 200px;  
    height: 130px;
}

#informacion .logo img {
    width: 100px;  
    height: 100px;
    object-fit: contain; 
    margin-bottom: 10px;
}

/*seccion integrantes*/ 

.integrantes {
    background-color: #371983; 
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

.integrantes h2 {
    font-family: 'Oi', serif;
    font-weight: 400;
    font-style: normal;
    color:#ccdf27;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.miembros-contenedor {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
    margin-bottom: 20px; 
}

.miembros {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
}

.miembros a img {
    width: 150px; 
    height: 150px;
    object-fit: cover; 
    border-radius: 10px; 
    display: block;
    transition: transform 0.3s;
}

.miembros a img:hover {
    transform: scale(1.05); 
}

.miembros p {
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.integrantes p {
    font-family: 'Poppins', sans-serif;
    color: #F3F3F3; 
    text-align: center;
    margin-top: 20px;
}

.integrantes p span {
    display: block;
    margin-bottom: 5px;
}

/*footer*/
footer {
    text-align: center;           
    font-family: 'Poppins', sans-serif; 
    font-size: 0.9rem;            
    color: #371983;               
    padding: 20px;                
    background-color: transparent;    
}

footer p {
    margin: 0;                    
    line-height: 1.5;             
}

footer p span {
    display: block;               
    margin-bottom: 5px;           
}

footer p span:first-child {
    font-weight: bold;            
}