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

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

header {
    background-color:#171515;
    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:40px;
    margin:0px;
    line-height:50px;
}

header a div h2 {
    color:#91d8e5;
    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:0px;
    background-color:#363636;
    padding:0.25em 1em;
    color:white;
    font-size:12px;
    font-weight:500;
}

nav {
    margin:0;
    padding:0;
    background-color: #454545;
}

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

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: #6d94a5;
}

#ficha {
    border-radius: 15px;
    display:flex;
    justify-content: center;
    flex-direction:row;
    align-items: center;
    margin:2em 0 ;
    padding:1em 0;
    background-color: skyblue;
    
}

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

#ficha h2 {
    color: #2c567b;
    margin:0;
    font-size: 20pt;
    line-height:80%;
}

#ficha figure {
    margin:0;
    padding:0;
    width: 13em;
}

#figure img {
    width:100%;
}

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

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

body section div {
    padding:1em;
    margin:1em;
    background-color: skyblue;
    border-radius: 15px;
    width: 30%
}

.materias {
    color:#384052;
}

.materias h1 {
    color: #2c567b;
    font-size: 18pt;
    text-align: center;
}

.materias ul li {
    list-style: circle;
    line-height: 150%;
    font-weight:500;
}

@charset "utf.8";

@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;
    }

    #ficha figure {
        margin-left: 1em;
        margin-right: 0;
    }

    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;
    }
    }
    

