@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}
/* ESTILO DE TARJETAS#f8746f #229B92;*/
body {
	background: #f8746f;
	color: #ffffff;
	font-family: 'Poppins', sans-serif;
	font-size: 17pt;
	font-weight: 300;
	letter-spacing: 0.025em;
	line-height: 1.65;
}

body.is-preload *, body.is-preload *:before, body.is-preload *:after {
	animation: none !important;
	transition: none !important;
}

@media screen and (max-width: 1680px) {
	body {
		font-size: 14pt;
	}
}

@media screen and (max-width: 1280px) {
	body {
		font-size: 12pt;
	}
}

@media screen and (max-width: 360px) {
	body {
		font-size: 11pt;
	}
}

@media screen and (max-width: 480px) {
	html, body {
		min-width: 320px;
	}
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
}

a:hover {
	color: #000000 !important;
}

strong, b {
	color: #ffffff;
	font-weight: 600;
	text-transform: none;
}

em, i {
	font-style: italic;
	
}

h1, h2, h3, h4, h5, h6 {
	color: #ffffff;
	font-weight: 600;
	margin: 0 0 1em 0;
	text-transform: none;
}

section.special, article.special {
	text-align: center;
}

header.major {
	width: max-content;
	margin-bottom: 2em;
}

header.major > :first-child {
	margin-bottom: 0;
	width: calc(100% + 0.5em);
}

header.major > :first-child:after {
	content: '';
	background-color: #ffffff;
	display: block;
	height: 2px;
	margin: 0.325em 0 0.5em 0;
	width: 100%;
}

header.major > p {
	font-size: 0.7em;
	font-weight: 600;
	letter-spacing: 0.25em;
	margin-bottom: 0;
	text-transform: uppercase;
	text-transform: none;
}

body.is-ie header.major > :first-child:after {
	max-width: 9em;
}

body.is-ie header.major > h1:after {
	max-width: 100% !important;
}

@media screen and (max-width: 736px) {
	header.major > p br {
		display: none;
	}
}

/* ESTILO DE TARJETAS */
.tiles {
	display: flex;
	flex-wrap: wrap;
	border-top: 0 !important;
}

.tiles + * {
	border-top: 0 !important;
}

.tiles article {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 40%;
	height: 40vh;
	max-height: 40em;
	min-height: 23em;
	padding: 4em 4em 2em 4em;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	cursor: default;
	position: relative;
	transition: transform 0.25s ease, opacity 0.25s ease, filter 1s ease;
	overflow: hidden;
}

.tiles article .image {
	height: 280px; /* Puedes ajustar esto a 280px si las quieres más grandes */
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	padding: 10px;
	/* background-color: white; */ /* No necesitamos fondo */
  }
  
  .tiles article .image img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain; /* Esto hace que no se recorte */
  }


.tiles article header {
	position: relative;
	z-index: 3;
}

.tiles article h3 {
	font-size: 1.75em;
}

.tiles article h3 a:hover {
	color: inherit !important;
}

.tiles article .link.primary {
	border: 0;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 4;
}

.tiles article:before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.85;
	transition: opacity 0.5s ease;
	z-index: 2;
}

.tiles article:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* COLOR DE HOVER DE LAS */
	background-color: rgba(36, 67, 36, 0.25);
	z-index: 1;
}

.tiles article:hover:before {
	opacity: 0;
}

.tiles article.is-transitioning {
	transform: scale(0.95);
	filter: blur(0.5em);
	opacity: 0;
}

.tiles article:nth-child(4n - 1),
.tiles article:nth-child(4n - 2) {
	width: 60%;
}
/* COLORES DE LOS CARDS */
.tiles article:nth-child(6n - 5):before { background-color: #6fdf9a; }
.tiles article:nth-child(6n - 4):before { background-color: #8d82c4; }
.tiles article:nth-child(6n - 3):before { background-color: #ec8d81; }
.tiles article:nth-child(6n - 2):before { background-color: #e7b788; }


/* MEDIA QUERIES RESPONSIVE */
@media screen and (max-width: 1280px) {
	.tiles article {
		padding: 4em 3em 2em 3em;
		height: 30vh;
		max-height: 30em;
		min-height: 20em;
	}
}

@media screen and (max-width: 980px) {
	.tiles article {
		width: 50% !important;
	}
}

@media screen and (max-width: 736px) {
	.tiles article {
		padding: 3em 1.5em 1em 1.5em;
		height: 16em;
		max-height: none;
		min-height: 0;
	}

	.tiles article h3 {
		font-size: 1.5em;
	}
}

@media screen and (max-width: 480px) {
	.tiles {
		display: block;
	}

	.tiles article {
		background: none !important;
		width: 100% !important;
	}
}





/*-CODIGO FUNCIONAL PARA HOVER EN MENU PRINCIPAL-*/
.menu-image {
    width: 17px; /* o el tamaño que necesites */
    margin-bottom: 0px;
}
.nav-item {
	position: relative;
	display: inline-block;
	padding: 0.5em 1em;
	color: #5c5c5c;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .nav-item::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0%;
	height: 2px;
	background-color: #FCC31C;
	transition: width 0.3s ease-in-out;
  }
  

  
  .nav-item:hover::after {
	width: 100%;
  }
  