* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background-color: rgb(241, 197, 130);
	min-width: 100%;
}

/***********************************PORTADA, LOGO Y BARRA DE MENU***********************/
/***************************************************************************************/

header {
	min-width: 100%;
	min-height: 230px;
	display: flex;
}

header img {
	width: 100%;
	height: 100%;
}

.portada {
	background-image: url('imgs/portadaTierra3.png');
	background-position: center;
	background-size: 100% 100%;
	width: 100%;
	height: 230px;
}

.icono {
	width: 150px;
	height: 150px;
	position: absolute;
	top: 1px;
	left: 10px;
}

nav {
	background-color: #CA6500;
	padding: 0.5rem;
}

.barraMenu {
	list-style: none;
	display: flex;
	gap: 2rem;
	justify-content: center;
	flex-wrap: wrap;
}

.barraMenu li {
	position: relative;
}

.barraMenu a,
label {
	color: white;
	text-decoration: none;
	padding: 0.5rem 1rem;
	display: block;
	transition: background-color 0.5s;
}

.barraMenu a:hover,
label:hover {
	background-color: #FC3;
	cursor: pointer;
}

.submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #F90;
	min-width: 200px;
	list-style: none;
}

.submenu li {
	width: 100%;
}

.barraMenu li:hover .submenu {
	display: block;
}

/**********************Estructura contenedor con tres cajas***********************
*********************************diseño escritorio********************************
----------------------------------------------------------------------------------
								|					|					|
								|					|					|
							  	|					|					|				
			w:40%				|		w:30%		|		w:30%		|			h:480px	
								|					|					|				
								|					|					|				
								|					|					|				
---------------------------------------------------------------------------------------*/
main {
	padding: 30px;
	display: flex;
	flex-direction: column;
}

.ctnr_3anuncios {
	display: flex;
	width: 100%;
	height: 480px;
	gap: 30px;
}

.ctnr_principal {
	display: flex;
	flex-direction: column;
	flex-basis: 0;
	flex-grow: 2;
	height: 100%;
	gap: 10px;
	position: relative;
}

.txt_ctnr_header {
	width: 100%;
	font-size: x-large;
}

/******************************************Carrousel de imagenes*************************************/
/****************************************************************************************************/
/**/
.pics_principal {
	/**/
	height: 100%;
	/**/
	overflow: hidden;
	/**/
}

/**/
.pics_principal img {
	/**/
	width: 100%;
	/**/
	height: 100%;
	/**/
	object-fit: cover;
	/**/
	border-radius: 20px;
	/**/
	border: 1px solid #000;
	/**/
}

/***/
.carrousel {
	/***/
	width: 100%;
	/***/
	height: 100%;
	/***/
	position: relative;
	/***/
	overflow: hidden;
	/***/
}

/****/
.carrouselImg {
	/****/
	width: 100%;
	/****/
	height: 100%;
	/****/
	overflow: hidden;
	/****/
}

/****/
.carrouselFlechas {
	/****/
	position: absolute;
	/****/
	height: 100%;
	/****/
	width: 100%;
	/****/
	top: 0;
	/****/
	display: flex;
	/****/
	align-items: center;
	/****/
	justify-content: space-between;
	/****/
	padding: 20px;
	/****/
}

/****/
.pics_principal a {
	/****/
	text-decoration: none;
	/****/
	font-size: 60px;
	/****/
	color: white;
	/****/
	text-shadow: 5px 5px 5px #000;
	/****/
}

/*********************************************************************************************************
**********************************************************************************************************/
.ctnr_secundarios {
	display: flex;
	flex-direction: column;
	flex-basis: 0;
	flex-grow: 1;
	height: 100%;
	gap: 10px;
}

.pics_secundarios {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pics_secundarios figure {
	height: 100%;
	border-radius: 20px;
	border: 1px solid #000;
	overflow: hidden;
}

#pic_sec1 {
	background-image: url(imgs/imgs_Sec/img1.png);
}

#pic_sec2 {
	background-image: url(imgs/imgs_Sec/img2.png);
}

.ctnr_otros {
	display: flex;
	flex-direction: column;
	flex-basis: 0;
	flex-grow: 1;
	gap: 10px;
}

.pics_otros {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
}

