@charset "utf-8";
*{
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;    
}
ol, ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: whitesmoke;
    font-family: 'Eczar', serif;
    font-weight: bold;
    font-size: 1,4em;
}

body {
    display:flex;
    flex-direction: column;
    font-family: serif;
    margin: 0; 
    min-height: 100vh;
    justify-content: space-between;
    
}

img{
    max-width: 100%;
} 

header{
    display: flex;
    background-color: rgb(248,59,57);
    padding: 1em;
    justify-content: center;
    align-items: center;
}

.contenedor {
   display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    gap: 1em;
 }

header ul {
    display: flex;
    flex-wrap: wrap;
     gap: .5em;
    margin-bottom: 0%;
}

#logo {
    width: 40%;
    max-width: 8em;
}

#logo img{
    background-color: white;
}

.menu{
    max-width: 60%;
    display: block;
    flex-direction: column;
    justify-content: space-around; 
}

header ul li{
    display: flex;
    margin: .1em;
}
header ul li a {
    display: flex;
    background-color: rgb(12,58,45);
    padding: .2em;
    color: rgb(188,188,188);
    border-radius: 5px;
    box-sizing: 90px;  
    
}
header ul li a:hover {
    background-color: rgb(188,188,188);
    color: rgb(6,57,57);
    border-radius: 100px;
    
}

/* MAIN */

article {
margin: 0em;
padding: 1em;
}

.alumno {
    display: flex;
    justify-content: center;
    text-align: right;
    color: white;
    padding: 3em;
    border-radius: 5em;
    flex-wrap: wrap;
    gap: 1em;
}

#h1mario{
    color: white;
    font-size: 2em;
    text-align: right;
}
#datosalumno{
        align-content: center;
    align-items: center;
}

.alumno img{
   width: 380px;
    border-radius: 8em 8em 8em 0;
    align-items: center;  
    border: 2em solid rgb(248,59,57);
    border-width: 0 1em 1em 0;  
}

#textoacerca{
    width: 12em;
    
}

.menu2 {
    display: flex;
    padding: 1em;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-around; 
    list-style: none;
    max-width: 90%;

}

.menu2 li {
    background-color: rgb(248,59,57);
    padding: .2em;
    color: rgb(188,188,188);
    border-radius: 5px;
    box-sizing: 90px; 
    margin: .5em;
}

h1 {
    color: rgb(14,62,23);
    margin: 0 0 .5em 0;
    font-family: 'Eczar', serif;
}

h2 {
    color: rgb(15,15,72);
    margin: 1em 0 0 0;
    font-family: 'Eczar', serif;
    
}
article section {
    display: block;
    margin: 0 0 0 0;
}


.carrera{
    flex-direction: row;
    border-radius: 9em 0em 9em 0em;
    background-color: white;
    margin: 0 1em 0 1em;
}

.infomaterias{
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
}

.infomaterias ul{
    margin-top: 1em;
}
/*INTEGRANTES*/

.equipo {
    background-color: rgb(248,59,57);
    gap: 1em;
    margin-top: 2em;
    padding: 1em;
    border-radius: 8em 0 8em 0;
}

#compas{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#compas ul img{
    border-radius: 8em;
    border: 2em solid rgb(14,62,23);
    border-width: 0 1em 1em 0;  
}

.equipo li:not(:last-child){
    margin: 0 0 1em 0;
    padding-bottom: 1em;
}

.equipo li a{
    display: block;
    margin: 0 0 0 0;
    padding: 1em;
    text-align: right;
}

.equipo li p{
    color: white;
    margin: 0 0 0 0.4em 0;
    text-align: left;
}

main {
    flex-grow: 1;
    background-color:rgb(12,58,45);
    align-items: center;
    text-align: center;  
}

.comitente{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-image: url("imagenes/agua.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 1em;
    margin: 1em;
    border-radius: 8em 0 8em 0;
    max-width: 90%;
  } 
.acumar{
    justify-content:center;
    text-align: center;
}
#h2w{
    color: white;
}

#datocom{
    color: whitesmoke;
    padding: 1em;
    text-align: justify;
}

#datosacademicos{
    background-color:whitesmoke;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    padding: 1em;
}

.academicos ul li{
margin: 1em 1em 3em 0em;
padding: 0 0 0 1em
    
}

footer {
    display: flex;
    padding: 1em;
    background-color: black;
    color: rgb(150,150,150);
}


 /*RESPONSIVE-DESKTOP*/
  
@media screen and (min-width: 992px) {
    
/*----------NAV -----------------*/
    
.contenedor{
 width: 90%;
    }
    
    
.menu ul{
    display: flex;
    flex-direction: row;
    }
    
article {
margin: 0em;
padding: 3em;
} 
.carrera{
    display: flex;
    justify-content: space-around; 
    margin: 0 3em 0 3em;
    }
  
#compas{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    }    
    
#datocom{
    border-left: solid white;
    
    width: 60%;
    text-align: justify;
}
    
.comitente{
    display: flex;
    flex-direction: row;  
    }
      
    
#datosacademicos ul{
    background-color:whitesmoke;
    display: flex;
    flex-direction: none;
    justify-content:space-between;
    padding: 1em;
    align-items: flex-end
    }
    
.infomaterias{
    display: flex;
    flex-direction: row;
    align-items:flex-start;
    justify-content: space-around;
    }
    
    .materias{
        padding: 1em;
    }
    
}