/* General styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	font-size: 62.5%;
}
body {
   
	font-family: 'Poppins', sans-serif;
	font-size: 1.7rem;
	color: rgb(46, 94, 142);
	
}
a {
	text-decoration: none;
	color: inherit;
}
/* End general styles */
.primary-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
    padding: 10px;
	transition: background-color 0.5s;
}
.container {
	max-width: 120rem;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

/* quienes somos */


.tituloIni {
	top: 12px;
	font-size: 28px;
	color: rgb(0, 152, 74);
}
.contenidoIni{
	top: 122px;
	color: rgb(241, 90, 14);
	font-weight: bold;
}
.paragraph span{
	position: absolute;
	margin: 11%;
	width: 55%;
	height: 50%;
	padding: 20px;
	
	opacity: 0;
	animation: reveales 0.5s forwards var(--d);
	
}
@keyframes reveales {
	from {
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ventana hacia abajo menu */

.dropdown{
	position: relative;
	cursor: pointer;
}
.dropdown > a{
	display: flex;
	align-items: center;
	
	
}
.dropdown > a > img{
	width: 20px;
}
.dropdown:hover .menu2{
	opacity: 1;
	visibility: visible;
}

.menu2 > a {
	font-size: 14px;
	padding: 12px 20px;
}

.menu2 > a:hover{
	background:rgb(0, 174, 239);
}

.menu2 {
	position: absolute;
	top: 30px;
	right: -20px;
	display: grid;
	width: 180px;
	padding: 8px 0;
	background: #fff;
	border-radius: 10px;
	border: 1px solid #313131;
	box-shadow: 
	0 40px 40px
	rgb(0, 0, 0 / 6%);
	opacity: 0;
	visibility: hidden;
	transition: 0.25s;
	color: rgb(17, 89, 138);
}

.menu2::before{
	content: "";
	background: inherit;
	border-top: 1px solid #000000;
	border-right: 1px solid #313131;
	position: absolute;
	top: -7px;
	right: 22px;
	width: 12px;
	height: 12px;
	rotate: -45deg;
}


/* titulo animado */

.title span {
	--total: calc(var(--duration) + var(--delay));
    margin-top: 20px;
    margin-bottom: 50px;
	position: relative;
	display: flex;
    justify-content:center;
	color: transparent;
	overflow: hidden;
	animation: reveal 1s var(--total) forwards;
}

@keyframes reveal {
	from {
		transform: translateX(500px);
	}
	to {
        display: flex;
		color: rgb(0, 152, 74);
		
	}
}

/* fin titulo anima */
.navbar {
	height: 7.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid 
		rgba(255, 255, 255, 0.05);
	transition: height 0.25s;

}
.logo {
	font-size: 2.4rem;
	font-weight: 900;
	
    
}
/* logotipo tamaño */
img{
	width: 150px;
	height: 150px;
	
	
}

.nav-list {
	list-style: none;
	display: flex;
	margin-left: auto;
	margin-right: auto;
    gap: 4.5rem;
	
    
   
}
/* menu superior caract. */
.nav-link {
	transition: color 0.25s;
	align-items:flex-start;
	color: rgb(17, 89, 138);
	
}
.nav-link:hover {
	color: rgb(0, 152, 74);
}

nav #toggle,
nav label {
  display: none;
}

.wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}


/* CAMBIOS TRAS TAMAÑO DE PANTALLA */

@media (max-width: 50.625em) {

	/* ventana de contactar emergente de información */

	.map{

		width: 200px ;
		height: 200px;
	}
	.inf_contact{
		height: 190px;
		font-size: 10px;
	}
	.popup h2{
		font-size: 16px;
	}
	
	/* eliminado de boton de soporte en pantalla  pequeña */
	.button{
		opacity: 0;
		position: absolute;
	}

	/* contenido de quienes somos  */
	.paragraph span{
		position: absolute;
		margin: 15%;
		width: 90%;
		height: 10%;
		margin-left: 2%;
		

	}
	/* titulo de quienes somos  */
	.tituloIni {
		top: 42px;
		font-size: 30px;
		
	}

	/* contenido de quienes somos */
	.contenidoIni{
		top: 130px;
		font-size: 15px;
	}
	.navbar {
		height: 7.5rem;
		display: flex;
		align-items: center;
		justify-content: space-between;
		border-bottom: 2px solid 
			rgba(255, 255, 255, 0.05);
		transition: height 0.25s;
	
	}
    nav .menu {
      width: 100%;
      height: 0;
      overflow: hidden;
      
    }
	 
    
	.nav-list {
		flex-direction:column;
		flex-wrap:wrap;
		list-style: none;
		display: flex;
		margin-left: auto;
		margin-right: auto;
		margin-top: 2px;
		gap: 2rem;
		align-items: center;
		justify-content:flex-end;
		
		
	   
	}
	
	
    nav label {
      display:inline;
      color: rgb(46, 94, 142);
      cursor: pointer;
	  
	  
    }
    nav #toggle:checked ~ .menu  {
        
      height: auto;
      margin: 0 auto;
	  display:contents;
	  position: absolute;

    }
	.title span::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 25px;
		transform: scaleX(0);
		transform-origin: left;
		background-color: rgb(0, 152, 74);
		animation: rollIn var(--duration) var(--delay) forwards,
			rollOut var(--duration) var(--total) forwards;
	}

	nav #toggle:checked ~ .button{
		opacity: 0;
		
	}

    .demo-content{
        flex-direction:column;
        justify-content:space-between;    
        place-content: center;
        align-items: center;
		
		
    }

	section article{
		margin-top: 30px;
	}
	
	
	

}
.button {
	display: inline-block;
	background-color: #fff;
	color: #313131;
	padding: 0.8rem 2rem;
	border-radius: 2rem;
	transition: background-color 0.25s;
}
.button:hover {
	background-color: #d3d3d3;
}