.pics_otros figure {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	border: 1px solid #000;
}

#pic_otr1 {
	background-image: url(imgs/imgs_Otros/123Perfil.png);
}

#pic_otr2 {
	background-image: url(imgs/imgs_Otros/124Perfil.png);
}

#pic_otr3 {
	background-image: url(imgs/imgs_Otros/25Perfil.png);
}

#pic_otr4 {
	background-image: url(imgs/imgs_Otros/logo3.png);
}

#pic_otr5 {
	background-image: url(imgs/imgs_Otros/logo3.png);
}

.pics_otros div {
	width: 100%;
	justify-content: center;
	display: flex;
}

.imgBackground {
	background-size: cover;
	background-position: center;
	
}

.comerciosV2{
	width:100%;
	max-height: 200px;
	margin-top: 50px;
	display: flex;
	flex-direction: column;
	background-color: green;
	
	.comercios-divV2{
		width: 100%;
		height: 100%;
		display: flex;
		gap:10px;

		.comercios-divV2 img{
			width: 100%;
			height: 100%;
			object-fit: cover;
			margin-bottom: 10px;
			border-radius: 10px;
			border: 1px solid #000;
		}
	}
}
.comercios {
	width: 96%;
	height: auto;
	/*margin: 50px 0 50px;*/
	margin-top: 50px;
}

.comercios h2 {
	margin-bottom: 10px;
}

.comercios img {
	width: 100%;
	max-height: 150px;
	/*height: 100%;*/
	object-fit: cover;
	margin-bottom: 10px;
	border-radius: 10px;
	border: 1px solid #000;
}

.comercios-div {
	height: 150px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items:baseline;
	gap: 10px;
}

/*
.comercios-div{
	background-color: red;
	height: 150px;
	display:flex;
	flex-wrap: wrap;
	gap:10px;
}*/
.bodyQuienes {
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
}

.presentacion {
	min-width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 20px;
	padding: 30px;
	border: 1px solid #000;
}

.presentacion>label {
	background-color: rgb(247, 159, 76);
	min-width: 25%;
	max-width: 45%;
	min-height: 300px;
	border: 1px solid #000;
	border-radius: 20px;

	color: black;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-family: 'Times New Roman', Times, serif;
	font-style: oblique;
	/*font-size: 16pt;*/
	font-size: x-large;
	padding: 30px;

}

.presentacion .posdata {
	color: black;
	/*font-size: 10pt;*/
	font-size: medium;
	font-style: oblique;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.eventos{
	min-width: 100%;
	display: flex;
	align-items: center;
}
.cardEventos{
	max-width: 50%;
	max-height: 1000px;
	display: flex;
	flex-flow:column nowrap;
	border: 1px solid #000;
	overflow: hidden;
}
.cardEventos  img{
	width: 100%;
	height: 1000px;
	border-radius: 20px;
}

.class_paginas{
	width: 100%;
	display:flex;
	flex-flow: row wrap;
	justify-content: center;
	/*align-content: center;*/
	gap:20px;
}
.card_pagina{
	min-width:30%;
	height: 350px;
	/*border: 1px solid #000;
	border-radius: 10px;*/
	cursor: pointer;
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
	gap:10px;
}
.card_pagina div{
	justify-self: center;
}
.card_pagina label{
	justify-self: center;
	text-decoration:none;
	font-size: 18pt;
	font-style: italic;
	font-family: 'Times New Roman';
	color:#000;
}
.card_pagina img{
	max-width: 250px;
	height: 250px;
}
@media(max-width:768px) {
	.icono {
		width: 75px;
		height: 75px;
		position: absolute;
		top: 0;
		left: 5px;
	}

	.ctnr_3anuncios {
		flex-direction: column;
		height: auto;
		gap: 15px;
	}

	.ctnr_principal {
		flex-basis: 0;
		flex-grow: 1;
		min-width: 100%;
		max-height: 400px;
	}

	.pics_principal a {
		font-size: 40px;
	}

	.ctnr_secundarios {
		flex-basis: 0;
		min-width: 100%;
		min-height: 480px;
	}

	.ctnr_otros {
		flex-basis: 0;
		min-width: 100%;
		min-height: 520px;
	}

	.presentacion > label{
		min-width: 100%;
	}
}