@import url(http://fonts.googleapis.com/css?family=Open+Sans);

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


body{
	background: #808080;
	padding: 0px;
	
}
header{
	width: 100%;
	height: 100%;
	float: center;
	background:#808080;
	position: relative;

	
}
#logo{
	position: relative;
	width: 90%;
	margin: auto;
	background: #bbb;
}
#logo img{
	width: 100%;
	height: 100%
}

#logo .contenedor{
	position: absolute;
	top:40%;
	left:50%;
	transform: translateX(-50%) translateY(-50%);
}

#logo h1{
	font-size: 18px;
	color:#087700;
	text-decoration: solid;
	text-shadow:
		0 0 5px rgba(0,178,255,1),
		0 0 10px rgba(0,178,255,1),
		0 0 20px rgba(0,178,255,1),
		0 0 40px rgba(38,104,127,1),
		0 0 80px rgba(38,104,127,1),
		0 0 90px rgba(38,104,127,1),
		0 0 100px rgba(38,104,127,1),
		0 0 140px rgba(38,104,127,1),
		0 0 180px rgba(38,104,127,1);
}

#logo p{
	font-size: 12px;
	text-decoration: solid;
}

/*MENU HORIZONTAL*/
section{
	width: 90%
	margin-left:20px;
	margin-bottom: 1px;
	background: #bbb;
}

.menu-h{
	width: 90%;
	margin-left: 5%;
	min-height: 20px;
	background: #bbb;
}

.menu-h	ul{
	list-style: none;
	display: flex;
	justify-content: flex-end;
	position: relative;

}
.menu-h a{
	color: #fff;
	display: block;
	padding: 8px;
	text-decoration: none;
	background: #000399;
	font-family: arial;
	font-size: 12px;
	border-radius: 10px 10px;
}
.menu-h a:hover{
	background: #000;
}
.menu-h ul ul{
	display: none;
	position: absolute;
}
.menu-h ul li:hover ul{
	display: block;
}
/*MENU HORIZONTAL*/

/*CONTENIDO Cabecera*/
#contenedor{
	
	width: 90%;
	margin: auto;
	background: #ccc;
}
.contenido{
	width: 90%;
	margin:auto;
}

#menu-v{
	display: none;
}

.contenido h1{
	padding-top: 20px;
	text-align: center;
	margin-top: 0px;
	font-size: 40px;
}

.contenido h2{
	padding-top: 20px;
	text-align: center;
	margin-top: 0px;
	font-size: 30px;
}



.contenido h4{
	margin-top: 10px;
	font-family: arial;
	font-size: 20PX;
	color:#0000ff;
	text-align: center;
	margin-bottom: 20px;
	text-decoration: none;
}
.contenido h4:hover{
	background-color: #ffff00;
	
}



.contenido p{
	margin:20px;
	background: #ccc;
	font-family: arial;
	font-size: 15px;
	text-align: justify;
}
/*CONTENIDO Productos*/

#categorias{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;

}
.catego-section{
	display: inline-flex;
	justify-content: center;
	padding: 5px;
	text-decoration: none;

}
.proy img{
	width: 260px;
	height: 260px;
	flex-wrap: wrap;
	background-color: #ccc
}	

.proy b{
	font-size: 20px;
	text-align: center;
}

.formulario{
	float: left;
	width: 90%;
	margin: auto;
	color: #999;
}
.caja-1{
	width: 80%;
	height: 20px;
	margin-left: 40px;
	margin-bottom: 10px;
	padding: 10px;
	font-size: 14px;

}

.caja-2{
	width: 80%;
	height: 90px;
	margin-left: 40px;
	margin-bottom: 10px;
	padding: 5px;
	font-size: 14px;
}
.enviar{
	width: 80%;
	height: 50px;
	margin-left: 40px;
	margin-bottom: 30px;
	padding: 10px;
	font-size: 20px;
}
.img-izq{
	margin-left: 45px;
	margin-right: 10px;
	margin-bottom: 10px;
}

.error{
	color: red; 
	
}

/*CONTENIDO*/

 /*PIE DE PAGINA*/

footer{
	width: 90%;
	margin-left: 5%;
	min-height: 50px;
	background: #000399;
	border-radius: 0 0 20px 20px;
	color: #fff;
	text-align: center;
	font-size: 12px;
	font-family: arial;
}


@media(min-width: 480px){
	#logo h1{
	font-size: 30px;
	color:#087700;

	}

	#logo p{
	font-size: 16px;
	margin-left: 40px;
	}

	.menu-h a{
	font-size: 14px;
	}
}

@media(min-width: 768px){
	#logo h1{
	font-size: 40px;
	color:#087700;

	}

	#logo p{
	font-size: 20px;
	margin-left: 40px;
	}

	.menu-h a{
	font-size: 16px;
	}
}

@media(min-width: 1024px){
	#logo h1{
	font-size: 60px;
	color:#087700;

	}

	#logo p{
	font-size: 30px;
	margin-left: 40px;
	}

	.menu-h a{
	font-size: 20px;
	}

	.contenido p{
	padding-left: 140px;
	}

	#menu-v{
	display: block;	
	width: 200px;
	height: 100%;
	background: #ccc;
	float: left;
	padding-left: 10px;
	}

	#menu-v ul{
	list-style: none;
	padding: 10px;
	}

	#menu-v a{
	display: block;
	color: #fff;
	background: #000;
	padding: 10px;
	text-decoration: none;
	margin-bottom: 8px;
	border-radius: 5px;
	font-family: arial;	
	font-size: 18px;
	}

	#menu-v a:hover{
	background: #069;
	}

	#menu-v a:hover img{
	animation: 1s rotacion 1;
	}

	.caja-2{
	margin-left: 180px;
	}

	.enviar{
	margin-left: 180px;
	}

	.formulario{
		min-height: 600px;
	}
}


@keyframes rotacion{
	0%{
		transform: rotate(270deg);
	}


}