/*variables*/
:root{
	--banner-verde: #009C8F;
	--texto-menu-rosado: #B7156D;
	--texto-menu-gris: #707070;
	--texto-verde: #579A8D;
	--texto-blanco: #FFFFFF;
}
/*fonts*/
@font-face {
	font-family: Univia Pro;
	src: url('../../public/fonts/UniviaProRegular.otf');
}
/*reglas generales*/
*{
	box-sizing: border-box;
	font-family: Univia Pro;
}
body{
	margin: 0;
}
/*banner de reconocimiento*/
.reconocimiento{	
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	background: var(--banner-verde);
	width: 100%;
	margin: auto;
	padding: 1em;
	text-align: center;
}
.reconocimiento span{
	color: var(--texto-blanco);
	font-size: 1rem;
	letter-spacing: 0.2rem;
}
/*barra de menu*/
.menu{
	width: 100%;
	margin: auto;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;	
}
.logo {
	display: inline-block;
	margin: 0 1em 0 2em;
}
.logo img{
	width: 20em;
}
.links{	
	padding-right: 1em;
}
.links ul li{
	display: inline-block;
	padding: 0.5em 1em 1em 1em;
}
.links ul li a{
	list-style: none;
	font-size: 1rem;	
	color: #707070;
	text-decoration:none;
}
.links ul li a:hover{
	color: #B7156D;
}
.links ul li a img{
	width: 2em;	
}
.submenu{
	position: absolute;
	/*display: block;*/
	display: flex;
	flex-direction: column;
	background: #ffffff;
	width: auto;
	opacity: 0;
	visibility: hidden;
	padding: 0.5em;
}
.links li:hover .submenu{
	margin-top: 1em;
	opacity: 1;
	visibility: visible;
	transition: all 0.3s ease;
	z-index: 4;
}
/*menu-responsive*/
.menu-icon{
	margin: 1em 1em 1em 2em;
	color: #707070;	
	font-size: 18px;
	cursor: pointer;
}
.links ul li label{
	color: #707070;
	font-size: 1rem;
	font-weight: 500;
	padding: 9px 13px;
	border-radius: 5px;
	transition: all 0.3s ease;
}
.links ul li label:hover{
	color: #B7156D;
}
.menu-icon,
.pregunta-mobile,
#show-menu,
#show-servicios,
#show-almoneda,
#show-sucursales,
#show-legales,
#show-contacto{
	display: none;
}
.links ul li label{
	display: none;
}
.redes-sociales-mobile{
	display: none;
}
/*redes sociales*/
.container-redes-sociales{
	position: fixed;
	width: 70px;	
	height: 400px;	
	right: 0;
	top: 25%;
	background: rgba(87, 154, 141, 0.57);
	border-radius: 50px 0 0 50px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	border: 1px solid rgba(87, 154, 141, 0.19);
	z-index:3;
	display: flex;
	flex-direction: column;
	gap: 1em;
	padding: 2.8em 0 0 0.5em;
}
.container-redes-sociales:hover {
	transition: opacity 1.0s;
	transform: scale(1.2);
	transform-origin: center;
}
/*responsive*/
@media screen and (max-width: 1680px) {
	/*header*/
	.logo img{
		width: 15em;
	}
	.links ul li{
		padding: 0.5em 0.5em 1em 0.5em;
	}
	.bannerCatalogo img{		
		max-width: 37.5em;
	}
}
@media screen and (max-width: 1280px) {
	/*reconocimiento*/
	.reconocimiento span{
		font-size: 14px;
		letter-spacing: 1px;
	}
	/*header*/
	.logo img{
		width: 10em;
	}
	.links ul li a{	
		font-size: 1rem;	
	}
	.links ul li{
		padding: 0.4em 0.4em 1em 0.4em;
	}
	.bannerCatalogo img{		
		max-width: 25em;
	}
}
@media screen and (max-width: 1085px){
	/*header*/
	.logo img{
		width: 10em;
	}
	.container-redes-sociales{
		display: none;
	}
	.menu-icon{
		display: block;
		margin-bottom: 1em;
		display: flex;
	}	
	.cerrar_menu{
		color: #B7156D;
		font-size: 2rem;
		margin-top: 1em;
		margin-left: 7em;
	}
	/*redes-sociales*/
	.links{
		display: flex;
		flex-direction: column;
		position: fixed;
		background: #ffffff;
		height: 100vh;
		width: 100%;
		top: 0;
		left: -100%;
		margin-left: 0;
		max-width: 350px;
		overflow-y: auto;
		padding: 1em 2em 3em 2em;
		/*padding-bottom: 3em;*/
		transition: all 0.3s ease;
		z-index: 4;
	}
	.menu #show-menu:checked ~ .links{
		left: 0%;
	}
	.links ul{
		padding-left: 0;
		margin-bottom: 1em;
	}
	.links ul li{
		display: block;
		padding: 0;
		align-content: center;
	}
	.links ul li a{
		line-height: 2.5rem;
		font-size: 1rem;
		display: block;
		padding: 0.25em -0.5em;
		cursor: pointer;
	}
	.links ul li label{
		line-height: 2.5rem;
		font-size: 1rem;
		display: block;
		padding: 0;
		cursor: pointer;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.servlink{
		width: 5em;
	}
	.almlink{
		width: 6em;
	}
	.suclink{
		width: 7em;
	}
	.links ul li .desktop-link{
		display: none;
	}
	
	.links ul #pregunta-menu{
		display: none;
	}
	.submenu{
		position: static;
		display: none;
		opacity: 1;
		visibility: visible;
		max-height: 0px;
		overflow: hidden;
		width: 17rem;
		background: #F2F2F2;
		align-content: center;

	}
	.menu #show-servicios:checked ~ .submenu,
	.menu #show-almoneda:checked ~ .submenu,
	.menu #show-sucursales:checked ~ .submenu,
	.menu #show-legales:checked ~ .submenu,
	.menu #show-contacto:checked ~ .submenu{
		display: block;
		max-height: 100vh;
	}
	.menu #show-servicios:checked ~ label a,
	.menu #show-almoneda:checked ~ label a,
	.menu #show-sucursales:checked ~ label a,
	.menu #show-legales:checked ~ label a,
	.menu #show-contacto:checked ~ label a{
		color: var(--texto-menu-rosado);
	}
	.menu #show-servicios:checked ~ label ion-icon,
	.menu #show-almoneda:checked ~ label ion-icon,
	.menu #show-sucursales:checked ~ label ion-icon,
	.menu #show-legales:checked ~ label ion-icon,
	.menu #show-contacto:checked ~ label ion-icon{
		transition: all 0.3s ease;
		transform: rotate(180deg);
	}
	.submenu li{
		margin: 7px 20px;
	}
	.submenu li a{
		font-size: 16px;
		line-height: 0px;
	}
	.pregunta-mobile{
		display: block;
		margin: 1em 3em 1em 1em;
		width: 2em;
	}
	.redes-sociales-mobile{
		display: flex;
		justify-content: space-between;
		padding: 0 1em;
		margin-top: 3em;
	}
}
@media screen and (max-width: 825px){
	.reconocimiento span{
		font-size: 12px;
		letter-spacing: 1px;
	}
}
@media screen and (max-width: 420px){
	.reconocimiento span{
		font-size: 9px;
		letter-spacing: 1px;
	}
}

@media screen and (max-width: 345px){
	.logo {
		margin: 0;
	}
	.cerrar_menu{
		color: #B7156D;
		font-size: 2rem;
		margin-top: 1em;
		margin-left: 6em;
	}
	.pregunta-mobile {
		margin: 1em 2em 1em 1em;
	}	
}
