@font-face {
  font-family: "Anton";
  src: url("/fonts/Anton-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Lato";
  src: url("/fonts/Lato-Regular.ttf") format("truetype");
}

:root {
  --fuente-principal: "Anton", sans-serif, Arial, Helvetica;
  --fuente-secundaria: "Lato", sans-serif, Tahoma, Genova;

  --fuente-principal: "Anton", Arial, Helvetica, sans-serif;
  --fuente-secundaria: "Lato", "Segoe UI", Tahoma, Geneva, sans-serif;

  --color-primario: #d35400; /*!Usar un 10%*/
  --color-secundario: #a04000;
  --color-terciario: #2c3e50; /*!Usar un 30%*/
  --color-acento: #d35400;

  --color-fondo-negro: #333; /*!Usar un 60%*/
  --color-fondo-gris: #333333;
  --color-fondo-gris-2: #202124;
  --color-fondo-blanco: #ffffff;
  --color-fondo-blanco-suave: #f0f0f0;
  --color-fuentes-menu-nav: #ffffff;
  --color-fuentes-texto-contenido: #000000;
  --color-fuentes-textos: #ffffff;
  --color-hover-barra-lateral: #3e8e41;

  --color-acento-filter: brightness(0) saturate(100%) invert(44%) sepia(55%)
    saturate(7433%) hue-rotate(18deg) brightness(98%) contrast(101%);
  --color-blanco-filter: brightness(0) saturate(100%) invert(100%) sepia(100%)
    saturate(1%) hue-rotate(101deg) brightness(108%) contrast(101%);
  --color-negro-filter: brightness(0) saturate(100%);
}

* {
  padding: 0;
  margin: 0;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  /* 1 rem = 10px*/
  scroll-behavior: smooth;
}

header *,
footer * {
  list-style-type: none;
  text-decoration: none;
}

body {
  background-color: var(--color-fondo-gris-2);
  text-align: center;
  color: var(--color-fuentes-textos);
  font-family: var(--color-fuentes-textos);
}

/*!Esto permite la colocacion correcta al hacer clic en el índice de "El proyecto". Sin esto el menú oculta el título de las secciones.*/
.ancla:before {
  display: block;
  content: " ";
  height: 9vh;
  visibility: hidden;
}

.sombra {
  box-shadow: 0 4px 6px 0 hsla(0, 0, 0, 0.2);
}

.blanco-y-negro {
  filter: grayscale(100%);
}

.invertir-imagen {
  transform: scaleX(-1);
}

.oscurecer-imagen-75 {
  filter: brightness(75%);
}

.oscurecer-imagen-80 {
  filter: brightness(80%);
}

.oscurecer-imagen-85 {
  filter: brightness(85%);
}

.letra-capital::first-letter {
  font-size: 5.2rem;
  font-weight: bold;
  float: left;
  margin-right: 8px;
  line-height: 1;
}

/* ?------------------------- HEADER ------------------------- */

header {
  width: 100%;
  background-color: var(--color-fondo-negro);
  position: fixed;
  z-index: 4000;
}

/* ------------------------- HEADER - Nav ------------------------- */

header nav {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fuente-principal);
  font-size: 1.4vw;
}

header nav ul {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}

header nav ul ul {
  display: none;
}

header nav ul li {
  position: relative;
}

header nav ul li:hover ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
}

header nav a {
  color: var(--color-fuentes-menu-nav);
  text-transform: uppercase;
  padding: 5px 20px;
}

header nav a:hover {
  color: var(--color-acento);
}

#header-nav-seccion-1-logo,
#header-nav-seccion-2-menu-contenido {
  display: flex;
  justify-content: center;
  align-items: center;
}

#header-nav-seccion-3-idiomas {
  display: flex;
  justify-content: right;
  align-items: center;
}

#header-nav-seccion-1-logo {
  width: 10%;
  height: 100%;
}

#header-nav-seccion-1-logo .logo {
  width: 8rem;
  height: auto;
}

#header-nav-seccion-2-menu-contenido {
  position: relative;
  width: auto;
}

#header-nav-seccion-3-idiomas {
  width: 10%;
  height: 100%;
}

.boton-nav-mas-llamativo {
  border: 0.4rem solid var(--color-acento);
  padding: 0.2rem 0.5rem;
}

.boton-nav-mas-llamativo:hover {
  background-color: var(--color-acento);
  color: var(--color-fuentes-menu-nav);
}

.seccion-activa-del-nav {
  color: var(--color-acento);
}

/* ?------------------------- MAIN ------------------------- */

main {
  font-family: var(--fuente-secundaria);
  color: var(--color-fuentes-textos);
  font-size: 2vw;
}

main h1 {
  font-family: var(--fuente-principal);
  color: var(--color-acento);
  font-weight: bold;
  font-size: 3vw;
  font-size: clamp(2.2rem, 2.8vw, 3.5rem);
}

main h2 {
  font-family: var(--fuente-principal);
  font-weight: bold;
  font-size: 2.5vw;
  font-size: clamp(2rem, 2.5vw, 3rem);
}
main h3 {
  font-family: var(--fuente-principal);
  font-weight: bold;
  font-size: 1.2vw;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
}

main h5 {
  font-size: 28px;
  text-align: left;
  font-weight: bold;
}

#textos-explicativos article h3 {
  color: var(--color-acento);
}

main p {
  font-size: 1.2vw;
  font-size: clamp(2rem, 2.2vw, 2.4rem);
}

#imagen-principal-o-banner {
  width: 100%;
  height: auto;
}

main #texto-bienvenida {
  height: 50rem;
  max-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 25rem;
}

main #texto-bienvenida h1 {
  margin-bottom: 30px;
}

main #textos-explicativos article {
  height: 50rem;
  max-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

main
  #textos-explicativos
  article:nth-of-type(odd)
  .contenedor-de-textos-breves-main {
  padding: 0 50% 0 5%;
}

main
  #textos-explicativos
  article:nth-of-type(even)
  .contenedor-de-textos-breves-main {
  padding: 0 5% 0 55%;
}

main #textos-explicativos article:nth-of-type(1) {
  position: relative;
  text-align: left;
  margin-bottom: 0;
  /*  overflow: hidden;*/
}

main #textos-explicativos article:nth-of-type(1)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/img/main_page/image_index_1.webp");
  background-size: cover;
  background-position: center 80%;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  z-index: -1;
  opacity: 0.7;
}

