
/* ///////////////////////////////////////////BÁSICO E INICIO/////////////////////////////////////////// */

@font-face {
  font-family: CustomFont; /* Name your font family */
  src: url(MomcakePro-Bold.otf); /* Locate the .ttf file within your directory*/
}

body {
  font-family: CustomFont, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(#1C2223, #153E4C);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-width: 100%;
}

h1 {
  font-size: clamp(1.5rem, 5vw, 3rem);
}

p {
  font-size: clamp(1rem, 3vw, 1.3rem);
}

a {
	text-decoration: none;
}

.texto_centrado {
	text-align: center;
}

/* unvisited link */
a:link {
  color: #fff;
}

/* visited link */
a:visited {
  color: #fff;
}

/* mouse over link */
a:hover {
  color: #802053;
  text-decoration: none;
}

header {
  color: white;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: flex;
  justify-content: space-between;
  Background-color: transparent;
  width: 100%;
  max-width: 1150px;
  margin-bottom: 15px;
}

.mainContent {
	max-width: 1200px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.mainContent p {
	width: 100%;
}

.logo img{
  max-width: 150px;
  height: auto;
}

.menu {
	display: flex;
	justify-content: right;
	align-items: flex-end;
	padding-bottom: 10px;
	font-size: 120%;
}	

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

.banner {
	display: flex;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;
	margin-top: 40px;
}

.banner img {
	width: 500px;
	max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.banner .banner2 {
	width: 300px;
	max-width: 90%;
    max-height: 300px;
    object-fit: contain;
}

.banner .banner3 {
	width: 400px;
	max-width: 85%;
    max-height: 300px;
    object-fit: contain;
}

.general {
	display: flex;
    justify-content: center;
    align-items: center;
}

.general img {
	max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.divider {
	display: flex;
    justify-content: center;
    align-items: center;
	margin: 20px
}

.divider img {
	max-width: 30px;
    max-height: 30px;
    object-fit: contain;
}

.general2 {
	display: flex;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;

}

.general2 img {
	width: 60%;
	max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.general2 p {
	width: 30%;
	max-width: 100%;
    max-height: 100%;
    object-fit: contain;
	text-align: left;
}

.general3 {
	display: flex;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;

}

.general3 img {
	width: 55%;
	max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.general3 p {
	width: 35%;
	max-width: 100%;
    max-height: 100%;
    object-fit: contain;
	text-align: left;
	margin: 2vw;
}

main {
  flex: 1;
  padding: 1px;
}

main.heroes {
  height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#img_portada {
	max-width: 100%;
}

.hero-content {
	display: flex;
    justify-content: space-around;
    align-items: center;
	max-width: 100%;
}

.left {
	max-width: 25%;
	overflow: hidden;
	height: auto;
	padding: 10px;
}

.left img{
	width: 100%;    
    height: 100%;
	object-fit: cover;
}

.center {
	max-width: 40%;
	overflow: hidden;
	height: auto;
}

.center img{
	width: 100%;    
    height: 100%;
	object-fit: cover;
}

.right {
	max-width: 35%;
	overflow: hidden;
	height: auto;
}

.right img{
	width: 100%;    
    height: 100%;
	object-fit: cover;
}

.social-links .imgfull {
	width: 20px;
	height: auto;
}

.social-links {
	text-align: center;
	padding-bottom:10px;
	padding-top: 10px;
	font-size: 130%;
}

.s-l {
	display: inline-block;
	text-align: center;
	align-items: center;
	text-align: center;
	position: relative;
}

.s-l a {
	padding-right: 5px;
	/*padding-bottom: 5px;*/
	display: inline-block;
	vertical-align: middle;
}

.s-l .imgfull {
	padding-left: 5px;
	/*padding-bottom: 5px;
	padding-top: 5px;*/
	display: inline-block;
	vertical-align: middle;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero-content p {
  margin-bottom: 2rem;
}

.btn-primary {
  background: #e91e63;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #c2185b;
}

#languageToggle {
  background-image: url('../img/en.png');
  background-size: cover;
  width: 32px;
  height: 20px;
  border: none;
  margin-left: 1rem;
  cursor: pointer;
  background-position: center;
}

/* ///////////////////////////////////////////TAOR/////////////////////////////////////////// */

.slideshow {
	width: 100%;
  margin: auto;
  text-align: center;
  overflow: hidden;
  height: auto;
  transition: opacity 1s ease-in-out;
  display: inline-block;
  padding: 5px; /* grosor del borde */
  background: linear-gradient(to right,#9F7339,#DECC8E,#C5865D,#DECC8E,#9F7339); /* color del borde */
  clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
  box-sizing: border-box;

}

.slideshow img {
  max-width: 100%;
  transition: opacity 1s ease-in-out;
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);

}

.triple_section {
	display: flex;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;
}
	
.triple {
	max-width: 40%;
	font-size: 3em;
}

.triple img{
	max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.doble_section {
	display: flex;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;
}
	
.doble {
	max-width: 45%;
	font-size: 3em;
}

.doble img{
	max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.download_button{
	max-width: 30vw;
}

#updates{
	padding-left: 1.5vw;
	text-align: left;
	font-size: 0.3em;
	margin: 0px;
	transform: translate( 0px, -20px);
}

#heroes {
  padding: 2rem;
  text-align: center;
  max-width:100%;
}

.filters {
  margin-bottom: 1rem;
}

.filters button {
  background: #802053;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  cursor: pointer;
  
  /*border-radius: 5px;*/
}

.filters button:hover {
  background: #555;
}

.hero-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s;
}

img.hero.inactive {
  opacity: 0.2;
  transform: scale(0.95);
}

#hero-modal {
  display: none;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#hero-modal img {
  max-width: 80%;
  max-height: 80%;
  border: 5px solid white;
  border-radius: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.interactive-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.img-box {
  position: relative;
  width: 180px;
  height: 180px;
  overflow: hidden;
  padding: 0px;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;;
  display: block;
}

.popup {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-size: 100%; 
  padding: 0.5rem;
  text-align: center;
}

.img-box:hover .popup {
  opacity: 1;
}

/* Responsive */
@media (max-width: 600px) {
  .img-box {
    width: 85%;
    height: auto;
  }

  .popup {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}


.video-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.video-wrapper {
  width: 360px;
  height: 202px;
  position: relative;
  overflow: hidden;
  background: black;
}

.youtube-player {
  width: 100%;
  height: 100%;
}


/* ///////////////////////////////////////////Mensajes/////////////////////////////////////////// */

.message {
  margin-top: 1em;
  padding: 0.8em 1em;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  max-width: 400px;
  margin-inline: auto;
}

.success {
  background-color: #d4edda;
  color: #155724 !important;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24 !important;
  border: 1px solid #f5c6cb;
}

/* ///////////////////////////////////////////FOOTER/////////////////////////////////////////// */

.topFooter {
	width: 100%;
	border-top: 20px solid #802053;	
	margin-top: 20px;
}

.footer {
  /*background-color: #111;*/
  color: #fff;
  padding: 20px;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  padding: 1rem;
}

.footer-left ul {
  list-style: none;
	padding-left: 30%;
}

.footer-left ul li {
  margin-bottom: 10px;
  text-align: left;
}

.footer-left ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-center {
  text-align: center;
  flex: 1;
  align-items: center;
  width: 30%;
}

.footer-right img {
  width: 200px;
  max-width: 100%;
}

.footer-right {
	width: 40%;
}

.footer-left {
	width: 30%;
}

.indexList ul li a{
	color: #fff;
  text-decoration: none;
}

.indexList ul li{
	margin-bottom: 10px;
  text-align: right;
}

.indexList ul{
	margin: 0px;
	padding-right: 10%;
	list-style: none;
}

.indexList{
	width: 100%;
	align-items: right;
}

@media (max-width: 768px) {
	
.footer {
  flex-direction: column;
}

.footer-left {
	width: 100%;
}

.footer-right {
	width: 100%;
}
	
.footer-center {
  width: 100%;
}	

.footer-left ul li{
  text-align: center;
}

.footer-left ul {
	padding-left: 0px;
}	

}

/* ///////////////////////////////////////////LOG/////////////////////////////////////////// */

    .form-container {
      background: #fff;
      padding: 2rem;
      border-radius: 10px;
      width: 100%;
      max-width: 400px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
	  display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
	  color: #111;
    }
	
	.form-container input {
    width: 90%;
    padding: 0.8rem;
    margin-bottom: 1rem;
	}
	
	.form-container a{
	color: #111;
	}
	
	.form-container a:hover {
	color: #802053;
	text-decoration: none;
	}
	
    .form-container button {
      background-color: #802053;
      color: white;
      font-weight: bold;
      cursor: pointer;
	  border: none;
      width: 90%;
      padding: 0.8rem;
      margin-bottom: 1rem;
    }
    .message {
      margin-top: 1rem;
      font-size: 0.9rem;
      color: #0f0;
    }
    .error {
	  margin-top: 1rem;
      font-size: 0.9rem;
      color: #f55;
    }
	
	.conditions{
		width: 100%;
		display: flex;
		align-content: center;
		justify-content: center;
		align-items: row;
	}
	
	.conditions input{
		max-width: 10%;
		margin: 0px;
	}
	
	.conditions p{
		margin: 0px;
	}
	
	.conditions a{
		color: #802053;
	}
/* ///////////////////////////////////////////FORM/////////////////////////////////////////// */

.modal {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    .modal.active {
      display: flex;
    }

    .modal-content {
      background: #222;
      padding: 2rem;
      border-radius: 10px;
      max-width: 400px;
      width: 100%;
    }
	
	#message {
  margin-top: 1rem;
  color: #0f0;
}

#login-link {
  color: #0af;
  cursor: pointer;
  text-decoration: underline;
}

/* ///////////////////////////////////////////RESPONSIVE STYLES/////////////////////////////////////////// */

@media (max-width: 768px) {
  
  .menu {
	align-items: center;
	padding-bottom: 0px;
   } 

	#languageToggle {
		align-self: center;
	}   
  
  header {
	flex-direction: row !important;
	justify-content: space-around;
	align-items: center;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  main.heroes {
    padding: 2rem 1rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

	.general2 img {
		width: 90%;
	}

	.general2 p {
		width: 90%;
	}
	
	.general3 img {
		width: 90%;
	}

	.general3 p {
		width: 90%;
	}
	
	#hero-modal img {
	  max-width: 90%;
	  z-index: 10;
	}	

	.doble {
		max-width: 95%;
	}
	
	.download_button{
	max-width: 90vw;
	}
}
	
	
	

@media (max-width: 480px) {
  
  .menu {
	align-items: center;
	padding-bottom: 0px;
   } 

	#languageToggle {
		align-self: center;
	} 

   header {
	flex-direction: row !important;
	justify-content: space-around;
	align-items: center;
    gap: 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .btn-primary {
    font-size: 0.85rem;
  }
}

#hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  
  .menu {
	align-items: center;
	padding-bottom: 0px;
   }   

	#languageToggle {
		align-self: center;
	} 
  
  header {
	flex-direction: row !important;
	justify-content: space-around;
	align-items: center;
    gap: 1rem; 
  }
  
  #hamburger {
    display: block;
    align-self: center;
	align-items: center;
  }

nav ul {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  background: #111;
  width: auto;  /* Ajusta el ancho según sea necesario */
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  position: fixed;  /* Lo fija en la pantalla */
  top: 15%;  /* Centrado vertical */
  left: 80%;  /* Centrado horizontal */
  transform: translate(-50%, -50%);  /* Ajuste fino para centrar perfectamente */
  z-index: 9999;  /* Asegura que esté por encima de otros elementos */
}

  nav ul.active {
    display: flex;
  }
}


/* =============================================== */
/* === Arreglos para evitar desbordamiento móvil === */
/* =============================================== */

html, body {
  width: 100%;
  overflow-x: hidden;
  min-height:100%
}

body, main, #heroes, .general, .general2, .general3 {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
  }

  .left, .center, .right {
    max-width: 100%;
    padding: 0.5rem;
  }

  .left img, .center img, .right img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}


