@charset "utf-8"
<link href="https://fonts.googleapis.com/css?family=Titillium+Web:300,400,700&display=swap" rel="stylesheet">

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    outline: none;
    list-style: none;
    text-decoration: none;
 
}




body{
background: rgb(42,44,44);
background: linear-gradient(180deg, rgba(42,44,44,1) 0%, rgba(42,44,44,0.7) 100%);
    
    font-family: 'Titillium web', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    margin: 0px 0px;
    text-align: center;
}

.material-icons {
    color: white ;
}


/*header*/


header {

    background-color: #CC0033;
    text-align: left;
    width: 100%;
    height: 3em;
    color: white;
    display: flex;
    position: fixed;
    top: 0;
    z-index: 9999;
    

}



header nav ul li a {
    color: aliceblue;
    text-decoration: none;

}

header nav ul {
    list-style: none;

}

#menu:hover {
    background-color: #ccffff;
    color: #CC0033;
    padding: .7em 2em .7em 2em;
    border-radius: 20px;

}


.contenedor {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-left: 1.5em;
}


[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    display: none;
}

#menudesplegable:not(:checked) + #hamburguesa,
#menudesplegable:checked + #hamburguesa + #menuabierto {
    display: flex;
}

#menudesplegable:checked + #hamburguesa,
#menudesplegable:not(:checked) + #hamburguesa + #menuabierto {
    display: none;
}



.menu {
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    flex-direction: column;
    padding-top: 2em;
    padding-bottom: 2em;
    height: 25vh;
    width: 100%;
    position: fixed;
    right: 100%;
    top: 0;

    transition: all .5s ease;
}



#menudesplegable:checked + #hamburguesa + #menuabierto + .menu {
    left: 0;
    background-color: rgba(204, 0, 51, .70);
    width: 100%;
    margin-top: 3em;
    padding-top: .7em;
    box-shadow: 0 .5em .5em silver;
    transition: all .25s ease;



}


#menu {
    padding: 1em 1em 0 2em;
    width: 100%;

}

/*fondoimagen*/

  .fondo {
    width: 100%;
    height: 30vh;
    background: url(../imagenes/fondo.png) bottom center;
    background-size: cover;
}

            
/*main*//*perfil*/ 


.imgperfil {
    border-radius:50%;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .35);
    max-width: 100%;
    margin-top: auto;
    position: relative;
    top: -7em;
}


h1 {
    font-weight: 700;
    font-size: 2em;
    text-align: center;
    color: white; 
    background-position: center center;
    display: flex;
    justify-content: center;
    margin-bottom: 2px;
    position: relative;
    top: -4em;
}

 
.info {
    margin: 2em auto; 
    text-align: left;
    max-width: 30em;
}


.links {
    display: flex;
    justify-content: center;
    align-content: space-around;
    position: relative;
    top: -7em;
}


.links img {
    width: 2em;
    margin: 0em 0.4em 0 0.4em;
}



/*main*//*materias*/

main > section {
    background-color: white;
    border: solid 2px #e6ffff ;
    border-radius: 1rem;
    box-shadow: 0 2px 2px 2px rgba(254, 214, 227, 0.125);
    margin-top: 1em;
    margin-bottom: 1em;
    text-align: right;
    list-style: none;
    padding-bottom: 15px;
    height: auto;
    position: relative;
    top: -7em;
    width: 18em;

 }


.info article {
    margin-bottom: 25px;
    }


 .info h2 {
    border-bottom: solid .1em #E0EAEA;
    margin: 10px;
    background-color: #ccffff;
    background-size:cover;
    background-position: center center;
    color:#CC0033;
    height: 30px;
    padding: 6px 6px 3px 20px; 
    display: flex;
    justify-content: flex-start;
    font-size: 1em;
    border-radius: 10px;
    font-weight: 700;
}


.info h3{
    height: 30px;
    margin: 8px 10px 0px 8px;
    padding-top: 10px; 
    padding-left: 20px;
    display: flex;
    justify-content: flex-start;
    font-size: 1em;
    color: #424949 ;
    text-align: left;
    font-weight: 700;
}

.info h4{
    height: auto;
    display: flex;
    justify-content: flex-start;
    color: #666666 ;
    text-align: left;
    padding-left: 20px;
    font-size: 0.9em;
    margin: 8px 10px 0px 8px;
    font-weight: 300;  
}

/*main*//*integrantes*/


.info ul {    
    display: flex;
    align-items: flex-start;
    margin-top: 10px;    
    align-items: left;
    flex-direction: column;
    list-style: none;  
    }


.info ul li { 
    font-size: 1em;
    margin: 18px 0px 0px 0px;     
      }


.info ul li a {    
    display: flex;
    justify-content: flex-start;
    color: #2A2C2C;
    text-decoration: none;
    display: inline-block;   
  }


.info ul li a:hover {
    padding: 0px 6px 0px 6px;
    border-radius: 5px;
    background-color: #CC0033;
    color: #ccffff;
 
}


/*main*//*académico*/

.academico {
    margin-top:10px; 
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}


 .academico h2 {   
    border-bottom: solid .1em #E0EAEA;
    margin: 10px;
    background-color: #ccffff;
    background-size:cover;
    background-position: center center;
    color:#CC0033;
    height: 30px;
    padding: 6px 6px 3px 20px; 
    display: flex;
    justify-content: flex-start;
    font-size: 1em;
    border-radius: 10px;
    font-weight: 700;
}


.logoacademico {
    max-height: 3.9em;
    padding-bottom: 0.8em;
}


.academico ul {
    display: flex;
    flex-direction: column;
    align-items: left; 
     
}


.academico li {
    margin: 0.3em 0em 0.1em 0em;
    text-align: left;
    padding-bottom: 0.8em;
    list-style: none;
    justify-content: center;
}


.academico ul p {
    font-size: 0.9em;
    padding-right: 15px;
    color: #424949;
}
.info > div > img {
    text-align: center;
    margin: 10px auto;
    display: flex;
    border: solid 1px black;
    max-width: 100%;
}

/*subir */
.subir {
    background-color: #CC0033;
    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 1em;
    padding: 10px 15px 10px 15px;
    border-radius: 12px;
}



.subir:hover {
    text-decoration: underline;
    color:cyan;
}


/*-------footer-----*/


footer {
    background-color: #e6ffff;
    color: #2A2C2C;
     justify-content: center;
    display: flex;
    margin-top: 2em; 
}

footer p {
    margin: 0 auto 0 auto;
    width: 60em;
    max-width: 100%;
    padding: 2em;
    
    text-align: left;
    font-size: .8em;

}





@media (min-width: 59em) {



    #menudesplegable,
    #menudesplegable:checked + #hamburguesa,
    #menudesplegable:not(:checked) + #hamburguesa,
    #menudesplegable:checked + #hamburguesa + #menuabierto,
    #menudesplegable:not(checked) + #hamburguesa + #menuabierto {
        display: none;
    }

    .contenedor {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-content: space-between;


    }

    .menu {
        left: 0;
        right: 0;
        top: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-content: center;
         align-items: center;
        width: 30em;
        height: 3em;
        margin: 0 5% 0 auto;
        padding: 0;
        transition: none;

    }

    #menudesplegable:checked + #hamburguesa + #menuabierto + .menu {
        left: 0;
        right: 0;
        top: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-content: center;
        align-items: center;
        width: 30em;
        height: 3em;
        margin: 0 5% 0 auto;
        padding: 0;
        transition: none;
        box-shadow: none;
    }