main #textos-explicativos article:nth-of-type(2) {
  position: relative;
  text-align: left;
  margin-bottom: 0;
  /*! DESACTIVADO. Provoca conflicto con: .efecto-aparicion-de-texto  overflow: hidden;*/
}

main #textos-explicativos article:nth-of-type(2)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/img/main_page/image_index_2.webp");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.7;
}

main #textos-explicativos article:nth-of-type(3) {
  position: relative;
  text-align: left;
  margin-bottom: 0;
  /*! DESACTIVADO. Provoca conflicto con: .efecto-aparicion-de-texto  overflow: hidden;*/
}

main #textos-explicativos article:nth-of-type(3)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/img/main_page/image_index_3.webp");
  background-size: cover;
  background-position: center 75%;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.7;
}

main #textos-explicativos article:nth-of-type(4) {
  position: relative;
  text-align: left;
  margin-bottom: 0;
  /*! DESACTIVADO. Provoca conflicto con: .efecto-aparicion-de-texto  overflow: hidden;*/
}

main #textos-explicativos article:nth-of-type(4)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/img/main_page/image_index_4.webp");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  z-index: -1;
  opacity: 0.7;
}

main #textos-explicativos article:nth-of-type(5) {
  position: relative;
  text-align: left;
  margin-bottom: 0;
  /*! DESACTIVADO. Provoca conflicto con: .efecto-aparicion-de-texto  overflow: hidden;*/
}

main #textos-explicativos article:nth-of-type(5)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/img/main_page/image_index_5.webp");
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.7;
}

#boton-descargar-mazos {
  height: 50rem;
  max-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

#boton-descargar-mazos a {
  width: clamp(280px, 70vw, 720px);
  font-size: clamp(2rem, 5vw + 1rem, 3.8rem);
  padding: clamp(1.2rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.05em;
}

#boton-descarga-tu-mazo-ya {
  display: inline-block;
  font-family: var(--fuente-principal);
  color: var(--color-fuentes-textos);
  background-color: var(--color-fondo-negro);
  text-decoration: none;
  transition: background-color 0.3s ease;
  animation: parpadeo 1.5s infinite;
}

@keyframes parpadeo {
  0%,
  100% {
    background-color: var(--color-fondo-negro);
  }
  50% {
    background-color: var(--color-acento);
  }
}

#boton-descarga-tu-mazo-ya:hover {
  background-color: var(--color-acento);
  animation: none;
}

/* ?------------------------- FOOTER ------------------------- */

footer {
  background-color: var(--color-fondo-gris);
  height: 50rem;
  max-height: 250px;
  font-family: var(--fuente-secundaria);
  color: var(--color-fuentes-textos);
  font-size: 1vw;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-index {
  background-color: var(--color-fondo-gris);
}

#footer-redes-sociales {
  margin-top: 3rem;
  padding: 2rem 0;
  display: flex;
  gap: 10vw;
}

#footer-redes-sociales a:hover img {
  filter: var(--color-acento-filter);
}

#footer-redes-sociales a img {
  filter: var(--color-blanco-filter);
  width: clamp(4rem, 5vw, 6rem);
  height: auto;
}

#footer-nav nav ul li a {
  font-size: clamp(1.8rem, 2vw, 2.5rem);
}

#footer-nav {
  font-family: var(--fuente-principal);
  font-size: 50px;
  color: var(--color-fuentes-menu-nav);
  width: 95%;
}

#footer-nav nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}

#footer-nav nav ul li a {
  text-transform: uppercase;
  color: var(--color-fuentes-menu-nav);
}

#footer-nav nav ul li a:hover {
  color: var(--color-acento);
}

#footer-legal {
  margin-top: 4rem;
  margin-bottom: 2rem;
  font-size: clamp(1.2rem, 1.5rem, 2rem);
  text-transform: uppercase;
}

@media (max-width: 825px) {
  #footer-redes-sociales {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    padding: 1rem 0;
    line-height: 1px;
  }

  #footer-redes-sociales a img {
    width: 8rem;
    height: auto;
  }

  footer {
    height: auto;
    max-height: none;
    padding: 2rem 0;
  }

  #footer-nav nav ul {
    flex-direction: column;
    gap: 1vh;
    font-size: 40px;
  }

  #footer-nav {
    padding: 2vh 0;
  }

  #footer-nav nav ul li a {
    font-size: 25px;
  }
}

/* ------------------------- Reglas de uso general ------------------------- */

.espaciado-superior {
  padding-top: 15rem;
}

.fondo-blanco-suave-para-main-no-index {
  background-color: var(--color-fondo-blanco-suave);
  color: var(--color-fuentes-texto-contenido);
}

.enlace-en-texto {
  color: var(--color-acento);
  text-decoration: underline;
}

.enlace-en-texto:hover {
  color: var(--color-fuentes-texto-contenido);
  text-decoration: underline;
}

.enlace-en-texto:visited {
  color: var(
    --color-acento
  ); /* Mantiene el mismo color que los enlaces no visitados */
  text-decoration: underline;
}

.mi-separador {
  border: 0;
  height: 1px;
  background-color: #ccc;
  margin: 10rem 0 0 0;
}

.mi-separador-2 {
  border: 0;
  height: 1px;
  background-color: #ccc;
  margin: 2rem 0 0 0;
}

.parrafo-espacio-arriba-y-abajo {
  margin: 4rem 0;
}

#texto-peq {
  font-size: 1.8rem;
}

figcaption {
  font-style: italic;
  color: var(--color-fuentes-texto-contenido);
  font-size: 2rem;
}

.espacio-superior-parrafo {
  margin-top: 8rem;
}

#imagen-pequena-de-gaia {
  width: 10vw;
}

/* ------------------------- Índice ------------------------- */

main nav {
  width: 100%;
  height: auto;
  font-family: var(--fuente-principal);
  font-size: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 6rem 0;
}

main nav h2 {
  letter-spacing: 0.1vw;
  font-size: 5rem;
  text-transform: uppercase;
}

main nav ul {
  display: flex;
  flex-direction: column;
  list-style-type: none;
}

.nav-tipo-inice-nivel-1 > li > a {
  font-size: 3rem;
}

main nav a {
  color: var(--color-fuentes-texto-contenido);
  text-decoration: none;
  display: inline;
}

main nav .nav-tipo-indice-nivel-1 {
  gap: 4rem;
}

