

header{
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: linear-gradient(rgb(20%, 0%, 0%), rgb(0%, 0%, 70%));
	z-index: 	2;
}



h3 span{
    position: absolute;
    right: 0;
    width: 0;
    background: rgb(10%, 0%, 15%);
    border-left: 2px solid #000;

    animation: maquina 5s infinite alternate steps(51);
}

@keyframes maquina{
    from{
        width: 100%;
    }
    to{
        width: 0;
    }
}

/******/

.contenedor_menu{
	width: 100%;
	height: 50px;
	background: #023877;
	padding: 0px 20px;
}

.menu{
	max-width: 1200px;
	margin: auto;
	height: 100%;
}


nav{
	height: 100%;
}

nav > ul{
	height: 100%;
	display: flex;
}

nav  ul  li{
	height: 100%;
	list-style: none;
	position: relative;
}

nav > ul > li > a{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 15px;
	text-transform: uppercase;
	color: white;
	font-size: 30px;
	transition: all 300ms ease;
}

nav > ul > li > a:hover{
	transform: scale(1.1);
	background: #0074c7;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

#selected{
	transform: scale(1.1);
	background-color: #0074c7;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

/**/
nav ul li ul{
	width: 270px;
	display: flex;
	flex-direction: column;
	background: white;
	position: absolute;
	top: 90px;
	left: -5px;
	padding: 14px 0px;
	visibility: hidden;
	opacity: 0;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
	z-index: 10;
	transition: all 300ms ease;
}

nav ul li:hover ul{
	visibility: visible;
	opacity: 1;
	top: 70px;
}

nav ul li ul:before{
	content: '';
	width: 0;
	height: 0;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 12px solid white;
	position: absolute;
	top: -12px;
	left: 20px;
}

nav ul li ul li a{
	display: block;
	color: 0099e9;
	padding: 6px;
	padding-left: 14px;
	margin-top: 10px;
	font-size: 25px;
	text-transform: uppercase;
	transition: all 300ms ease;
}

nav ul li ul li a:hover{
	background: #0074c7;
	color: #fff;
	transform: scale(1.1);
	padding-left: 30px;
	font-size: 30px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);

}

/**/

.icon_menu{
	font-size: 26px;
	color: white;
	cursor: pointer;
	width: 26px;
	height: 100%;
	display: flex;
	align-items: center;
}

#label_check{
	width: 26px;
	height: 100%;
	display: none;
}

#check_menu{
	display: none;
}

@media screen and (max-width: 720px){

	nav > ul{
		flex-direction: column;
		background-color: #023877;
		position: fixed;
		left: 0;
		top: 36px;
		width: 100%;
		height: 0px;
		transition: all 300ms ease;
		z-index: 100;
		opacity: 0;
		visibility: hidden;
	}
	nav > ul > li > a:hover{
		transform: scale(1);
	}
	nav ul li ul{
		left: 90px;
	}
	nav > ul > li:hover ul{
		top: 70px;
	}
	nav > ul > li:first-child a{
		background-position: 20px;
	}
	#selected{
		transform: scale(1);
	}
	#label_check{
		display: block;
	}
	.icon_menu{
		display: flex;
	}
	#check_menu:checked ~ nav > ul{
		height: 150px;
		visibility: visible;
		opacity: 1;
	}
		
	
}

/******/
.slider{
	width: 100%;
	height: 450px;
	overflow: hidden;
	position: absolute;
	z-index: 0;
	top: 520px;
}

.slider ul{
	display: flex;
	animation: cambiar 20s infinite
	alternate linear;
	width: 400%;
}

.slider li{
	width: 100%;
	list-style: none;
}

.slider img{
	width: 100%;
	height: 60%;
}

@keyframes cambiar{
	0%{ margin-left: 0%; }
	20%{ margin-left: 0%; }

	25%{ margin-left: -100%; }
	45%{ margin-left: -100%; }

	50%{ margin-left: -200%; }
	70%{ margin-left: -200%; }

	75%{margin-left: -300%;}
	100%{margin-left: -300%;}
}

