@import url('link href="https://fonts.googleapis.com/css?family=Oswald:400,600" rel="stylesheet');

*{
    margin:0;
    padding:0; 
    box-sizing: border-box;
    
}
body {  font-family: 'Oswald', sans-serif;
    background-color:gainsboro;
    
}

body header nav ul li {
    font-family: 'Oswald', sans-serif;
    text-align: left;
    font-size: 15; 
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #FF3EB1; } 


header {
    display: flex;
    justify-content: space-between;   
    justify-content: center;
    background-color:deeppink;
    width: 100%;
}

header ul {
    list-style: none;
    display: flex;
    justify-content: center;
    width: 100%;
}

header ul li {
    text-transform: uppercase;
    width: 5em;
    height: 5em;    
    display: flex;
   
    justify-content: center;
    
}

header ul li a {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color:deeppink;
    
    margin: auto;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    text-align: center;
    max-width: 100%;
}


.active 
{background-color: dimgray;
    color: white;
}
a {text-decoration: none;
    
}
main h1{padding-top: 2em;
    padding-bottom: .5em;
text-align: center;}
figcaption {
    font-weight: 300;
            font-size: 0.5em;
            margin-left: 0em;
            margin-right: 0em;
            margin-top: 0.5em;
            margin-bottom: 1em;
            text-align: center;}

main figure img {display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5em;
    position: static;
    z-index: 1;}
h5{text-align: center;
font-weight: 200;}

h2{
    color: palevioletred;
padding-top: .7em;
padding-bottom: .7em;}

h3{
    color:gray;
padding-top: 1em;
padding-bottom: 1em;}

h4{
    padding-top: 1em;
}

section {
    display: flex;
    flex-direction: column;
    text-align: left;
}

h3{ margin-top: .5em;}

h4{ margin-top: .5em;}

.d {color: pink;}

section li{
    list-style: none;
}

.caja1 {
    font-size: 14;
    text-align: justify;
    margin-top: 1em;
    background-color: dimgrey;
}

.caja1 h2 {
    padding-left: 1em;
}

.materias {
    background-color: gainsboro;
    padding-left: 1em;
}

.caja {
    background-color: dimgrey;
    font-size: 14;
    text-align: justify;
    padding: 1.5em;
}
footer { text-align-last: right;
    background-color:deeppink;
    font-size: 8;
padding-bottom: 1em;}

.datos{
    text-align-last: left;
    padding: 2em;}

.texto{
    display:flex;
    flex-direction:row;
    flex-wrap: wrap;
    padding: 2em;
    
}

footer div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    
    margin: 0em 4em 0em 4em;    
}

footer div img {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 55px;
}
footer a img {
    padding: 1.5em;