main nav .nav-tipo-indice-nivel-2 {
  display: flex;
  flex-direction: column; /* asegura disposición en columna */
  align-items: flex-start; /* alinea los items al inicio (izquierda) */
  text-align: left; /* alinea el texto dentro de los <li> o <a> */
  width: 100%;
  margin-top: 2.2rem;
}

main nav a:hover {
  color: var(--color-acento);
}

/* ------------------------- MAIN - Contenido ------------------------- */

.margen-superior-textos-elproyecto-y-comojugar {
  padding-top: 10vh;
}

.main-contenido-texto-largo {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-contenido-texto-largo-sin-indice {
  padding-top: 20vh;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contenido-principal {
  width: 50%;
  height: auto;
  margin: 0;
  margin-bottom: 10vh;
}

main .contenido-principal .imagen-principal-del-articulo {
  margin-top: 110px;
  width: 100%;
}

main .contenido-principal article .cartas {
  width: 60%;
  height: auto;
}

main .contenido-principal img {
  width: 100%;
}

#contenido-principal-tu-mazo p {
  width: 50%;
}

#seccion-donar-derecha .btn {
  width: 100px;
}

/* ------------------------- MEDIA QUERY - Resoluciones mayores de desktop ------------------------- */

@media (min-width: 1200px) {
  #seccion-donar-derecha .btn {
    width: 100px;
  }

  #contenido-principal-donar section {
    gap: 5vh;
  }

  #seccion-principal-main-noticias-contenedor {
    min-height: 1200px;
  }

  #seccion-principal-main-lore-contenedor {
    min-height: 1200px;
    width: 60%;
    margin: 0 auto;
  }
}

/* ------------------------- MEDIA QUERY - Desktops ------------------------- */
@media (min-width: 1200px) {
  #seccion-donar-derecha {
    margin-top: 6vh;
  }
}

@media (max-width: 1200px) {
  .contenido-principal {
    width: 60%;
    height: auto;
    margin: 0;
    margin-bottom: 10vh;
  }

  main .contenido-principal img {
    width: 100%;
  }

  #contenido-principal-tu-mazo p {
    width: 60%;
  }

  header {
    position: relative;
  }
}

/* ------------------------- MEDIA QUERY - Portátiles ------------------------- */
@media (max-width: 992px) {
  .contenido-principal {
    width: 70%;
    height: auto;
    margin: 0;
    margin-bottom: 10vh;
  }

  main .contenido-principal img {
    width: 100%;
  }

  #contenido-principal-tu-mazo p {
    width: 70%;
  }

  main #texto-bienvenida {
    padding: 5rem 15rem;
  }

  #contenido-principal-donar section {
    gap: 3vh;
  }
}

/* ------------------------- MEDIA QUERY - Tablets ------------------------- */
@media (max-width: 768px) {
  .contenido-principal {
    width: 80%;
    height: auto;
    margin: 0;
    margin-bottom: 10vh;
  }

  main .contenido-principal img {
    width: 100%;
  }

  #contenido-principal-tu-mazo p {
    width: 80%;
  }

  main #texto-bienvenida {
    padding: 5rem 10rem;
  }

  main
    #textos-explicativos
    article:nth-of-type(odd)
    .contenedor-de-textos-breves-main {
    padding: 0 5% 0 10%;
  }

  main
    #textos-explicativos
    article:nth-of-type(even)
    .contenedor-de-textos-breves-main {
    padding: 0 5% 0 10%;
  }
}

/* ------------------------- MEDIA QUERY - Smartphones ------------------------- */
@media (max-width: 600px) {
  .contenido-principal {
    width: 90%;
    height: auto;
    margin: 0;
    margin-bottom: 10vh;
  }

  main .contenido-principal img {
    width: 100%;
  }

  #contenido-principal-tu-mazo p {
    width: 90%;
  }

  main #texto-bienvenida {
    padding: 5rem 5rem;
  }

  main
    #textos-explicativos
    article:nth-of-type(odd)
    .contenedor-de-textos-breves-main {
    padding: 0 5% 0 5%;
  }

  main
    #textos-explicativos
    article:nth-of-type(even)
    .contenedor-de-textos-breves-main {
    padding: 0 5% 0 5%;
  }

  #contenido-principal-donar section {
    gap: 1.5vh;
  }
}

main .contenido-principal h3,
main .contenido-principal h4,
main .contenido-principal p {
  text-align: left;
}

main .contenido-principal h2,
main .contenido-principal h3,
main .contenido-principal h4 {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.preguntas-frecuentes h3 {
  margin-bottom: 4rem;
}

main .contenido-principal h2 {
  font-size: 4.5rem;
  text-align: center;
  padding-bottom: 2rem;
  color: var(--color-primario);
}

main .contenido-principal h4 {
  font-size: 4.5rem;
  margin-top: 5rem;
  margin-bottom: 1rem;
}

main .contenido-principal h3 {
  font-size: 4.5rem;
  padding-top: 5rem;
}

main .contenido-principal h4 {
  font-size: 2.6rem;
}

main .contenido-principal p {
  font-size: 2.2rem;
  padding-bottom: 2.5rem;
}

main .contenido-principal img {
  max-width: 100%;
  height: auto;
}

main .contenido-principal ul li {
  font-size: 2rem;
  text-align: justify;
  margin-top: 1rem;
  list-style-type: none;
}

main .contenido-principal ul li span {
  font-weight: bold;
  font-size: 2.2rem;
}

main .contenido-principal #noticia {
  margin-top: 20rem;
}

#bienvenida,
#historia-breve,
#objetivos-y-valores,
#el-futuro-del-proyecto,
#conclusion {
  scroll-margin-top: 8vh;
}

/* --- BOTON HACIA ARRIBA -----------------------------------------------------------------*/

#boton-hacia-arriba {
  position: fixed;
  bottom: 16px;
  right: 2.5vw;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
}

@media (max-width: 768px) {
  #boton-hacia-arriba {
    display: none;
  }
}

#boton-hacia-arriba.active {
  bottom: 64px;
  pointer-events: auto;
  opacity: 1;
}

#boton-hacia-arriba img {
  width: 8rem;
  height: auto;
  transform: rotate(270deg);
}

#boton-hacia-arriba:hover {
  filter: var(--color-acento-filter);
}

/* --- ANIMACIÓN - Aparición de las imágenes de abajo hacia arriba en el index.html -----------------------------------------------------------------*/

