/* @override 
	http://localhost/css/styles.css */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* @group Effects */

.fx {
	position: absolute;
}

#star1 {
	right: 200px;
}

#star2 {
	right: 60px;
}

#star3 {
	right: 15px;
}

#star4 {
	right: 45px;
}


#star5 {
	right: 85px;
}

#star6 {
	right: 25px;
}


#stars img {
	height: 40px;
}


/* @end */

/* @group Styles */

a{
-moz-transition:all .2s linear;
-webkit-transition:all .2s linear;
-o-transition:all .2s linear;
-ms-transition:all .2s linear;
transition:all .2s linear;
text-decoration: none;
}

body {
	/*background: #353954;*/
	color: #000;
	font-family: Lato, sans-serif;
	line-height: 1.4;
	font-size: 1.4rem;
	overflow-x: hidden; 
}




.redes {
	padding-top: 150px;
}

.redes a, .langs a {
	color: #fff;
	margin-right: 5px;
	font-size: 20px;
}

.langs {
	position: absolute;
	right: 20px;
	top: 140px;
}



nav a:hover {
	text-decoration: line-through;
	padding-left: 10px;
}


#blog, #contacto {
	height: 100vh;
	z-index: 5;
	position: relative;
}



#stars {
	position: absolute;
	width: 100%;
	height: 100vh;
	top: 0;
	overflow: hidden;
	bottom: 0;
}


/* @end */

/* @group Estructure */


.panel {
	overflow: hidden;
	position: relative;
}

.panel  .bgimg {
	z-index: -1;
	position: absolute;
	object-fit:cover;
	width: 100%;
	height: 100%;
}



.content {
	margin: 0 auto;
	max-width: 1100px;
	position: relative;
	padding: 0 40px;
	z-index: 2;
}

video {
	width: 100%;
	position: absolute;
    object-fit:cover;
	height: 100vh;
	z-index: -1;
}



/* @end */

/* @group First */

#first .overbg {
	border: 15px solid #fff;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	position: absolute;
	background-color: rgba(58, 67, 99, 0.6);
}


#first {
	margin: 0 auto;
	height: 100vh;
	width: auto;
	z-index: 5;
	position: relative;
}


#first p {
	font-family: Raleway;
	border-left: 2px solid #fff;
	margin: 40px 0 0;
	padding: 70px 30px;
	font-size: 1.3rem;
	color: #fff;
	width: 70%;
	text-transform: uppercase;
}

#first h1 {
	font-family: 'Caveat', cursive;
	font-weight: 700;
	font-size: 9rem;
	color: #fff;
	position: relative;
	margin-left: -15px;
	z-index: 5;
}

#firstp {
	position: relative;
}

#firstp img{
	top: 0;
	position: absolute;
	right: 13%;
	display: none;
}

#firstp #sim2{
	right: 5%;
	top: 50%;
}

#first nav {
	display: inline-block;
}

#first nav a {
	color: #fdd15d;
	font-size: 1.8rem;
	font-family: Raleway;
	font-weight: 900;
	line-height: 1.6;
	display: block;
	text-decoration: none;
	-moz-transition:all .2s linear;
	-webkit-transition:all .2s linear;
	-o-transition:all .2s linear;
	-ms-transition:all .2s linear;
	transition:all .2s linear;
}

#stamp {
	position: absolute;
	right: 0;
	z-index: 1;
	width: 150px;
}

/* @end */

/* @group portafolio */


header {
	position: fixed;
	top: 30px;
	width: 100%;
	z-index: 4;
	text-align: center;
	opacity: 0;
}

header .redes {
	position: absolute;
	left: 20px;
}

header .langs {
	position: absolute;
	right: 20px;
	top: 0;
}

header .redes, header .langs {
	padding: 0;
	display: inline-block;
	
}

header .redes a , header a, header .langs a, header nav{
	color: #2b2e42;
	display: inline-block;
}

header nav a{
	font-size: 1rem;
	position: relative;
	top: 0;
}

header nav a:hover {
	padding: 0;
	top: -3px;
}




/* @end */

/* @group Blog */



/* @end */

/* @group contacto */



/* @end */

@media (max-width: 1024px) {

	 
}


@media (min-width: 769px) and (max-width: 992px) {

}

@media (max-width: 768px) {


	#firstp img{
		height: 30%;
	}
	
	
	#stars img {
		width: 60px;
	}
	
	#langs {
		top: 20px;
	}

    #redes {
		padding-top: 20px;
	}

	#first p {
		padding: 20px;
		font-size: 0.8rem;
	}
	
	#first h1 {
		font-size: 5rem;
		line-height: 1;
		margin-bottom: 20px;
	}

}


@media (max-width: 480px) {

#first {
	padding: 10px;
}

 #portafolio h1 {
 	font-size: 3rem;
 }
 
 #portafolio {
 	padding: 40px 0;
 	min-height: 100vh;
 }
 
 #portafolio a {
 	font-size: 2rem;
 }

}
