@charset "utf-8";

/* FUENTES TIPOGRÁFICAS */
@font-face {
    font-family: 'oswaldregular';
    src: url('oswald-regular-webfont.woff2') format('woff2'),
         url('oswald-regular-webfont.woff') format('woff'),
         url('oswald-regular-webfont.ttf') format('truetype'),
         url('oswald-regular-webfont.svg#oswaldregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'oswaldlight';
    src: url('oswald-light-webfont.woff2') format('woff2'),
         url('oswald-light-webfont.woff') format('woff'),
         url('oswald-light-webfont.ttf') format('truetype'),
         url('oswald-light-webfont.svg#oswaldlight') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'oswaldbold';
    src: url('oswald-bold-webfont.woff2') format('woff2'),
         url('oswald-bold-webfont.woff') format('woff'),
         url('oswald-bold-webfont.ttf') format('truetype'),
         url('oswald-bold-webfont.svg#oswaldbold') format('svg');
    font-weight: normal;
    font-style: normal;

}


/* ESCRITORIO */
body {
    background-color:#464545;
    padding: 0;
    text-align: center;
}

img{
    display:block;
    margin:auto;
    }

h1 {  font-family: 'oswaldbold';
    font-weight: 700;
    text-align: center;
    font-size: 4rem;
    color: #ffffff;

    
}

h2 {  font-family: 'oswaldbold';
    font-weight: 700;
    text-align: center;
    font-size: 2rem;
    color: white;
    
}

h3 {  font-family: 'oswaldlight';
    font-weight: 200;
    justify-content: space-between;
    text-align: center;
    font-size: 1.5rem;
    color: #ffffff;
    
    
}

p {  font-family: 'sans-serif';
    
    text-align: center;
    font-size: 1rem;
    color: #ffffff;
    margin: 0rem 5rem 0rem 0rem; 
    
}

p.destacado{
    font-size: 1.2rem;
    text-align: center;
}

div#pagina{ width: 80%;
    margin: auto;
}

ul{
    list-style: none;
    font-family: 'oswaldlight';
    font-weight: 300;
    margin: 0;
    padding: 0;
    
}


header nav ul li{
    margin: 0 0 0.5rem 0;
    list-style: none;
    
}

header nav ul li a{
    color: #969696;
    font-size: 1.5rem;
    text-decoration:none;
    display: block;
    background-color:#ffffff;
    text-align: center;
    /*width: 90%;*/
    margin: auto;
    height: 3rem;
    line-height: 3rem;
    font-family: sans-serif;
}

    


hr{
background-color: black;
    margin: 3rem 5em:

    
}



.padre{
 
    justify-content: space-between;
   
}

.hijo{
    justify-content:space-around;
    background-color: #5a5a5a;
    min-width: 24%;
}

.img{
    border-radius: 50%;
    box-shadow: none; 
    color: black;
   
}
.padre2{
    display: flex;
    justify-content:space-around;
    min-width: 5rem;
    flex-grow: 0rem;
    width: 90%;
    margin: 5rem;

}
.hijo2{
    justify-content:center;
    background-color: #969696;
    min-width: 40%;
}


nav ul li a:hover {
    color: #ffffff;
    background-color: #969696;    
}


@media screen and (min-width:40rem) {
    nav ul {
        display: flex;
      
    }
  
.padre2 {display: flex;
    justify-content:space-around;
    flex-wrap:wrap;
    align-items:center;
    min-width: 10rem;
    flex-grow: 10rem;
    }
    
  