@keyframes show {
  from {
    opacity: 0;
    scale: 25%;
  }

  to {
    opacity: 1;
    scale: 100%;
  }
}

.efecto-aparicion-de-texto {
  view-timeline-name: --image;
  view-timeline-axis: block;

  animation-timeline: --image;
  animation-name: show;

  animation-range: entry 25% cover 50%;
  animation-fill-mode: both;
}

/* --- BARRA DE DESPLAZAMIENTO LATERAL DERECHA -----------------------------------------------------------------*/

/* Para navegadores Webkit (Chrome, Safari) */
::-webkit-scrollbar {
  width: 12px; /* Ancho de la barra de desplazamiento */
}

::-webkit-scrollbar-track {
  background: var(--color-fondo-gris); /* Color de fondo de la barra */
}

::-webkit-scrollbar-thumb {
  background: var(--color-secundario); /* Color de la parte desplazable */
  border-radius: 0; /* Bordes redondeados */
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-hover-barra-lateral); /* Color al pasar el mouse */
}

/* --- Características de uso continuado por toda la web -----------------------------------------------------------------*/

.justificar-texto {
  text-align: justify;
}

.contenido-principal img {
  width: 65%;
  height: auto;
  margin: 1rem 0 1rem 0;
}

/* --- Carrousel de imagenes del main -----------------------------------------------------------------*/

.carousel {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
.carousel .list .item {
  width: 100%;
  height: auto;
  position: absolute;
  inset: 0 0 0 0;
}
.carousel .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*Atributos específicos para la img1.webp*/
.item img[src="img/img-carrousel/img1.webp"] {
  object-position: top;
  filter: brightness(70%); /* Hace la imagen más oscura */
}
.carousel .list .item .content {
  position: absolute;
  top: 20%;
  width: 1140px;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author {
  font-weight: bold;
  letter-spacing: 10px;
}
.carousel .list .item .titulo,
.carousel .list .item .topic {
  font-size: 10rem;
  font-weight: bold;
  line-height: 12rem;
}
.carousel .list .item .topic {
  color: var(--color-acento);
}
.carousel .list .item .buttons {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 5px;
  margin-top: 20px;
}
.carousel .list .item .buttons button {
  border: none;
  background-color: var(--color-fondo-blanco);
  letter-spacing: 3px;
  font-family: var(--fuente-secundaria);
  font-weight: 500;
  cursor: pointer;
  font-size: 1.4rem;
}

.carousel .list .item .buttons button:hover {
  background-color: var(--color-acento);
  color: var(--color-fuentes-menu-nav);
}

.carousel .list .item .buttons button:nth-child(2) {
  background-color: var(--color-fondo-negro);
  border: 1px solid #fff;
  color: #eee;
}

.carousel .list .item .buttons button:nth-child(2):hover {
  background-color: var(--color-fondo-negro);
  border: 1px solid var(--color-acento);
  color: var(--color-acento);
}

/* thumbnail */
.thumbnail {
  position: absolute;
  bottom: 50px;
  left: 50%;
  width: max-content;
  z-index: 100;
  display: flex;
  gap: 20px;
}
.thumbnail .item {
  width: 150px;
  height: 220px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.thumbnail .item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
  pointer-events: none;
  z-index: 1;
}
.thumbnail .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2.5px;
}
.thumbnail .item .content {
  color: var(--color-fuentes-menu-nav);
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
}
.thumbnail .item .content .titulo {
  font-weight: 500;
}
.thumbnail .item .content .description {
  font-weight: 300;
}
/* arrows */
.arrows {
  position: absolute;
  top: 90%;
  right: 52%;
  z-index: 100;
  width: 300px;
  max-width: 30%;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 2rem;
}
.arrows button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-acento);
  border: none;
  color: var(--color-fuentes-menu-nav);
  font-family: var(--fuente-secundaria);
  font-weight: bold;
  transition: 0.5s;
}
.arrows button:hover {
  background-color: var(--color-fuentes-menu-nav);
  color: var(--color-fondo-negro);
  cursor: pointer;
}

