@charset "utf-8";
/* CSS Document */

* {
	
box-sizing: border-box;
/*este box es para q no se salgan los elementos en responsive y debe ser así*/	
}


body{
margin: 0;
padding-bottom: 0em;
}


header{
	height: 90px;
	margin-bottom: 0px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
}


#contenedor{
	height: 90px;
	width: 100%;
	display: flex;
	background-color:rgba(241,241,241,1.00);
}


	#contenedor #logo {
	width: 80%;
	height: auto;
	top:0;
	left: 0;
	margin-top: 0%;
	margin-bottom: 0%;
}


#contenedor #logo img{
	width: 90%;
	height: auto;
	padding-left: 12px;
	padding-top: 5px;
}


.fixed{
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
}


.nav-bar{
background:rgba(253,135,65,1.00);
padding: 20px;
	display:block;
	color:white;
	cursor: pointer;
	width: 20%;
	text-align: center;
	float: right;
	margin-right:  0;
	padding-top: 20px;
	line-height: 20px;
	font-family: 'Staatliches', cursive;
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 1px;
	}

.nav-bar .icon-menu-1{	
	font-size: 30px;
	color:white;
		
}


 .contenedor #texto_menu{
	position: float; 
	float: right;
	 font-size: 10px;
	 padding-top: 35px;
		/* puse el float para probar posicion del boton responsivo*/
	
	}




/*.main-nav{
	margin-right: 100px;
	float: left;
	width: auto;
	margin-left:-100%;
		
	}
*/



.menu, .submenu{
	list-style: none;
	padding: 0;
	margin: 0;
	
	}


.menu{
	background:rgba(0,0,0,0.60);
	
	margin-left:-100%;
	-moz-transition:all  0.5s;
	-ms-transition:all  0.5s;
	-o-transition:all  0.5s;
	-webkit-transition:all  0.5s;
	transition: all 0.5s;
	text-align: center;
	margin-top: 90px;
	width: 99.98%;
	height: 100vh;
	transform: translateX(-100%);
	display: absolute;
	position: absolute;
	opacity: 0.97;
	font-family: 'Staatliches', cursive;
}

.menu__link{
	display: block;
	padding: 25px;
	color: white;
	
	text-decoration: none;
	font-weight: 500;
		font-size: 17px;
		letter-spacing: 2px;
	}

.menu__link:hover{
	background:rgba(253,135,65,0.90);
	}


.submenu{
	height: 0px;
	overflow: hidden;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}


.submenu .menu__link{
	background: #333;
	padding-left: 40px;
	font-weight: 400;
	font-size: 16px;
	letter-spacing: 1px;
	
}


.submenu .menu__link:hover{
	background: #222;
	
	
}


.submenu .menu__link .submenu-btn{
	padding: 7px;
	
	
}



.mostrar{
	margin-left: 0;
}

main{
	margin-top: 0px;
}





/*@media(min-width:1024px)*/

@media all and (min-width:1024px){
	
	.nav-bar{
		display: none;
	}
	
	
	header{
	height: 70px;
	margin-bottom: 0px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	
}

	#contenedor{
	height: 70px;
	width: 100%;
	display: flex;
	background-color:rgba(241,241,241,0.85);	
	justify-content: center;
	flex-wrap: wrap;

}

	
	#contenedor #logo {
	width: 30%;
	height: auto;
	top:0;
	left: 0;
	position: absolute;
	
}
	
	
   #contenedor #logo img{
	width: 250px;
	height: auto;
	padding-left: 5px;
    padding-top: 0%;
}
	
	
	/*LOGO Y MAIN NAV ESTÁN AL MISMO NIVEL DENTRO DE CONTENEDOR Y COMPARTEN ESPACIO EN PORCENTAJE*/
	.main-nav{
	font-family: 'Staatliches', cursive;
	width: 700px;
	float: right;
	margin-right: 34%;
	}
	
	
	/*AQUÍ MOVEMOS EL MARGEN QUE TIENE A LOS LADOS EL MENU PARA DARLE POSICIÓN*/
	.menu{
		margin-left: 27.00%;
		margin-right: 0%;
		display: flex;
		width: auto;
		margin-top: 0px;
		opacity: 1;
		background-color:rgba(251,251,251,0.00);
		height: auto;
		/*transform: translateX(-100%);*/
	    position: absolute;
		transform: none;
		padding-top: 15px;
		padding-right: 0px;
			
	
	}
	
	.menu .menu__link{
	display: block;
    padding: 17px 18px; 
	margin-left: 0px;
	margin-right: 5px;
	color: #333;
	text-decoration: none;
	font-weight: 600;
	font-size: 17px;
	letter-spacing: 2px;
	}
	
	
	.menu .menu__item{
	position: relative;
	}
	
	
	.menu .menu__link:hover{
	display: block;
    padding: 17px 18px; 
	margin-left: 0px;
	margin-right: 5px;
	color: white;
	text-decoration: none;
	font-weight: 600;
	font-size: 17px;
	letter-spacing: 2px;
	}
	
	
	.submenu .menu__item{
	display: block;
	color: white;
	font-size: 13px;
	text-decoration: none;
	background:rgba(229,103,53,1.00);
	}
	
	
	.container-submenu{
		position:relative;
	}
	
	.submenu{
		position: absolute;
		top: 49px;
		width: 200px;
		height: auto;
		overflow: visible;
		z-index: 1000;
		opacity: 0;
		visibility: hidden;
		text-align: left;
	}
	
	
	.container-submenu:hover .submenu{
		opacity: 1;
		visibility:visible;
		
	}
	
	
	.submenu .menu__link{
	background: #333;
	padding-left: 0px;
	padding: 18px;
	height: 54px;
	width: 200px;
	font-weight: 200;
	font-size: 17px;
	letter-spacing: 1.5px;
}


	body main{
	margin-top: 0px;
}


}



@media all and (min-width:1280px){
	
	#contenedor #logo {
	width: 20%;
	height: auto;
	top:0;
	left: 0;
	position: absolute;
	
}
	
	
   #contenedor #logo img{
	width: 260px;
	height: auto;
	padding-left: 10px;
	   padding-top: 0%;
	
}
	.main-nav{
	font-family: 'Staatliches', cursive;
	width: 50%;
	float: right;
	margin-right:13%;
	}
	
}