/*FORMULARIO NEWSLETTER*/

	.center .newsTopText{
		margin: 0px;
	}
	
	.newsTopText{
		margin: 0px;
		text-align: center;
	}
	
	.form_news p{
		font-size: 0.8rem;
	}

  @font-face {
    font-display: block;
    font-family: Roboto;
    src: url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/7529907e9eaf8ebb5220c5f9850e3811.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/25c678feafdc175a70922a116c9be3e7.woff) format("woff")
  }

  @font-face {
    font-display: fallback;
    font-family: Roboto;
    font-weight: 600;
    src: url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/6e9caeeafb1f3491be3e32744bc30440.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/71501f0d8d5aa95960f6475d5487d4c2.woff) format("woff")
  }

  @font-face {
    font-display: fallback;
    font-family: Roboto;
    font-weight: 700;
    src: url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/3ef7cf158f310cf752d5ad08cd0e7e60.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/ece3a1d82f18b60bcce0211725c476aa.woff) format("woff")
  }

  #sib-container input:-ms-input-placeholder {
    text-align: left;
    font-family: "Helvetica", sans-serif;
    color: #c0ccda;
  }

  #sib-container input::placeholder {
    text-align: left;
    font-family: "Helvetica", sans-serif;
    color: #c0ccda;
  }

  #sib-container textarea::placeholder {
    text-align: left;
    font-family: "Helvetica", sans-serif;
    color: #c0ccda;
  }

  #sib-container a {
    text-decoration: underline;
    color: #2BB2FC;
  }
  
  #sib-container {
    padding: 0px;
  }
  
  #sib-form {
	padding: 0px;
  }
  
  .entry__field {
	  color: #000000;
  }