@import url('https://fonts.googleapis.com/css?family=Lato:400,400i,700&display=swap');


* {
    box-sizing: border-box;
    font-weight: light;
}
head
{
    display: flex;
    align-content: center;
}
body {
    background-color: gainsboro;
    border-bottom: none;
    color: black;
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction:column;
    justify-content: space-between;
    min-height: 90vh;
    flex-wrap: wrap;
    
/* a partir de un ancho de 640px */

@media ( min-width: 40em ) {
    
    body {
        flex-direction: row;
        justify-content: center;
    }
    
    #fotolucia
    {
        width: 200%
    }

}     
}

main h1 { 
    
    box-sizing: border-box;
    display: block;
    background-color:#8b3d85; 
    color: white;
    text-align: center;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom:0.5em;
    padding-top: 0.5em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
    font-family: lato;
    font-size: 2em;
        
} 

#fotolucia 
{
    display: flex;
    justify-content: center;
    margin: 1.5em;
 }
#logodgpc { 
    display: flex;
    justify-content: center;
    padding: 0,6em;
    background-color: #8b3d85;
}
nav {
    list-style:none;
}
section nav ul {
    background-color: ghostwhite;
    background-size:80%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content:center;
    padding: inherit;
}

nav ul li a 
    {
    font-family: lato;
    font-weight: bold;
    color: white;
    text-decoration:inherit;
    text-align: center;
    font-size: 1em;
    background-color: hotpink;
    width: 100vh%;
    display:flex;
    margin: 1em;
    padding: 0.9rem;
    border-radius: 1em;

}
.blog
{
    list-style:none;
    box-sizing: border-box;
    display: block;
    border-bottom: none;
    text-decoration: none;
    text-decoration-color: none;
    text-decoration: none;
    text-decoration-color: none;
    color: black;
    text-align: center;
    width: 15rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0.9em;
    padding-top: 2em;
    padding-bottom: 2em;
    border-radius: 2em;
    font-family: lato;
    font-size: 2em;
    text-align: center;
    text-decoration: none;
    background: #EEE;
    color: #222;
    border: 1px outset #CCC;
    padding: .1em .5em;
}
.blog:hover {
  background: #CCB;
}
.blog:active {
  border: 1px inset #000;
}
}
ul aside p
{
    box-sizing: border-box;
    font-family: lato;
    text-align: center;
    color: black;
    font-size: 1em;
    padding: 0.2em; 
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
    justify-content: space-between;
    align-content:center;
}

.subtitulos
 { 
    box-sizing: border-box;
    display: block;
    background-color:palevioletred; 
    color: white;
    text-align: center;
    width: 29rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.8em;
    border-radius: 1em;
    font-family: lato;
    font-weight: bold;
    font-size: 1.5em;
    text-align: center;
}
.materias ul
{
    list-style: none;
    text-decoration: none;
    font-family: lato;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-align: center;
}

.materias ul li a
{
    list-style: none;
    text-decoration: none;
    text-decoration-color: none;
    color: black;
    font-size: 1.5em;
    width: 100vh%;
    display:flex;
    margin: 0.5em;
    padding: 0.5rem;
    border-radius: 1em;
    flex-direction: column;
}

section nav ul {
    list-style:none;
    background-color: ghostwhite;
    background-size:80%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content:center;
    padding: inherit

}

nav ul li a 
    {
    font-family: lato;
    font-weight: bold;
    color: white;
    text-decoration:inherit;
    text-align: center;
    font-size: 1.7em;
    background-color: palevioletred;
    width: 100vh%;
    display:flex;
    margin: 1em;
    padding: 0.9rem;
    border-radius: 1em;
}

.texto {
    display: block;
    box-sizing: border-box;
    font-family: lato;
    font-weight: normal;
    text-align: center;
    color: black;
    font-size: 1.3em;  
    padding: 0.2em; 
    margin-top: auto;
    margin-bottom: auto;
}

h3 {
    display: block;
    font-family: lato;
    color: black;
    font-size: 3em;
    padding: 1rem;
}
h4 {
    list-style: none;
    font-family: lato;
    font-style: bold;
    text-decoration: none;
    text-decoration-color: none;
    color: black;
    display: flex;
    justify-content: center;
    flex-direction:column;
    align-content: center;
    text-align: center;
    padding: 1rem;

}
.video {
    display: flex;
    justify-content: center;
    margin: 3em;
}
.aside
{
    list-style: none;
}

section section2 ul li {
    list-style:none;
    text-decoration: none;
    border-bottom: none;
    color:white;
    display: flex;
    justify-content: center;
    align-content: center;
    box-sizing: border-box;
    background-color:#8b3d85; 
    width: 20rem;
    padding-left: 0.4em;
    padding-right: 0.4em;
    padding-bottom:0.4em;
    padding-top: 0.4em;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    border-radius: 1em;
    font-family: lato;
    font-size: 1em;
}

section section2 ul li a 
{
    text-decoration: none;
    border-bottom: none;
    color:white;
}

section3 {
    display: flex;
    justify-content: center;
    margin: 3em;
}
#1 {
    display: flex;
    justify-content: center;
    margin-bottom: 0,5em;
}
footer {
    box-sizing: border-box;
    font-family: lato;
    font-weight: normal;
    text-align: center;
    color: lightslategrey;
    font-size: 0.8em;
    padding: 1.2rem; 
    margin-top: auto;
    margin-bottom: 0em;
    display: flex;
    justify-content: flex-end;
}