header.active {
	background-color: rgb(255, 255, 255);
	box-shadow: 0 3px 1rem rgba(0, 0, 0, 0.1);
}
header.active .navbar {
	height: 6rem;
}

/* color letras en fondo */

.logo{
	color: rgb(46, 94, 142);
	
}

/* cambio de color tras navegar hacia abajo */

header.active .logo,
header.active .nav-link,
header.active .material-icons {
	color: rgb(17, 89, 138);
}
header.active .nav-link:hover {
	color: rgb(0, 152, 74)
}
header.active .button {
	background-color: #313131;
	color: rgb(255, 255, 255);
}


/* contacto de aparición de información */

.popup{
	width: 600px;
	background: rgb(46, 94, 142);
	border-radius: 6px;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%,-50%) scale(0.1);
	text-align: center;
	padding: 0 30px 30px;
	color: #fff;
	visibility: hidden;
	transition: transform 0.5s, top 0.5s;
}

.open-popup{
	visibility: visible;
	top: 290%;
	transform: translate(-50%,-50%) scale(1);
}

.popup h2{

	font-size: 38px;
	font-weight: 500;
	margin: 30px 0 10px;

}

.popup button{
	display: inline-block;
	background-color: #ffffff;
	color: rgb(46, 94, 142);
	padding: 0.8rem 2rem;
	border-radius: 2rem;
	transition: background-color 0.25s;
}

/* notificacion politica de privacidad */
#link{
	color: blue;
	text-decoration: underline;
}
.texto-cookies{
	color: #313131;
}
.popup-cookies{
	display: grid;
    place-items: center;
    position:fixed;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.257);
    z-index: 1000;
}
.popup-contenido{
	max-width: 600px;
    max-height: 80%;
    background: white;
    padding: 40px;
    border-radius: 5px;
    text-align: center;
    overflow: auto;
    display: flex;
    flex-direction: column;
	text-align: start;
    margin: 10px;
}
.popup-buttons{
	margin-top: 30px;
}
#accept-btn{
	color: white;
	background-color: rgb(39, 109, 150);
	padding: 12px;
	border-radius: 8px;
	border: 0;
	font-weight: bold;
}
#accept-btn:hover{
	background-color: rgb(25, 69, 94);
}
#deny-btn{
	color: white;
	background-color: rgb(199, 11, 11);
	padding: 12px;
	border-radius: 8px;
	border: 0;
	font-weight: bold;
}
#deny-btn:hover{
	background-color: rgb(136, 8, 8);
}

/* mapa de lugar */

div iframe{
	position: relative;
	overflow: hidden;
	width: 100%;
	
}
/* fin mapa de lugar */
/* Hero Demo Content*/
.hero {
	width: 100%;
	height: 76vh;
	background: url('gotas-agua-limpia-sobre-fondo-claro.jpg') center no-repeat;
	background-size: cover;
	position: relative;
}

/* imagen fondo oscurecido */
.hero::after {
	content: '';
	width: inherit;
	height: inherit;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.0);
}


/* Hero end*/

/* body imagen card animado */
/* ======================== */
/* 
    Ignore the following styles. They are not important to achieve the effect.
    I'm only using them for looks (overall page background/font styles/centering content).
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

.demo-content {
	width: 100%;
	
	background-color: rgb(255, 255, 255);
}
html,

body {
	font-family: 'Poppins', sans-serif;
	background-color: #ffffff;
	
	
}

 
/* ======================== */
.demo-content{
    display:flex;
    justify-content:space-around;
    margin-top: 80px;
}

/* caract de las cartas y contenido */
.card {
	position: relative;
	z-index: 1;
	display: grid;
	place-content: center;
	width: 200px;
	height: 200px;
	color: rgb(241, 90, 14);
	text-align: center;
	background: url('./llaves-diferentes-mesa.jpg') center no-repeat;
	background-size: cover;
	padding: 20px;
	border-radius: 20px;
	overflow: hidden;
}