/* animation */
.carousel .list .item:nth-child(1) {
  z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .titulo,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 1s linear 1 forwards;
}
@keyframes showContent {
  to {
    transform: translateY(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
.carousel .list .item:nth-child(1) .content .titulo {
  animation-delay: 1.2s !important;
}
.carousel .list .item:nth-child(1) .content .topic {
  animation-delay: 1.4s !important;
}
.carousel .list .item:nth-child(1) .content .des {
  animation-delay: 1.6s !important;
}
.carousel .list .item:nth-child(1) .content .buttons {
  animation-delay: 1.8s !important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img {
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage 0.5s linear 1 forwards;
}
@keyframes showImage {
  to {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

.carousel.next .thumbnail .item:nth-last-child(1) {
  overflow: hidden;
  animation: showThumbnail 0.5s linear 1 forwards;
}
.carousel.prev .list .item img {
  z-index: 100;
}
@keyframes showThumbnail {
  from {
    width: 0;
    opacity: 0;
  }
}
.carousel.next .thumbnail {
  animation: effectNext 0.5s linear 1 forwards;
}
@keyframes effectNext {
  from {
    transform: translateX(150px);
  }
}

/* running time */
.carousel .time {
  z-index: 2000;
  width: 0%;
  height: 0.5rem;
  background-color: var(--color-acento);
  left: 0;
  top: 0;
}

.carousel.next .time,
.carousel.prev .time {
  animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}

/* prev click */
.carousel.prev .list .item:nth-child(2) {
  z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img {
  animation: outFrame 0.5s linear 1 forwards;
  position: absolute;
  bottom: 0;
  left: 0;
}
@keyframes outFrame {
  to {
    width: 150px;
    height: 220px;
    bottom: 50px;
    left: 50%;
    border-radius: 20px;
  }
}

.carousel.prev .thumbnail .item:nth-child(1) {
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail 0.5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button {
  pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .titulo,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons {
  animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut {
  to {
    transform: translateY(-150px);
    filter: blur(20px);
    opacity: 0;
  }
}
@media screen and (max-width: 678px) {
  .carousel .list .item .content {
    padding-right: 0;
    margin: 0;
    padding: 0;
  }
  .carousel .list .item .content .titulo {
    font-size: 15vw;
    line-height: 8vh;
  }
  .carousel .list .item .topic {
    font-size: 14vw;
    line-height: 8vh;
  }
}

.carousel .titulo {
  text-align: left;
  font-family: var(--fuente-principal);
}

.carousel .topic {
  text-align: left;
  font-family: var(--fuente-secundaria);
}

.carousel .des {
  text-align: justify;
  font-family: var(--fuente-secundaria);
}
.carousel .thumbnail .item .content h3 {
  text-align: left;
  font-size: 2rem;
}

.carousel .thumbnail .item .content p {
  text-align: left;
  font-size: 1.5rem;
}

.carousel .buttons button {
  text-transform: uppercase;
}

/* --- SECCION DE LORE DE LA PÁGINA - Main -----------------------------------------------------------------*/

#seccion-principal-main {
  background-color: var(--color-fondo-general);
  width: 100%;
  padding-top: 15vh;
}

/* --- SECCION DE LORE DE LA PÁGINA - Secciones del lore -----------------------------------------------------------------*/

#seccion-principal-main-lore {
  padding-top: 15vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.contenedor-flex {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-end;
}

.articulo-lore {
  width: 280px;
  height: 420px;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 60px;
  padding: 10px;
  padding-top: 30px;
  background-color: var(--color-fondo-gris);
  position: relative;
}

.articulo-lore h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  color: var(--color-fuentes-menu-nav);
  text-transform: uppercase;
  z-index: 2000;
  background-color: var(--color-fondo-gris);
  letter-spacing: 1.5px;
}

.articulo-lore:hover h2 {
  background-color: var(--color-acento);
}

.articulo-lore:hover {
  border-color: var(--color-principal);
  border-width: 3px;
}

.articulo-lore:hover {
  background-color: var(--color-acento);
}

#seccion-principal-main-lore .articulo-lore {
  filter: grayscale(100%);
  transition: filter 1.2s ease-in, transform 0.9s ease-in; /*Velocidad de recuperación de blanco y negro al dejar de hacer hover. */
}

#seccion-principal-main-lore .articulo-lore:hover {
  filter: grayscale(0%);
  transition: filter 0.3s ease-out, transform 0.9s ease-out; /*Velocidad de recuperación de blanco y negro al dejar de hacer hover. */
}

#seccion-principal-main-lore article:nth-of-type(1) .articulo-lore {
  background-image: url("/img/lore-page/1-El-apocalipsis.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 140%;
  background-position: 50% -15%;
}

#seccion-principal-main-lore article:nth-of-type(2) .articulo-lore {
  background-image: url("/img/lore-page/2-El-mundo.webp");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
}

#seccion-principal-main-lore article:nth-of-type(3) .articulo-lore {
  background-image: url("/img/lore-page/3-Facciones.webp");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  background-position: 75% 0%;
}

#seccion-principal-main-lore article:nth-of-type(4) .articulo-lore {
  background-image: url("/img/lore-page/4-Personajes.webp");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  background-position: 65% 0%;
}

#seccion-principal-main-lore article:nth-of-type(5) .articulo-lore {
  background-image: url("/img/lore-page/5-Leyendas.webp");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  background-size: 130%;
  background-position: 38% -15%;
}

#seccion-principal-main-lore article:nth-of-type(6) .articulo-lore {
  background-image: url("/img/lore-page/6-Unidades.webp");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  background-position: 40% 50%;
}

#seccion-principal-main-lore article:nth-of-type(7) .articulo-lore {
  background-image: url("/img/lore-page/7-Localizaciones.webp");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  background-size: 160%;
  background-position: 10% 120%;
}

#seccion-principal-main-lore article:nth-of-type(8) .articulo-lore {
  background-image: url("/img/lore-page/8-Artefactos.webp");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  background-position: 50% 0%;
}

.articulo-lore:hover {
  border-color: var(--color-principal);
  border-width: 3px;
  background-color: var(--color-acento);
}

/* --- LOADER INICIAL DE LA WEB - Logo de carga de la web -----------------------------------------------------------------*/

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-fondo-negro);
  transition: opacity 0.75s, visibility 0.75s;
}

.loader--hidden {
  opacity: 0;
  visibility: hidden;
}

.loader::after {
  content: "";
  width: 75px;
  height: 75px;
  border: 15px solid var(--color-fuentes-menu-nav);
  border-top-color: var(--color-acento);
  border-radius: 50%;
  animation: loading 0.75s ease infinite;
}

@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

/* --- Transición suave para la desaparicion del loader -----------------------------------------------------------------*/

.content-loader {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s;
}

.content-loader--visible {
  opacity: 1;
  visibility: visible;
}

.ocultamiento-loader {
  display: none;
}

/* ------------------------- HEADER - Desplegable de idiomas ------------------------- */

#header-nav-seccion-3-idiomas * {
  font-size: 1vw;
  text-transform: uppercase;
}

#menu-idioma-actual-seleccionado-dropdown-idiomas {
  position: relative;
  z-index: 999;
}

#dropbtn-idiomas {
  cursor: pointer;
  position: absolute;
  padding: 1rem;
}

.dropdown-content-idiomas {
  margin-top: 1rem;
  right: 1rem;
  display: none;
  position: absolute;
  background-color: var(--color-fondo-gris);
  list-style-type: none;
  border-top: 4px solid var(--color-acento);
}

.dropdown-content-idiomas a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 15px;
}

.dropdown-content-idiomas a:hover {
  background-color: var(--color-acento);
  color: var(--color-fuentes-menu-nav);
}

#dropbtn-idiomas:hover .dropdown-content-idiomas {
  display: block;
}

#dropbtn-mini-header #flecha-idiomas-idiomas {
  width: 20px;
  height: auto;
}

#selector-de-idioma-actual {
  display: block;
  align-items: center;
  width: 100%;
}

/*POSIBLE ERROR EN LA PROPIEDAD DE ARRIBA*/

#selector-de-idioma-actual img {
  filter: var(--color-acento-filter);
  width: 1vw;
  height: auto;
}

/* ------------------------- COMUNIDAD - Redes sociales ------------------------- */

#comunidad-redes-sociales {
  margin-top: 5vh;
  display: flex;
  gap: 2vw; /* Ajusta este valor según tus necesidades */
  justify-content: space-around; /* Distribuye las imágenes horizontalmente */
  align-items: center; /* Alinea las imágenes verticalmente */
}

#comunidad-redes-sociales img:hover {
  filter: var(--color-acento-filter);
}

#comunidad-redes-sociales img {
  width: 10rem;
  min-width: 40px; /* Ajusta este valor según tus necesidades */
  height: auto;
  transition: filter 0.3s ease; /* Suaviza la transición del filtro */
}

