.pagination {
  justify-content: center;
}

.title {
  position: absolute; /* Posición absoluta con respecto al contenedor padre */
  bottom: 0; /* Coloca el título en la parte inferior del contenedor */
  width: 100%;
  text-align: center;
  margin: 100; /* Ajusta el margen según sea necesario */
  padding: 5px; /* Ajusta el relleno según sea necesario */
  background-color: rgba(
    0,
    0,
    0,
    0.7
  ); /* Fondo semitransparente negro para el título */
  color: white; /* Color del texto */
}

logo {
  border: none;
  position: relative;
  width: 200px;
  height: 73px;
  padding: 0;
  z-index: 2;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E")
    no-repeat 50% 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E")
    no-repeat 50% 50%;
  -webkit-mask-size: 100%;
  cursor: pointer;
  background-color: transparent;
  transform: translateY(8px);
}

logo:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0px 0 0 0 white;
  transition: all 2s ease;
}

logo:hover:after {
  box-shadow: 0px -13px 56px 12px #ffffffa6;
}

logo span {
  position: absolute;
  width: 100%;
  font-size: 15px;
  font-weight: 100;
  left: 50%;
  top: 39%;
  letter-spacing: 3px;
  text-align: center;
  transform: translate(-50%, -50%);
  color: black;
  transition: all 2s ease;
}

logo:hover span {
  color: white;
}

logo:before {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  background-color: black;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 1s ease;
}

logo:hover:before {
  width: 100%;
}

.categorias-link {
  text-decoration: none;
  color: inherit; /* Esto asegura que el color del enlace herede el color del texto padre */
  padding-top: 20px;
}

.categorias-link:hover {
  text-decoration: none;
}

body {
  background: linear-gradient(
    135deg,
    #1b1b2f,
    #162447,
    #0f3460
  ); /* Púrpura oscuro a azul medianoche */
}

.container {
  background: rgba(255, 255, 255, 0.1); /* Más transparencia */
  backdrop-filter: blur(15px); /* Mayor desenfoque */
  -webkit-backdrop-filter: blur(15px);
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.2); /* Borde más oscuro para contraste */
  box-sizing: border-box;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); /* Sombra más marcada */
}

body .pagination .page-link {
  background-color: #1f1f1f;
  border-color: #333;
  color: #ffffff;
}

body .pagination .page-link:hover {
  background-color: #919191;
}
body .pagination .active .page-link {
  background-color: #007bff; /* Cambia este color por el que prefieras */
  border-color: #0056b3; /* Cambia este color por el que prefieras */
  color: #ffffff;
}

.comic-page img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}
.comic-title {
  text-align: center;
  margin: 20px 0;
  font-size: 2em;
  background: linear-gradient(135deg, #ffb6c1, #ff69b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* para navegadores modernos */
}

.button {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 40px;
  right: 40px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  z-index: 100;
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: white;
}

@media (max-width: 768px) {
  .button {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .svgIcon {
    width: 10px;
  }
}

.comic-page img {
  width: 100%;
  height: auto;
  margin-bottom: 20px; /* Añade espacio entre las imágenes si es necesario */
}

.sidebar {
  position: sticky;
  top: 0; /* Se pega cuando llega al borde superior de la ventana */
  max-height: 100vh; /* Limita la altura máxima para evitar sobrepasar la pantalla */
  overflow-y: auto; /* Permite el desplazamiento interno si el contenido es demasiado alto */
  overflow-x: hidden;
}

.tag-container {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); /* Sombra más grande */
  padding: 20px;
  max-width: 350px;
  width: 100%;
  text-align: center;
  position: relative; /* Necesario para la sombra detrás */
}

.tag-container::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background-color: rgba(
    0,
    0,
    0,
    0.05
  ); /* Color y transparencia de la sombra */
  z-index: -1; /* Colocar la sombra detrás */
  border-radius: 10px;
}

