@charset "utf-8";
*{
    margin:0;
    padding: 0;
    border:0;
    font-family: verdana;
}
body {
    background-color: #e2e2e2;   
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
}
html {
    height: -webkit-fill-available;
}
img {
    max-width: 100%;
}
.contenedora {
    margin: 0 auto;
    max-width: 50rem;
}
header .contenedora {  
    display: flex;   
    justify-content: center;   
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column
}
header{
    background-color: #8AB4AD;
    padding: 1em;
}
#logos div{width: 40%;
    max-width: 18em;
display: inline-block
}
#logos {
    display: flex;
    align-items: center;
    justify-content: space-around
}
nav{
    display: flex;
    flex-direction: column;
    align-items: center
}
nav ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none
}
#linksGenerales li{
    margin: 0.3em;
    width: 20em;
    display: flex;
    flex-flow: column wrap;
    justify-content: center
}
#linksGenerales a{
    background-color:  #283B38;
    border-radius: 1em;
    padding: 0.5em;
    display: flex;
    justify-content: center
}
#linksGenerales a:hover{
    background-color:  #192623;
}
#linksAlumnes {
    display: flex;
    flex-flow: row wrap;
    width: 22em;
    justify-content: space-between

}
#linksAlumnes img{
    max-width: 2.5em;
    padding: 1em;
    border-radius: 2em;
}
a{
    color:  #F8F8F8;
}
main{
    margin: 1em;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center
}
h1{
    margin: 1em;
    color: #283B38;
    font-size: 1.5em;
}
h3{
    margin: 0em 0em 0.5em;
    text-align: center;
    color: #95A573
}
#infopersonal {
    display: flex;
    flex-direction: column;
    align-items: center        
}
#infopersonal img{
    border-radius: 2em
}
#materias ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none
}
#materias{
     border: solid #52726d .2em;
     border-radius: 1em;
    width: 15em;
    padding: 1em 0;
    margin: 1em 0;
}
#materias ul li{
    color: #283B38
}
.bocetos li a{
    background-color:  #52726d;
    border-radius: 2em;
    padding: 1em;
    display: flex;
    justify-content: center;
    margin: 1em
}
.bocetos li{
    list-style: none
}
.bocetos li a:hover{
    background-color: #3a534f;
}
footer{
    background-color: #8AB4AD;
    display: flex;
    justify-content: center
}
#legales{
    padding: 1em 2em;
    max-width: 50rem
}
#legales p{
    color:  #283B38;
    font-size: 0.8em
}
/*pagina diseño ui individual*/
.bocetos{
    display: flex;
    flex-flow: column wrap;
    align-items: center
}
article{
    display: flex;
    flex-flow: column wrap;
    align-items: center
}
article h3{
    margin:1em 0 0.5em
}
article h4{
    margin:1em 0 0.5em;
    text-align: center;
    color: #283B38
}
article p{
    text-align: center;
    padding: 0 2em 0.5em;
    color: #192623
}
#primerboceto{
    display: flex;
    flex-flow: row wrap;
    justify-content: center
}
#segundoboceto{
    display: flex;
    flex-flow: row wrap;
    justify-content: center
}
#ultimoboceto{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
#ultimoboceto figure{
    margin: 0.5em
}
#mockup figure{
    margin: 0 2em
}
#tps{
    display: flex;
    flex-flow: column wrap;
    align-items: center
}
#tps figure{
    max-width: 30em
}
@media (min-width:962px){
    header .contenedora {  
    display: flex;
    flex-flow: row wrap;
    justify-content:space-between;
    align-items: flex-start
}
    nav{
        display: flex;
        align-items: flex-end
    }
    nav ul{
    display: flex;
    flex-direction: row;
    list-style: none   
}
    #linksGenerales li{
    margin: 0 em;
    width: 6em;
    display: flex;
    flex-flow:column wrap;
    justify-content: center
}
    #linksAlumnes {
    display: flex;
    flex-flow: row wrap;
    width: 18em;
    justify-content: space-between

}
    #linksAlumnes img{
    border-radius: 1em;
    padding: 0;
        margin: 1em 0 0 0;
}
    #logos div{width: 40%;
    max-width: 16em;
}
    #logos {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column-reverse
}
    #materias{
    margin: 1em ;
}
    #materiascuadrado{
        display: flex;  
    }
    #imagenestps{
    display: flex;
    flex-flow: row wrap
}
    #tps figure{
    max-width: 20em;
        margin: 1em
}
}