/* ------------------------- MAIN - Página de TU MAZO ------------------------- */

#contenido-principal-tu-mazo {
  line-height: 1.5;
  color: var(--color-fuentes-texto-contenido);
  background-color: var(--color-fondo-blanco-suave);
  text-align: center;
}

#contenido-principal-tu-mazo h2 {
  font-size: 4.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 2rem;
  color: var(--color-acento);
}

#contenido-principal-tu-mazo p {
  width: 60%;
  text-align: justify;
  margin-bottom: 6vh;
}

#menu-lateral-tu-mazo {
  width: clamp(0.5rem, 2.5vw, 3rem);
  height: auto;
  position: fixed;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.5rem, 2.5vw, 3rem);
  background-color: var(--color-fondo-negro);
  border-radius: 0.5rem;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  z-index: 2000; /*RESOLVER*/
}

#menu-lateral-tu-mazo a {
  transition: color 0.3s ease;
}

#menu-lateral-tu-mazo a img {
  width: 4rem;
  height: auto;
  filter: var(--color-blanco-filter);
}

#menu-lateral-tu-mazo a:hover img {
  filter: var(--color-acento-filter);
}

#contenido-principal-tu-mazo .sections-tu-mazo {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding-top: 20vh;
}

#contenido-principal-tu-mazo #enlaces-imprimir-compartir {
  padding: 10vh 0;
}

#contenido-principal-tu-mazo #boton-descargar-mazos-iniciacion {
  width: auto;
  height: auto;
  margin-top: 50px;
}

#boton-descarga-tu-mazo-ya-normal {
  display: inline-block;
  font-family: var(--fuente-principal);
  color: var(--color-fuentes-textos);
  background-color: var(--color-fondo-negro);
  padding: 1rem 2rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
}

#boton-descarga-tu-mazo-ya-normal:hover {
  background-color: var(--color-acento);
  animation: none;
}

#contenido-principal-tu-mazo article span p {
  margin: 0 auto;
  color: var(--color-fuentes-menu-nav);
}

#contenido-principal-tu-mazo article a.enlace-imprimir-cartas {
  display: block;
  color: var(--color-acento);
  text-decoration: none;
  padding: 1rem 2rem;
  margin: 1rem 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
}

#contenido-principal-tu-mazo article a.enlace-imprimir-cartas:hover {
  color: var(--color-fuentes-texto-contenido);
  text-decoration: underline;
}

#contenido-principal-tu-mazo article a.enlace-en-texto {
  color: var(--color-acento);
  text-decoration: underline;
}

#contenido-principal-tu-mazo article a.enlace-en-texto:hover {
  color: var(--color-fuentes-texto-contenido);
  text-decoration: underline;
}

#contenido-principal-tu-mazo article #texto-especial {
  font-size: 2rem;
  font-weight: bold;
}

/*============================*/

.estilos-de-tabla-tu-mazo {
  width: 80%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 18px;
  text-align: left;
}

.estilos-de-tabla-tu-mazo tbody tr td a {
  display: inline-block;
  width: 100%;
  text-align: right;
}

.estilos-de-tabla-tu-mazo thead tr {
  background-color: var(--color-acento);
  color: #ffffff;
  text-align: left;
}

.estilos-de-tabla-tu-mazo th,
.estilos-de-tabla-tu-mazo td {
  padding: 12px 15px;
}

.estilos-de-tabla-tu-mazo tbody tr {
  border-bottom: 1px solid #dddddd;
}

.estilos-de-tabla-tu-mazo tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.estilos-de-tabla-tu-mazo tbody tr:last-of-type {
  border-bottom: 2px solid var(--color-acento);
}

.estilos-de-tabla-tu-mazo tbody tr:hover {
  background-color: #e7e7e7;
}

.estilos-de-tabla-tu-mazo a {
  color: var(--color-fuentes-texto-contenido);
  text-decoration: none;
  font-weight: bold;
}

.estilos-de-tabla-tu-mazo a:hover {
  text-decoration: underline;
  color: var(--color-acento);
}

.enlace-imprimir-cartas {
  text-decoration: none;
  color: var(--color-fuentes-texto-contenido);
  font-weight: bold;
  text-decoration: none;
  font-size: 24px;
}

.enlace-imprimir-cartas:hover {
  color: var(--color-acento);
  text-decoration: underline;
}

/* ------------------------- MAIN en sección NOTICIAS ------------------------- */

#seccion-principal-main-noticias {
  padding-top: 15vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-decoration: none;
  color: var(--color-fuentes-menu-nav);
}

.contenedor-flex-noticias {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-end;
}

.articulo-noticias {
  width: 400px;
  height: 600px;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 60px;
  background-color: var(--color-fondo-gris);
  position: relative;
  overflow: hidden;
}

.articulo-noticias img.imagen-noticia {
  width: 100%;
  height: 50%;
  object-fit: cover;
  display: block;
}

.articulo-noticias h2 {
  position: absolute;
  margin: 15px 15px;
  display: flex;
  justify-content: right;
  align-items: center;
  color: var(--color-fuentes-menu-nav);
  text-transform: uppercase;
  z-index: 2000;
  background-color: var(--color-fondo-gris);
  letter-spacing: 1.5px;
  font-family: var(--fuente-secundaria);
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
}

.preview-noticia {
  padding: 0 15px;
  bottom: 10%;
  position: absolute;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;
  text-align: justify;
  font-size: 2rem;
  color: var(--color-fuentes-menu-nav);
}

.leer-mas {
  position: absolute;
  padding: 15px;
  margin-top: 15px;
  bottom: 0;
  left: 0;
  font-size: 2rem;
  color: var(--color-acento);
  font-weight: bold;
}

.contenedor-flex-noticias:hover .articulo-noticias {
  background-color: var(--color-acento);
}

.contenedor-flex-noticias:hover .articulo-noticias h2 {
  background-color: var(--color-acento);
}

.contenedor-flex-noticias:hover .leer-mas {
  color: var(--color-fuentes-menu-nav);
  font-size: 3rem;
}

/* ------------------------- FOOTER - Páginas del footer enlazadas ------------------------- */

#info-footer {
  padding-top: 14vh;
}