.tag-container h2 {
  margin-top: 0;
  font-size: 1.6em;
  color: #6c5ce7;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.tag-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 10px 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  display: inline-block;
  background-color: #a29bfe;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  margin: 5px;
  font-size: 0.9em;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.tag:hover {
  background-color: #6c5ce7;
  transform: scale(1.05);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #b2bec3;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #636e72;
}

/* Reset de estilos para los enlaces dentro de las etiquetas */
.tag a {
  text-decoration: none; /* Quitar subrayado */
  color: inherit; /* Heredar el color del texto del contenedor */
}

.tag a:hover {
  text-decoration: underline; /* Subrayado al pasar el cursor */
  color: inherit; /* Heredar el color del texto del contenedor */
}

.Random {
  padding-bottom: 20px;
}

/* Tarjetas del index */
.indexcard .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Estilos específicos para pantallas grandes */
@media (min-width: 768px) {
  .indexcard .card {
    height: 100%;
  }

  .indexcard .card-img-top {
    object-fit: cover; /* Ajusta la imagen para cubrir el área de la tarjeta sin deformarse */
    height: 400px; /* Ajusta la altura de la imagen según tus necesidades */
  }
}

/* Opcional: Estilos para móviles (pantallas pequeñas) */
@media (max-width: 767px) {
  .indexcard .card {
    height: 100%;
  }

  .indexcard .card-img-top {
    object-fit: cover; /* Ajusta la imagen para cubrir el área de la tarjeta sin deformarse */
    height: 300px; /* Ajusta la altura de la imagen según tus necesidades */
  }
}

/* Etiquetas de los comics */
.tag-comics {
  background-color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); /* Sombra más grande */
  padding-bottom: 20px;
  width: 100%;
  text-align: center;
  position: relative; /* Necesario para la sombra detrás */
}

.tag-comics::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background-color: rgba(
    0,
    0,
    0,
    0.05
  ); /* Color y transparencia de la sombra */
  z-index: -1; /* Colocar la sombra detrás */
  border-radius: 10px;
}

.tag-comics h2 {
  margin-top: 0;
  font-size: 1.6em;
  color: #6c5ce7;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.tag-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 10px 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  display: inline-block;
  background-color: #a29bfe;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  margin: 5px;
  font-size: 0.9em;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.tag:hover {
  background-color: #6c5ce7;
  transform: scale(1.05);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #b2bec3;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #636e72;
}

/* Reset de estilos para los enlaces dentro de las etiquetas */
.tag a {
  text-decoration: none; /* Quitar subrayado */
  color: inherit; /* Heredar el color del texto del contenedor */
}

.tag a:hover {
  text-decoration: underline; /* Subrayado al pasar el cursor */
  color: inherit; /* Heredar el color del texto del contenedor */
}

/* EroCospy */
.buttons {
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.button1 {
  background-color: white;
  color: black;
  border: 1px solid #04aa6d;
}

.button1:hover {
  background-color: #04aa6d;
  color: white;
}

/* Comics Random */
.glass-container {
  background: rgba(255, 255, 255, 0.1); /* Fondo semi-transparente */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px); /* Efecto blur para el glassmorphism */
  padding-top: 1px; /* Espacio superior reducido */
  padding-bottom: 1px; /* Espacio inferior reducido */
}
.glass-container h2 {
  text-align: center;
  margin: 20px 0;
  font-size: 2em;
  background: linear-gradient(135deg, #ffb6c1, #ff69b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* para navegadores modernos */
}

/* From Uiverse.io by mrhyddenn */
button.TwitterArt {
  background: transparent;
  position: relative;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgb(40, 144, 241);
  border-radius: 25px;
  outline: none;
  overflow: hidden;
  color: rgb(40, 144, 241);
  transition: color 0.3s 0.1s ease-out;
  text-align: center;
}

button.TwitterArt span {
  margin: 10px;
}

button.TwitterArt::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  content: "";
  border-radius: 50%;
  display: block;
  width: 20em;
  height: 20em;
  left: -5em;
  text-align: center;
  transition: box-shadow 0.5s ease-out;
  z-index: -1;
}

button.TwitterArt:hover {
  color: #fff;
  border: 1px solid rgb(40, 144, 241);
}

button.TwitterArt:hover::before {
  box-shadow: inset 0 0 0 10em rgb(40, 144, 241);
}





/* Footer */
footer {
  background: linear-gradient(
    135deg,
    #1b1b2f,
    #162447,
    #0f3460
  ); /* Mismo degradado que el body */
  color: white; /* Texto en blanco para buena legibilidad */
  padding: 20px;
  border: none; /* Asegúrate de que no haya bordes claros */
}

