/*font-family: 'Concert One', cursive;
font-family: 'Dosis', sans-serif;*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

body {

    /* caja flexible*/
    display: flex;

    /* direcciÃ³n de sus elementos */
    flex-direction: column;
    
    /* organizaciÃ³n de los elementos segÃºn ele eje principal
        (vertical por la propiedad anterior) */
    justify-content: space-between;
}

html {
    font-family: 'Dosis', sans-serif;
    color: white;
    font-size: 2em;
    text-decoration: none;
    background-color: black;
    max-width: 100%;
     flex-grow: 1;
    min-height: 100vh;
}






/* H E A D E R */

header{
    height: 3em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.superior{
    padding: 20px;
}

.inicio{
	color: white;
	text-decoration: none;
}


.menu{
	display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    
}

section ul li a {
    text-decoration: none;
    color: white;
    display: inline-block;
    padding-left: 0.5em;
}







/* M A I N */
main{
    font-size: 10px;
    background: url(img/fadu.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    margin-top: 4%;
    margin-bottom: 7%;
    
}

.nombre{
    color:#1fa46f;
    font-size: 5em;
    font-weight: 600;
    margin-left: 39%;
    margin-top: 6%;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 1%;
}

h3{
    margin-bottom: 5%;
}

.paralax{
    background: url(img/efecto2.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
    height: auto;
    font-size: 15px;
    margin-top: 7%;
}

.circulopadre{
    border-radius: 50px;
    width: 50px;
    height: 50px;
    display: inline-block;
    margin: 3%;
    box-sizing: border-box;}
.circulo{
    background-color:greenyellow;
}
.circulo1{
    background-color:cyan;
}
.circulo2{
    background-color:darkturquoise;
}
.circulo3{
    background-color:fuchsia;
}
.circulo4{
    background-color:crimson;
}
.grow:hover
{
-webkit-transform: scale(1.3);
-ms-transform: scale(1.3);
transform: scale(1.3);
}
.shrink:hover
{
-webkit-transform: scale(0.8);
-ms-transform: scale(0.8);
transform: scale(0.8);
}
.threed:hover
{
box-shadow:
1px 5px #53a7ea,
2px 7px #53a7ea,
3px 9px #53a7ea;
-webkit-transform: translateX(-3px);
transform: translateX(-3px);
}
@-webkit-keyframes swing
{
15%
{
-webkit-transform: translateX(5px);
transform: translateX(5px);
}
30%
{
-webkit-transform: translateX(-5px);
transform: translateX(-5px);
}
50%
{
-webkit-transform: translateX(3px);
transform: translateX(3px);
}
65%
{
-webkit-transform: translateX(-3px);
transform: translateX(-3px);
}
80%
{
-webkit-transform: translateX(2px);
transform: translateX(2px);
}
100%
{
-webkit-transform: translateX(0);
transform: translateX(0);
}
}
@keyframes swing
{
15%
{
-webkit-transform: translateX(5px);
transform: translateX(5px);
}
30%
{
-webkit-transform: translateX(-5px);
transform: translateX(-5px);
}
50%
{
-webkit-transform: translateX(3px);
transform: translateX(3px);
}
65%
{
-webkit-transform: translateX(-3px);
transform: translateX(-3px);
}
80%
{
-webkit-transform: translateX(2px);
transform: translateX(2px);
}
100%
{
-webkit-transform: translateX(0);
transform: translateX(0);
}
}
.swing:hover
{
-webkit-animation: swing 1s ease;
animation: swing 1s ease;
-webkit-animation-iteration-count: 1;
animation-iteration-count: 1;
}

.bold{
    font-family: 'Concert One', cursive;
    font-weight: 500;
    font-kerning: normal;
    display: flex;
    justify-content: center;
    font-size: 4em;
        margin: 3%;
}

.trabajos{
    max-width: 80%;
        margin: 5%;
}

.espacioportfolio{
    height: auto;
}

.mistrabajos{
    font-family: 'Concert One', cursive;
    font-weight: 500;
    font-size: 2em;
    margin-top: 5%;
    display: flex;
    justify-content: center;
}

.materias{
    font-size: 1em;
    line-height: 200%;
    display: flex;
    justify-content: center;
    margin: 4%;
}

.primero{
    padding-right: 10%;
}  






/* F O O T E R */
footer{
    background-color: black;
    text-align: center;
    color:darkgray;
    font-family: 'Roboto', sans-serif;
    font-size: 10px; 
    box-sizing: border-box;
    margin: 0 0 10px 0;
    width: 100%;
        position: relative;
}
footer span p{
    box-sizing: border-box;
    padding: 10px;
}

.container {
    margin-right: auto;
    margin-left: auto;
}

nav ul li:not(:first-child) {
    /*  todos los "nav ul li" 
        MENOS el que es "primer hijo" */
    margin-left: .25em
}

.datos{
    font-size: 2em;
    color: white;
    font-family: dosis;
    margin-top: 4%;
    letter-spacing: 7px;
    }
.materias2{
    font-size: 1em;
    line-height: 200%;
    display: flex;
    justify-content: center;
    margin: 4%;
}    

.bold2{
       font-family: dosis;
    font-weight: 700;
    font-size: 2em;
    margin: 0 2% 0 10%;
    align-content: center;
}

.derecha{
    text-align: left;
    
}

.maximo{
    max-width: 100%
}

