/* ------------------------- HEADER - Menú hamburguesa - Estilos ------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

#menu-hamburguesa {
  z-index: 1000;
}

a,
a:visited,
a:active {
  text-decoration: none;
  color: inherit;
}

.wrapper {
  width: min(100% - 3rem, 56.25rem);
  margin-inline: auto;
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
}

.topnav button {
  background: none;
  border: none;
  padding: 0;
}

@media (width >= 1200px) {
  .topnav button {
    display: none;
  }
}

/* DE AQUÍ PARA ABAJO ESTÁ CONFIRMADO QUE TODO ES CORRECTO Y NECESARIO PARA EL FUNCIONAMIENTO */

.topnav__open[aria-expanded="true"] + .topnav__menu {
  translate: 0;
}
@media (prefers-reduced-motion) {
  .topnav__open[aria-expanded="true"] + .topnav__menu {
    opacity: 1;
  }
}

.topnav__close {
  display: block;
  margin-inline-start: auto;
  margin-block-end: 8rem;
}
.topnav__close img {
  width: 2.5rem;
}

@media (width < 1200px) {
  .topnav__menu {
    position: fixed;
    inset: 0;
    padding: 1.5rem;
    background-color: var(--color-fondo-negro);
    translate: 100vw 0;
    transition: translate 0.5s ease-in-out;
  }
}

@media (width < 1200px) and (prefers-reduced-motion) {
  .topnav__menu {
    translate: 0;
    opacity: 0;
    transition: opacity 500ms ease-in-out;
  }
}

.topnav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.topnav__links a {
  font-size: 32px;
}

@media (max-width: 1199px) {
  #menu-ampliado {
    display: none;
  }
}

@media (min-width: 1200px) {
  #menu-hamburguesa {
    display: none;
  }
}

#menu-hamburguesa-icono-hamburguesa {
  position: absolute;
  top: 25px;
  right: 50px;
  cursor: pointer;
}

.logo:hover {
  filter: var(--color-acento-filter);
}

#menu-hamburguesa-icono-hamburguesa:hover {
  filter: var(--color-acento-filter);
}

#menu-hamburguesa-icono-cerrar {
  position: absolute;
  top: 25px;
  right: 70px;
  cursor: pointer;
}

#menu-hamburguesa-icono-cerrar:hover {
  filter: var(--color-acento-filter);
}

#menu-hamburguesa-icono-hamburguesa {
  width: 40px;
  height: auto;
}

#menu-hamburguesa-icono-cerrar {
  width: 32px;
  height: auto;
}

#menu-hamburguesa-icono-hamburguesa,
#menu-hamburguesa-icono-cerrar {
  filter: invert(1);
}

.boton-nav-mas-llamativo-hamburguesa {
  border: 0.4rem solid var(--color-acento);
  padding: 0.2rem 0.5rem;
}

.boton-nav-mas-llamativo-hamburguesa:hover {
  background-color: var(--color-acento);
  color: var(--color-fuentes-menu-nav);
}

.boton-nav-mas-llamativo-hamburguesa a:hover {
  color: var(--color-fuentes-menu-nav);
}

#menu-hamburguesa .logo {
  width: 7.5rem;
  height: auto;
}

#menu-hamburguesa .enlace-logo {
  position: absolute;
  top: 0;
  left: 20px;
}

/* ------------------------- Menú hamburguesa - Desplegable de idiomas ------------------------- */

.dropdown-content-idiomas-hamburguesa {
  background-color: var(--color-fondo-gris);
}

#header-nav-seccion-3-idiomas-hamburguesa {
  position: absolute;
  top: 16px;
  left: 50px;
  cursor: pointer;
}

#header-nav-seccion-3-idiomas-hamburguesa #flecha-idiomas-idiomas {
  width: 25px;
  height: auto;
}

.dropdown-content-idiomas-hamburguesa {
  border-top: 4px solid var(--color-acento);
  text-align: left;
  background-color: var(--color-fondo-gris-2);
}

/*---------------------------*/

.dropdown-content-idiomas-hamburguesa {
  display: none;
}

.dropdown-content-idiomas-hamburguesa.show {
  display: block;
}

.dropdown-content-idiomas-hamburguesa li {
  padding: 10px 0;
}

.dropdown-content-idiomas-hamburguesa li:hover {
  background-color: var(--color-acento);
}

.dropdown-content-idiomas-hamburguesa li a:hover {
  color: var(--color-fuentes-menu-nav);
}

/* ------------------------- MAIN en sección DONAR ------------------------- */

#contenido-principal-donar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10vh 0 5vh 0;
  background-color: var(--color-fondo-blanco-suave);
  position: relative;
}

#seccion-donar-izquierda {
  list-style-type: disc;
  width: 60%;
}

@media (max-width: 1199px) and (min-width: 992px) {
  #seccion-donar-izquierda {
    width: 75%;
  }
}

/* Pantallas entre 768px y 991px */
@media (max-width: 991px) and (min-width: 768px) {
  #seccion-donar-izquierda {
    width: 85%;
  }
}

/* Pantallas menores a 768px */
@media (max-width: 767px) {
  #seccion-donar-izquierda {
    width: 95%;
  }
}

#contenido-principal-donar h1 {
  margin-bottom: 2rem;
  font-size: 3.5rem;
}

#contenido-principal-donar p {
  color: var(--color-fuentes-texto-contenido);
  padding-bottom: 2vh;
  text-align: justify;
}

#contenido-principal-donar ul {
  padding-left: 6vw;
}

#contenido-principal-donar section {
  flex: 1;
  min-width: 50%;
  box-sizing: border-box;
  padding: 20px;
}

#contenido-principal-donar #seccion-donar-izquierda p {
  width: 90%;
  margin: 0 auto;
  text-align: justify;
}

#contenido-principal-donar #seccion-donar-derecha {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#contenido-principal-donar .btn {
  display: inline;
  padding: 20px 0;
  font-size: 32px;
}

.custom-list {
  list-style-type: disc;
}

.custom-list li::marker {
  color: black;
  font-size: 20px;
}

#seccion-donar-derecha .btn {
  font-family: var(--fuente-principal);
  color: var(--color-fuentes-textos);
  background-color: none;
  text-decoration: none;
}

#seccion-donar-derecha .btn:hover {
  color: var(--color-fuentes-menu-nav);
  background-color: var(--color-acento);
}

/* ------------------------- Citas sección - LORE Artefacto y otros ------------------------- */

.quote {
  font-style: italic;
  margin: 20px;
  padding: 10px;
  border-left: 5px solid #ccc;
}