.card::before,
.card::after {
	content: '';
	position: absolute;
	left: 0;
	z-index: -1;
	width: 100%;
	height: calc(60% + 65px);
	background-color: #fff;
	transition: transform 0.5s 0.25s;
}
.card::before {
	top: 0;
	clip-path: polygon(0 0, 100% 0, 100% 45%, 0% 100%);
	transform: translateY(-100%);
}
.card::after {
	bottom: 0;
	clip-path: polygon(0 55%, 100% 0, 100% 100%, 0% 100%);
	transform: translateY(100%);
}
.card__body {
	opacity: 0;
	transition: opacity 0.25s;
}
.card__title {
	
	color: rgb(17, 89, 138);
	margin-bottom: 15px;
	transition: opacity 0.25s;
	
}
.card:hover::before,
.card:hover::after {
	transform: translateY(0);
}

.card:hover .card__title {
	opacity: 1;
	transition-delay: 0.75s;
	color: rgb(17, 89, 138);
}
.card:hover .card__body {
	opacity: 1;
	transition-delay: 0.75s;
}

/* carrusel de imagenes */

*,
			*::before,
			*::after {
				margin: 0;
				padding: 0;
				box-sizing: border-box;
			}
			
			
			/* Demo styles end */
			.swiper {
				width: 80%;
	            height: 70vh;
                
			}
			.swiper-slide {
				position: relative;
				background-color: #000;
			}
			.swiper-slide img {
				display: block;
				width: 100%;
				height: 100%;
				object-fit: cover;
			}
			.swiper button {
				width: 50px;
				height: 50px;
				color: rgb(255, 161, 9);
				background: transparent;
				border: none;
				outline: none;
				transition: opacity 0.25s;
			}
			.swiper button:hover {
				opacity: 0.8;
			}

            /* tamaño flechas carrusel de imagenes */
			.swiper button::before,
			.swiper button::after {
				font-size: 38px;
			}

            
			.swiper-pagination-bullet {
				background-color: #fff;
			}

			.swiper-description {
				position: absolute;
				left: 0;
				bottom: 0;
				isolation: isolate;
				padding: 50px 25px 25px;
				color: #fff;
			}
			.swiper-description::before {
				content: '';
				position: absolute;
				left: 0;
				bottom: 0;
				z-index: -1;
				width: 100%;
				height: 100%;
				background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.8) 50%);
			}
			.swiper-description h2 {
				font-size: 42px;
				letter-spacing: 2px;
				text-transform: uppercase;
			}
			.swiper-description p {
				font-size: 14px;
				max-width: 50%;
				margin-bottom: 15px;
			}

			iframe{
				width: 52%;
				height: 92%;
			}
			
		/* texto  */
.contenidoLegal {
	color: rgb(17, 89, 138);
	margin-left: 150px;
	margin-right: 180px;
	font-size: 20px;
				
}


.cardds {
	position: relative;
  }
  
  .cardds__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5em;
  }
  
  .cardd {
	--flow-space: 0.5em;
	--hsl: var(--hue), var(--saturation), var(--lightness);
	flex: 1 1 14rem;
	padding: 1.5em 2em;
	display: grid;
	grid-template-rows: auto auto auto 1fr;
	align-items: start;
	gap: 1.25em;
	color: #eceff1;
	background-color: rgb(0, 152, 74);
	background-position: center center;	border: 1px solid #eceff133;
	border-radius: 15px;
  }


  .cardd:nth-child(1) {
	--hue: 165;
	--saturation: 82.26%;
	--lightness: 51.37%;
  }
  
  .cardd:nth-child(2) {
	--hue: 291.34;
	--saturation: 95.9%;
	--lightness: 61.76%;
  }
  
  .cardd:nth-child(3) {
	--hue: 338.69;
	--saturation: 100%;
	--lightness: 48.04%;
  }
  
  .cardd__bullets {
	line-height: 1.4;
	list-style: none;
  }
  
  .cardd__bullets li::before {
	display: inline-block;
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='16' title='check' fill='%23dddddd'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z' /%3E%3C/svg%3E");
	transform: translatey(0.25ch);
	margin-right: 1ch;
  }
  
  .cardd__heading {
	font-size: 1.05em;
	font-weight: 600;
  }


  
  
  
 
  
  


/* footer */

.footer {
    padding-block: 50px;
    padding-bottom: 25px;
    background-color: rgb(17, 89, 138);
	color: #fff;
    /* Margin-top: auto; for demo use only */
    margin-top: auto;
}
.footer__container {
    max-width: 1160px;
    margin: auto;
    padding: 0 15px;
}
.footer__top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    row-gap: 20px;
}
.footer__title {
    font-size: 18px;
    color: rgb(114, 191, 68);
    font-weight: 500;
    margin-bottom: 20px;
}
.footer__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer__list-link {
    transition: color 0.25s;
}
.footer__list-link:hover {
    color: rgb(247, 148, 30);
}
.footer__divider {
    margin-block: 25px;
    border: none;
    border-top: 1px solid rgba(252, 255, 255, 0.1);
}
.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer__list--bottom {
    flex-direction: row;
}