@font-face {
    font-family: "RAINFALL";
	font-display: swap;
	/*https://uniwebsidad.com/tutoriales/como-controlar-la-forma-en-la-que-se-cargan-las-fuentes-web*/
    src: url("RAINFALL.otf") format("eot"),
         url("RAINFALL.woff") format("woff"),
         url("RAINFALL.TTF") format("truetype"),
         url("RAINFALL.svg") format("svg");
}



* {
	padding:0;
	margin:0;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

body {background:#FEFEFE;}

section {
	padding:20px;
}

.menu_bar {
	display:none;
}

header {
	width: 100%;
}

header nav {
	background:#050505;
	z-index:1000;
	max-width: 100%;
	
	/**margin:20px auto;*/
}

header nav ul {
	list-style:none;
}

header nav ul li {
	display:inline-block;
	/*La razon por la que no usamos floar en vez de inline-block es
	porque no vamos a poder usar overflows en el header nav ul*/
	position: relative;
}

header nav ul li:hover .children {
	display: block;
}

/*Submenu*/
header nav ul li .children {
	background:rgb(56, 55, 56);
	position: absolute;
	display: none;
	width: 150%;
	z-index: 1000;
}

header nav ul li .children li {
	display: block;
	overflow: hidden;
	border-bottom: 1px solid rgb(56, 55, 56);
	/*Usamos overflow hidden porque aqui si vamos a necesitar usar float*/
}

header nav ul li .children li a {
	display: block;
}

header nav ul .children li a span {
	float: right;
	position: relative;
	top:3px;
	margin-right: 0px;
	margin-left:10px;
}

header nav ul li a {
	color:#fff;
	text-decoration: none;
	display: inline-block;
	padding:10px;
}

header nav ul li:hover {
	background:rgb(56, 55, 56);
}

header nav ul li span {
	margin-right:10px;
}

header nav ul li .caret {
	position: relative;
	top: 3px;
	margin-left: 10px;
	margin-right: 0;
}

@media screen and (max-width:800px) {
	body {
		padding-top:45px;
	}
	.menu_bar {
		width: 100%;
		background:rgb(56, 55, 56);
		display: block;
		position: fixed;
		top:0;
		z-index: 1000;
	}

	.menu_bar .bt-menu {
		display: block;
		padding-top: 10px;
		padding-left: 10px;
		color:#fff;
		overflow: hidden;
		font-family:RAINFALL;
		font-size:20px;
		margin-right: 15px;
		margin-top: -5px;
		font-weight:bold;
		text-decoration: none;
	}         

	.menu_bar span {
		float: right;
		font-size: 40px;

	}

	header nav {
		width: 80%;
		height: calc(100% - 80px);
		right:100%; 
		/*Con esto ocultamos el menu hacia la derecha, lo agregamos hasta el final*/
		margin: 0;
		position:fixed;
		overflow:scroll;
		
	}

	header nav ul li {
		display: block;
		border-bottom:1px solid rgb(56, 55, 56);
	}

	header nav ul li a {
		display: block;
	}

	header nav ul li:hover .children{
		display: none;
	}

	header nav ul li .children {
		width: 100%;
		position: relative;
		/*display: block;*/
	}

	header nav ul li .children li a{
		margin-left:20px;
	}

	header nav ul li .caret {
		float: right;
	}
}