html, body {
	margin: 0;
	height: 100%;
	background-color: #000E55;
	font-family: 'Roboto', sans-serif;
	font-family: 'Rajdhani', sans-serif;
}


html {
	scroll-behavior: smooth;
}

header {
	width: 50%; 
	height: 70px; 
	line-height: 140px;
	background-color: #303030; 
	text-align: center;
	float: left;

}

nav {
	width: 50%; 
	height: 70px; 
	line-height: 70px;
	background-color: #303030; 
	text-align: center;
	float: right;

}	

a {
	text-decoration: none;
}		

h1 {
	text-align: center;
	color: #E5AD36;
	font-family: 'Rajdhani', sans-serif;
	line-height: 80px;
}

h2 {
	text-align: center;
	color: #303030;
	font-family: 'Rajdhani', sans-serif;
}

h3 {
	text-align: left;
	color: #C9C18B;
	font-family: 'Rajdhani', sans-serif;
	margin:0;
}

h4, p {
		   color: #000E55;
		   font-family: 'Rajdhani', sans-serif;
}

#banner {
	background-image: url("presentacion.png");
	height: 100%;
	width: 100%;
}	


section {
	width: 100%;
	height: auto;
	color: #333333;
	float: left;
}

footer { 
	width: 100%; 
	height: 10px;
	line-height: 100px;
	color: white;
	background-color: #000E55; 
	clear: both;
}

#logo_pie {
	display: block;
	margin: auto;
	width: 80px;
	height: 70px;
}

#logo_header {
	display: block;
	margin: auto;
	width: 268px;
	height: 70px;
}

/* --------------------- ESTILO BARRA NAVEGACION (TOP NAV) --------------------- */

ul {
	    list-style-type: none;
	    margin: 0;
	    padding: 0;
	    overflow: hidden;
		}

		li {
		    float: left;
		}

		li a {
		    display: block;
		    color: white;
			font-family: 'Rajdhani', sans-serif;
		    text-align: center;
		    padding: 0px 16px;
		    text-decoration: none;
		}

		li a:hover:not(.active) {
		    background-color: #E5AD36;
		}

		.active {
	    	background-color: #E5AD36;
		}

/* --------------------- ESTILO PRESENTACION --------------------- */

#imagen_presentacion {
	width: 30%;
	height: 100%;
	float: left;
	padding: 20px;
}

#imagen_presentacion img {
	width: 80%;
	border-radius: 8px;
}

#texto_presentacion {
	width: 70%;
	float: left;
	padding: 20px;
	color: #EBC8A5;
}

/*-------------------------------------SECCION CONTACTO-------------------------*/


#mapa{
	width: 50%;
	float: left;
	background-color: #000E55;
	padding:20px;
	box-sizing: border-box;
}

#formulario{
	width: 50%;
	float: right;
	background-color:#000E55;
	box-sizing: border-box;
	padding: 12px;
}

/*=========================== seccion y aside de igual alto ================*/

#contacto {
	overflow:hidden;		
}

#mapa, #formulario {
	padding-bottom: 100%;
	margin-bottom: -100%;
}

/* --------------------estilos de formulario de contacto------------------- */

#contenedor_form {
	border-radius: 10px;
	background-color: #000E55;
	padding: 20px;
	width: 90%;
	margin: auto;
	margin-top: 10px;
	margin-bottom: 20px;
	color: #E6B650;
}

input[type=text], [type=email] {
	width: 100%;
	padding: 12px 20px;
	margin: 8px 0;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

input[type=submit] {
	width: 100%;
	background-color: #2465AB;
	color: #000E55;
	padding: 14px 20px;
	margin: 8px 0;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

input[type=submit]:hover {
	background-color: #E6B650;
}



/*---------------------------GO TO TOP BUTTON------------------------------*/

#myBtn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	font-size: 18px;
	border: none;
	outline: none;
	background-color: #E5AD36;
	color: #000E55;
	cursor: pointer;
	padding: 15px;
	border-radius: 4px;
}

#myBtn:hover {
	background-color: #555;
}

/*:::::::::::::::::::::::::galería de imágenes PORTAFOLIO::::::::::::::*/


* {
	box-sizing: border-box;
}
.container_portafolio{
	background-color: #E5AD36;
	width: 100%;
	padding: 2% 10%;
}


/* Position the image container (needed to position the left and right arrows) */
.container {
	position: relative;
	background-color: #E5AD36;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* Hide the images by default */
.mySlides {
	display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
	cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
	cursor: pointer;
	position: absolute;
	top: 40%;
	width: auto;
	padding: 16px;
	margin-top: -50px;
	color: #E5AD36;
	font-weight: bold;
	font-size: 20px;
	border-radius: 0 3px 3px 0;
	user-select: none;
	-webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}

/* Container for image text */
.caption-container {
	text-align: center;
	background-color: #E5AD36;
	padding: 2px 16px;
	color: #E5AD36;
}

.row:after {
	content: "";
	display: table;
	clear: both;
}

/* Six columns side by side */
.column {
	float: left;
	width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
	opacity: 0.6;
}

.active,
.demo:hover {
	opacity: 1;
}



/*------------------PORTAFOLIOS CON FILTROS------------------*/

/* Center website */
.main {
	max-width: 1000px;
	margin: auto;
	background-color: orange;
	padding: 30px;
}

.row {
	margin: 10px -16px;
}

/* Add padding BETWEEN each column (if you want) */
.row,
.row > .column {
	padding: 8px;
}

/* Create three equal columns that floats next to each other */
.column {
	float: left;
	width: 33.33%;
	display: none; /* Hide columns by default */
}

/* Clear floats after rows */
.row:after {
	content: "";
	display: table;
	clear: both;
}

/* Content */
.content {
	background-color: #E5AD36;
	padding: 10px;
	cursor: pointer;
}

/* The "show" class is added to the filtered elements */
.show {
	display: block;
}

/* Style the buttons */
.btn {
	border: none;
	outline: none;
	padding: 10px 16px;
	background-color: #EBC8A5;
	cursor: pointer;
	border-radius: 5px;
}

/* Add a grey background color on mouse-over */
.btn:hover {
	background-color: #E5AD36;
}

/* Add a dark background color to the active button */
.btn.active {
	background-color: #2465AB;
	color: #EBC8A5;
}

/*---------------------------REGLAS DE MEDIOS------------------------------*/

@media only screen and (max-width: 800px) {

	header{
		
		width: 100%;
		text-align: center;
	}

	nav{
		
		width: 100%;
		line-height: normal;
		height: 120px;
	}	

	li {
		   width: 100%;
		   height: 20px;
		   padding: 5px;
		   line-height: 20px;
	}

	li a {
		   
		    padding: 5px 16px;
		  
	}

	#banner{
		padding: 0px;
		margin:0px;
	}	

	#mapa{
		width: 100%;
	}

	#formulario{
		width: 100%;
		
	}


	.column{
		width: 50%;
	}
	
}


@media only screen and (max-width: 600px) {
 	.topnav a:not(:first-child) {display: none;}
  	.topnav a.icon {
	    float: right;
	    display: block;
	  }

	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
	    position: absolute;
	    right: 0;
	    top: 0;
	  }

	.topnav.responsive a {
	    float: none;
	    display: block;
	    text-align: left;
	  }



/* clase de cada cajita en LA GALERÍA DE PORTAFOLIO  */
	.column {
  		width: 100%;
  	}
