@charset "utf.8";

html {
    background-color: white;
    font-family: sans-serif
}

body {
    display:flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin:2em;
    font-family: sans-serif;
    color: #ffffff;
}

header {
    background-color:#015a4c;
    margin:0;
    display:flex;
    justify-content: center;
    }


header a {
    margin:0;
    padding:0;
    text-decoration: none;
    display: flex;
    justify-content: center;
}

header a div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#logo {
    width: 200px;
}

header a div h1 {
    color:#fff;
    font-size:30px;
    margin:0px;
    line-height:50px;
}

header a div h2 {
    color:#cfffeb;
    font-size:20px;
    margin: 0 auto;
    align-content: center;
}

h1 {
    font-weight:600;
    font-size:24px;
}

h2 {
    font-weight:600;
    font-size:24px;
}

footer {
    margin:1em;
    background-color:#363636;
    padding:1em;
    color:white;
    font-size:12px;
    font-weight:500;
}

nav {
    margin:0;
    padding:0;
    background-color: #007c69;
    font-size: 11pt;
}

nav ul {
    display:flex;
    flex-direction:row;
    justify-content: space-around;
    margin: 0;
    padding:0.1em;
    color: white;
    font-weight: 600;
    list-style: inherit;
}

nav ul li {
    width: 20%;
    padding:0;
    text-decoration:none;
    color: white;
    padding:auto;
}

nav ul li a {
    text-align: center;
    display:block;
    width: 100%;
    height: 2em;
    line-height: 2em;
    text-decoration:none;
    color: white;
}

nav ul li a:hover {
    text-decoration:none;
    background-color: rgba(135, 206, 235, 0.64);
}

h1 {
    color: #fff;
    font-size: 28pt;
    font-family: sans-serif;
    font-weight: 700;
    line-height: 60%;
}

h2 {
    font-size: 18pt;
    color: #ffffff;
}

#ficha {
    display:flex;
    justify-content: center;
    margin:1em 1;
    background-color: #03b99d;
    
}

#ficha h1 {
    color: white;
    font-size: 20pt;
    line-height:20%;
}

#ficha div {
    margin:0;
    padding:1em;
    align-content: center;
    max-width: 60%;
}

body section {
    display:flex;
    justify-content: space-between;
    padding:0;
    margin:0;
    margin-bottom:0em;
}

body section div {
    padding:0em;
    margin: 1em;
    background-color: #7ff7db;
    width: 30%
}


.materias {
    color:#000000;
}

.materias h1 {
    color: #015a4c;
    font-size: 16pt;
    text-align: center;
}

.materias ul li {
    line-height:150%;
    font-weight:200;
    font-size: 10pt;
}

.perfil {
    color:#000000;
}
.perfil ul li {
    line-height:150%;
    font-weight:200;
    font-size: 10pt;
    list-style: none;
}
#perfil figure {
    margin:0;
    padding:0;
    width: 13em;
}

#perfil img {
    width:25%;


@media screen and (max-width:800px) {
    
    header a {
    flex-direction: column;
}

    header a div {
        margin: 1em;
    }
    
    header a div h1 {
        line-height:40px;
        align-content: center;
    }

    body section {
        flex-direction: column;
        
    }

body section div {
        width: 90%
    }

#ficha h1 {
    line-height:90%;
    
}
    
    body header figure {
    display:flex;
    justify-content: center 
}
    
    #logo{
        width:auto;
    }
    }
    