.icono-faccion {
  width: 8rem;
  height: auto;
  filter: var(--color-negro-filter);
}

/* ------------------------- AVISO DE COOKIES ------------------------- */

.aviso-cookies {
  display: none;
  background: #fff;
  padding: 20px;
  width: calc(100% - 40px);
  max-width: 500px;
  line-height: 250%;
  border-radius: 10px;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 5001;
  padding-top: 60px;
  box-shadow: 0px 2px 20px 10px rgba(222, 222, 222, 0.25);
  text-align: center;
}

.aviso-cookies.activo {
  display: block;
}

.aviso-cookies .galleta {
  max-width: 100px;
  position: absolute;
  top: -50px;
  left: calc(50% - 50px);
}

.aviso-cookies .titulo,
.aviso-cookies .parrafo {
  margin-bottom: 15px;
  color: var(--color-fuentes-texto-contenido);
  font-size: 2rem;
  font-family: var(--fuente-secundaria);
}

.aviso-cookies .boton {
  width: 100%;
  background: #595959;
  border: none;
  color: #fff;
  font-family: var(--fuente-secundaria), sans-serif;
  text-align: center;
  padding: 15px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease all;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 14px;
}

.aviso-cookies .boton:hover {
  background: #000;
}

.aviso-cookies .enlace {
  color: var(--color-acento);
  text-decoration: none;
  font-size: 2rem;
  font-weight: bold;
}

.aviso-cookies .enlace:hover {
  text-decoration: underline;
}

.fondo-aviso-cookies {
  display: none;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  z-index: 5000;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
}

.fondo-aviso-cookies.activo {
  display: block;
}

/* ------------------------- COMO JUGAR - Tabla de habilidades ------------------------- */

.estilos-de-tabla-habilidades {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 18px;
  text-align: left;
}

.estilos-de-tabla-habilidades thead tr {
  background-color: var(--color-acento);
  color: #ffffff;
  text-align: left;
}

.estilos-de-tabla-habilidades th,
.estilos-de-tabla-habilidades td {
  padding: 12px 15px;
}

.estilos-de-tabla-habilidades tbody tr {
  border-bottom: 1px solid #dddddd;
}

.estilos-de-tabla-habilidades tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.estilos-de-tabla-habilidades tbody tr:last-of-type {
  border-bottom: 2px solid var(--color-acento);
}

.estilos-de-tabla-habilidades tbody tr:hover {
  background-color: #e7e7e7;
}

.estilos-de-tabla-habilidades a {
  color: var(--color-fuentes-texto-contenido);
  text-decoration: none;
  font-weight: bold;
}

.estilos-de-tabla-habilidades a:hover {
  text-decoration: underline;
  color: var(--color-acento);
}

.estilos-de-tabla-habilidades .icono-habilidad {
  width: 5rem;
}

#habilidad-electrica {
  width: 2.5rem;
  height: auto;
}

#habilidad-psicologica {
  width: 3.6rem;
  height: auto;
}

/* Estilos de la sección como jugar, subapartado turnos y fases de juego */

.como-jugar-estilos {
  text-align: left;
  font-size: 2.2rem;
}

.como-jugar-estilos ol {
  margin-left: 20px;
  padding-left: 20px;
}

.como-jugar-estilos ol li {
  margin-bottom: 10px;
  font-size: 2.2rem;
}

.como-jugar-estilos ul {
  margin-left: 20px;
  padding-left: 20px;
}

.como-jugar-estilos ul li {
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.como-jugar-estilos strong {
  font-weight: bold;
}

.como-jugar-estilos .aplicar-punto-lista {
  list-style-type: disc;
}

.como-jugar-estilos .aplicar-punto-lista-2 {
  list-style-type: circle;
}

.como-jugar-estilos p .sin-margin-inferior {
  margin-bottom: 0;
}

.como-jugar-estilos h5 {
  font-weight: bold;
  font-size: 2.2rem;
  margin: 2.5rem 0 1rem 0;
}

.como-jugar-estilos .nota {
  margin-top: 2rem;
  font-size: 1.6rem;
}

@media (max-width: 429px), (max-height: 931px) {
  .carousel .thumbnail {
    display: none;
  }

  .carousel .arrows {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    justify-content: center;
  }
}

@media (max-width: 765px) {
  #menu-lateral-tu-mazo {
    display: none;
  }
}

@media (max-width: 576px) {
  #menu-lateral-tu-mazo {
    display: none;
  }

  .columna-ocultar-sm {
    display: none !important;
  }

  .columna-descargar-sm {
    display: table-cell !important;
  }
}

@media (max-width: 480px) {
  .ocultar-xs {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .ocultar-sm {
    display: none !important;
  }
}

/* --- DONACIONES REESTILIZADAS CON LOGOS --- */
#seccion-donar-derecha {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

#seccion-donar-derecha a img {
  width: clamp(5rem, 6vw, 8rem);
  height: auto;
  transition: transform 0.2s ease;
}

#seccion-donar-derecha a:hover img {
  transform: scale(1.1);
}

/* ---------------- SECCION DE BOTONES DEL AREA DE DONACIONES ---------------- */

/* ---------------- Resposive para sección de Cómo jugar - Índice ---------------- */

@media (max-width: 1200px) {
  #contenido-principal-donar {
    padding-top: 0;
  }

  main nav {
    margin: 0;
  }

  .main-contenido-texto-largo-sin-indice {
    padding-top: 4rem;
  }
}

@media (max-width: 768px) {
  main nav ul {
    gap: 1.8rem;
  }

  main nav ul li {
    font-size: 2.2rem;
  }

  main nav ul li ul li {
    font-size: 2.4rem;
    margin-left: 1rem;
  }

  .articulo-noticias {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #contenido-principal-donar {
    padding-top: 0;
  }

  #contenido-principal-tu-mazo .sections-tu-mazo {
    padding-top: 10vw;
  }

  #contenido-principal-tu-mazo p {
    width: 90%;
  }

  #texto-bienvenida article h1 {
    font-size: 2.8rem;
    letter-spacing: 1px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  main nav ul {
    gap: 1.8rem;
  }

  main nav ul li {
    font-size: 2rem;
  }

  main nav ul li ul li {
    font-size: 2rem;
    margin-left: 1rem;
  }
}

.imag-ejemplo-impresion {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: min(100%, 600px);
  margin-bottom: 60px;
}

main nav {
  text-align: left;
}

main nav li:first-child {
  margin-top: 25px;
}
