@import 'https://fonts.googleapis.com/css?family=Amatic+SC|Indie+Flower|Oleo+Script|Pacifico|Raleway|Roboto';
@import 'https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i';

header {
    margin-top:0em;
    background: #384450;
    display: flex;
    justify-content: space-between;
    padding: 0em; 
}

header img{
    padding-right: 0em; 
    padding-left: 4em;
    left: 4em;
    text-align: left;
    top: 0em;
    float: left;
}

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	padding-right: 5em;
}
	
nav ul li {
    display: inline-block;
    line-height: 5em;
}
			
nav ul li a {
    display: block;
	padding: 0 1em;
    color: white;
    font-size: 1.em;
    font-family: 'Oswald', sans-serif;
    font-weight: 41em;
    text-align: center;
    text-decoration: none;
}
			
nav ul li a:hover {
    color: #384450;
    background: #baced8;
}

h1{
    color: #384450;
    font-family: 'oleo script';
    font-size: 1.8em;
    text-align: center;
    margin-top:0.5em;
}

h2{
    color: rgb(209, 183, 187);
    font-size: 1.5em;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-align: center;
}

h3{
    color: #384450;
    font-size: 1.4em;
    font-family: 'Oswald';
    font-weight: 400; 
}

.padre {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    height: 45em;
    color: #384450;
    margin-top: 0em;
}

.hijo {
    color: #1db1a7;
    list-style: none;
    font-size: 2.1em;
    font-family: "oleo script";
    width: 100%;
    text-align: center;
}

.dis {
    color: #384450;
}

section{
    background-image: url(img/background.jpg);
    color: #5171a5;
}

.container{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: stretch;
    border-radius: 0,3em;
    background: rgba(82, 82, 102, 0.35);
    width: 100%;
}
		
 
.flex-items-default {
    width: 25em;
    height: 15.625em;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 0;
}
		
.cajitas {
    column-width: 25em;
    width: 20%;
    padding: 3em;
    padding-right: 4,16em;
    padding-left: 4,16em;
    margin-left: 2em;
    margin-right: 2em;
    background:rgba(209, 183, 187, 0.8);
    border-radius: 0.3em;
    font-family: 'roboto';
    font-stretch: 300;
    font-size: 1em;
}


.volver{ 
    background: rgba(209, 183, 187, 0.8); 
    color: white; 
    padding: 0.5em;
    font-family: 'Oswald', sans-serif;
    text-decoration: none; 
    text-align: center; 
    display: block; 
    width: 5%; 
    font-size: 1em; 
    border-radius: 2em; 
    margin: 3em auto;
    margin-top: 3em;
}

footer{ 
    font-family: Verdana; 
    background: #384450;
    font-size: 0.68em; 
    color: ghostwhite;
    text-align: center;
	padding: 2em;
    margin: 0em;
}

/* __ Responsive 768 __ */

@media screen and (max-width:768px) and (max-width: 1023px)
{
    .nav ul {margin: 0.9375em 2.5em 0em 0em;}
    .nav ul li a{font-size: 0,5em;padding: 0.625em 0.9375em 0.625em 0.9375em;}
    .body {width: 100%; margin-left: 0em; padding: 0em;}
    .container{flex-direction:column; width:100%; }
    .cajitas {width:50%; padding: 3em; margin-top:2em; }
    .footer{font-size: 0,4em; }
}

/* __ Responsive 320 __ */
@media screen and (max-width:320px) and (max-width: 767px)
    
{
    .header nav ul li{ margin-right: 0em; margin: 0.9375em 0em 0.875em 1.875em;} 
    .container{flex-direction: column; width: 100%;}
    .cajitas {width: 50%; padding: 1em;}
    .footer{font-size: 0,1em; }
}