*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Prompt', sans-serif;
}
html {
    background: -webkit-linear-gradient(top left, #ffc400,#ff5800);
    background: linear-gradient(to bottom right, #ffc400,#ff5800);

}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}



header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: rgba(255, 88, 0, 0.36);
    width: 100%;
        
}


#x{display: none;}

/* navegacion links */

header ul {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    list-style: none;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: auto;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    width: 100vw;
    max-width: 1200px;
  
}


header ul li {
    
    padding: 1em 0em 1em 0em;
   text-align: center;
}

.links {
    
    padding: 1em 20px 1em 20px;
    border-radius: 0px 0px 10px 10px;
    text-decoration: none;
    color: #606060;
    text-align: center;
    word-break: break-all;
     -webkit-transition: all 1s;
}

.links:hover {
    background-color: #0582b1;
    color: #ffffff; 
}

ul li a span {
    
    font-weight: 700;
 
}
header > ul:first-child {
    display: none;
}
/* fin navegacion */



















/* Titulo e imagen **/

main>section {
    background-image: url(img/d.jpg), -webkit-linear-gradient(top left, #ffc400,#ff5800);
    background-image: url(img/d.jpg), linear-gradient(to bottom right, #ffc400,#ff5800);
    background-blend-mode:soft-light;
    background-position:center;
    background-size: cover;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.titulo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: auto;
    
 
}

.titulo div {
   
    display: -webkit-box;
   
    display: -ms-flexbox;
   
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100vw;
    
}

h1 {
    font-family: 'Prompt';
    font-size: 10vw;
    text-align: center;
    color: #ffffff;
    font-weight: 400;
    margin: auto;
    
    }

 .titulo h1 span{ 
    text-align: center;
    color: #0582b1;
    font-weight: 700;
    
}



/* fin titulo e imagen */







/*seungo nav*/

.segundo-ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: distribute;
    align-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    width: 70vw;
    max-width: 600px;
    height: 200px;  /*Tengo una duda con esto*/
}


.segundo-ul a {
    color: #ffffff;
    text-decoration: none;
    background-color: #0582b1;
    border-radius: 1em 1em 1em 1em ; 
    font-weight: 400;
    -webkit-transition: all 1s;
    transition: all 1s;
    padding: 10px 20px;
    margin-right: 0.5em;
    word-break: break-all;
}

.segundo-ul a:hover {
    background-color: #005d80;
    padding: 10px 30px;
}



/*section*/

.quiensoy {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    background-image: none;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    width:80%;
    margin: auto;
    margin-top: 5em;
    height: auto;
    
}

.icono {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 400px;
    text-align: justify;
    font-size: 9pt;
    color: #ffffff;
    word-break: break-all;
}

.index-contenedor{
    width: 40%;
}

.icono img {
   width: 100%;
    border-radius: 3em 3em 0em 3em; 
}


.icono h3 {
    font-weight: 700;
    color: #606060;
    font-size: 2.5em;
    text-align: center
}





/* cursada */

.carrera {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background-image: none;
    background-color: #242424;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 5em;
    margin-top: 5em;
    height: auto;
}


.carrera h1 {
    word-wrap: break-word;
    font-size: 3.5em;

}

.carrera h1 span {
        font-size: 1em;
        font-weight: 700;
        color: #0582b1;
}

.materias{
    
    display: -webkit-box;
    
    display: -ms-flexbox;
    
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    width: 70%;
    text-align: center;
    color: #0582b1;
   
}

.materias article {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 50%;
    }

.materias div{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}


h2 {
    color: #ffc400;
    font-weight: 100;
}



.carrera ul li {
    color: white;
    list-style: none;
    text-align: center;
}

/* portfolio */

.portfolio h1{
    color: white;
    font-size: 3em;
}

.portfolio h1 span {
    color: #0582b1;
    font-weight: 700;
}




.imagen figure {
	position: relative;
	overflow: hidden;
	max-width: 450px;
	max-height: 330px;
    border-radius: 1.5em;
    margin-top: 1em;
	}

.imagen figure img {
    -webkit-transition: 1s;
    transition: 1s;
	max-width: 100%;
    opacity: 1%;
    
}

.imagen figure figcaption {
	font-size: 1em;
    position: absolute;
	width: 100%;

}

.imagen figure h2 {
	font-weight: 300;
     color: #313131;
}

.imagen figure h2 span {
	font-weight: 800;
}


figure.movimiento figcaption {
	bottom: 0;
	padding: 1em;
	background: #ffffff;
	color: #3c4a50;
	-webkit-transition: -webkit-transform 0.35s;
	transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	transition: transform 0.35s, -webkit-transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);  
}

p.description {
	position: absolute;
	bottom: 3em;
	color: #0582b1;
	opacity: 0;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
    font-weight: 400;
    font-size: 2em;
 }

.movimiento:hover p.description{
	opacity: 100;
}

figure.movimiento:hover figcaption,
figure.movimiento:hover h2
{
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.movimiento:hover img{ 
   max-width: 110%;
    opacity: 0.5;
    
}

.inline{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    width: 80%;
    margin: auto;
    margin-top: 2em;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
 }











/*footer*/

.datos {
    font-size: 1.5em;
    margin-bottom: 2em;
    width: 550px;
    margin-top: 2em;
}

footer {

    font-size: 0.5em;
    text-align: justify;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width:80%;
    margin: auto;
}

.footerdiv{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-pack: distribute;
    justify-content: space-around;
   -ms-flex-line-pack: center;
   align-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}



/***************RESPONSIVE HEADER****************/  
    
@media (max-width: 1100px) {main{width: 100%;
    margin: auto;}
    
  

    header > ul:first-child {
    display: block;
    width: 80%;
}

header  ul li img {
width: 35px;
     
}
  
    


header > ul > li > a {

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    

}
    
    
    .inline{
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
 }
    .imagen figure {

	max-width: 100%;
	max-height: 330px;

	}


/* menu desplegable */

header nav {
    background-color: rgba(0, 125, 172, 0.86);
    position: fixed;
    left: -100vw;
    top: 0;
    height: 100vh;
    min-width: 50vw;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    z-index: 999;
}



header nav:target {
    left:-45%;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
}

#menu ul li a{
        color: #eaeaea;
    }

header nav a {
    color: rgba(255,255,255,.75);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: .5em 1em;
    text-decoration: none;
}



#x {display: block;
    position: absolute;
    left: 50%;
    top: 0;
}
    
    #menu ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
        
    }











