body {
  background-image: url(../../Imagenes/FondoAnimado1.gif);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: relative;
  background-position: left; /* Agrega esto */
  image-rendering: pixelated;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  margin-bottom: 0; /* Agregué esto para que no haya margen inferior */
  position: relative;
  min-width: 8630px; /* Establece un ancho mínimo para el cuerpo */
  overflow-x: auto;
}

.header-container {
  max-width: 10000px;
  min-width: 1000px;
  max-height: 50px;
  background-color: #242424; /* Fondo negro oscuro */
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: bold; 
  text-transform: uppercase; 
  text-decoration: underline;
  letter-spacing: 0.1rem; 
}

nav {
  background-color: transparent; /* Eliminé el fondo de la barra de navegación */
  color: #fff;
  padding: 0; /* Eliminé el padding */
  display: flex; /* Use flexbox para la barra de navegación */
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex; /* Use flexbox para los elementos de la barra de navegación */
}

nav ul li {
  margin-right: 1rem; /* Ajusté el margen entre elementos */
  display: block; /* Para que los elementos de la barra de navegación ocupen todo el ancho */
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 8px; /* Ajusté el tamaño del texto */
  font-weight: bold; /* Hice el texto más bold */
  text-transform: uppercase; /* Puse el texto en mayúsculas */
  letter-spacing: 0.1rem; /* Ajusté el espacio entre letras */
  padding: 0.5rem 1rem; /* Agregué padding al texto */
  border-radius: 5px; /* Agregué bordes redondeados al texto */
}

/* -----------------------------------------------Portadas General---Comienzo-------------------------------------------- */
.portadas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
/* -----------------------------------------------Portadas General---Final-------------------------------------------- */

/* -----------------------------------------------Portada0---Comienzo-------------------------------------------- */
.portada0 {
  width: 600px;
  height: 500px;
  margin-top: 20px;
  margin-bottom: 0px;
  margin-left: 0px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: transparent;
  background-position: center;
}

.portada0 .texto-inferior {
  color: #fff;
  font-size: 16px;
  text-align: justify;
  margin-left: 0px;
  margin-bottom: 20px;
}

.portada0 p {
  color: #fff;
  font-size: 16px;
  text-align: justify;
  align-self: flex-start;
  margin-left: 0px;
  margin-bottom: 0px;
}

.portada0 a {
  color: #fff;
  font-size: 10px;
  font-family: 'Courier New', Courier, monospace;
  text-align: left;
  align-self: flex-start;
  margin-left: 0px;
  white-space: pre;
}
/* -----------------------------------------------Portada0---Final-------------------------------------------- */

/* -----------------------------------------------Portada1---Comienzo-------------------------------------------- */
.portada1 {
  width: 300px;
  height: 400px;
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 0px;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px #0000001a;
  background-color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.portada-header1 {
  position: relative;
  top: -10px;
  left: 0;
  width: 100%;
  height: 100px; /* ajusta la altura del header */
  background-color: #5c6bc0; /* cambia el color a azul */
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 1px solid #5c6bc0;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-content img {
  width: 124px; /* ajusta el tamaño de la imagen */
  height: 30px;
  margin-right: 10px;
  margin-left: 5px;
  margin-bottom: -5px;
}

#miembros-en-linea {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  margin-right: 10px;
  margin-bottom: -5px;
}

#lista-miembros::before {
  content: "GENTECILLA CONECTADA:";
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  color: #838383;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: 20px;
  display: block;
}

#lista-miembros {
  position: relative;
  text-align: left;
  width: 320px;
  height: 500px; /* altura concreta */
  overflow-y: auto; /* barra lateral para desplazarse */
  padding: 0px;
  margin-top: -10px;
  margin-bottom: 32px;
  color: #838383;
}

#lista-miembros::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

#lista-miembros::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  border-radius: 0;
}

#lista-miembros::-webkit-scrollbar-track {
  background-color: #333;
  border-radius: 0;
}

#lista-miembros img {
  width: 16px; /* Ajusta el tamaño del avatar */
  height: 16px; /* Ajusta el tamaño del avatar */
  border-radius: 50%; /* Hace que el avatar sea circular */
  object-fit: cover; /* Asegura que el avatar se ajuste al tamaño */
  margin-right: 1px; /* Agrega un margen entre el avatar y el texto */
  margin-left: 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin-top: 0px;
  background-color: #333;
  border-top: 1px solid #000000;
  width: 300px;
  margin-left: 0;
  margin-right: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.footer-left {
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: -20px;
  margin-top: -20px;
  font-size: 14px;
  color: #686666;
  text-align: left; /* Agrega esto */
}

.footer-right {
  margin-right: 0;
  margin-left: -10px;
  margin-bottom: -20px;
  margin-top: -20px;

}

.discord-button {
  background-color: #53555a;
  color: #fff;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  margin-right: 0;
}

.discord-button:hover {
  background-color: #5c6bc0;
}
/* -----------------------------------------------Portada1---Final-------------------------------------------- */

/* -----------------------------------------------Juegos Titulo---Comienzo-------------------------------------------- */
.juegos-titulo {
  width: 600px;
  height: 50px;
  margin-top: -10px;
  margin-bottom: 1px;
  margin-left: -340px;
  padding: 10px;
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  border-bottom: 1px solid #fff;
  background-color: transparent;
  display: flex;
  justify-content: left;
}
/* -----------------------------------------------Juegos Titulo---Final-------------------------------------------- */

/* -----------------------------------------------Juegos Container---Comienzo-------------------------------------------- */
#ordenar-juegos {
  background-color: #4CAF50;
  color: #fff;
  padding: 5px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer; 
  font-size: 16px; 
  font-weight: bold;
  margin-left: -250px;
  margin-bottom: 10px;
  margin-top: 20px;
}

#ordenar-juegos:hover {
  background-color: #3e8e41; /* Cambia el color de fondo del botón cuando se pasa sobre él */
}

#ordenar-juegos option {
  background-color: #fff;
  color: #333;
  padding: 5px;
  border: none;
  border-radius: 5px;
}

#ordenar-juegos option:hover {
  background-color: #ccc; /* Cambiar el color de fondo de la opción */
}


.juegos-container {
  width: 620px;
  margin-left: -10px;
  margin-right: 330px;
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  border: 1px solid transparent;
}

.juego-recuadro {
  width: 170px;
  height: 200px;
  border: 1px solid #ddd;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #CE8D8D;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.juego-recuadro img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  border-radius: 10px 10px 0 0;
}

.juego-recuadro h2 {
  font-size: 18px;
  margin-top: 10px;
}

.juego-recuadro p {
  margin-bottom: -10px;
  font-size: 14px;
  color: #666;
}

.juego-recuadro h3 {
  font-size: 14px;
  color: #337ab7;
  text-decoration: none;
}

.juego-recuadro a {
  display: block; /* Hace que el enlace ocupe todo el espacio */
  height: 100%; /* Asegura que el enlace tenga la altura completa del contenedor */
  width: 100%; /* Asegura que el enlace tenga el ancho completo del contenedor */
  text-decoration: none; /* Para quitar el subrayado */
  color: inherit; /* Para heredar el color del texto */
}
/* -----------------------------------------------Juegos Container---Final-------------------------------------------- */

.info-box {
  width: 1000px;
  height: 4000px;
  background-color: #282836;
  border: 1px solid #282836;
  border-radius: 5px;
  margin: auto;
  margin-top: 150px;
  margin-bottom: 100px;
  text-align: center;
  padding: 10px;
}

.info-box h1 {
  color: #fff;
  margin-top: 0px;
  margin-bottom: 5px;
  margin-top: 30px;
  margin-left: 30px;
  text-align: left;
}

/* -----------------------------------------------Área Clickable Inicio---Comienzo-------------------------------------------- */
.clickable-area {
  position: absolute; /* Fijo para que cubra toda la ventana */
  top: 55px; /* Desde la parte superior */
  left: 3805px; /* Desde la parte izquierda */
  width: 275px; /* Ancho completo */
  height: 140px; /* Alto completo */
  cursor: pointer; /* Cambia el cursor al pasar sobre el área */
  z-index: 10; /* Asegúrate de que esté por encima de otros elementos */
  background: rgba(43, 48, 116, 0); /* Fondo transparente */
}
.clickable-area-atras {
  position: absolute; /* Fijo para que cubra toda la ventana */
  top: 160px; /* Desde la parte superior */
  left: 3785px; /* Desde la parte izquierda */
  width: 48px; /* Ancho completo */
  height: 48px; /* Alto completo */
  cursor: pointer; /* Cambia el cursor al pasar sobre el área */
  z-index: 10; /* Asegúrate de que esté por encima de otros elementos */
  background-image: url(../../Imagenes/PositParaAtras.png);
  background-repeat: no-repeat;
  background-size: cover;
}
/* -----------------------------------------------Área Clickable Inicio---Final-------------------------------------------- */

/* -----------------------------------------------Pie de Página---Comienzo-------------------------------------------- */
.footerpartebajapagina {
  max-width: 100%;
  min-width: 1000px;
  height: 500px;
  background-color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  flex-direction: column;
}

.footer-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.pf1 {
  max-width: 100%;
  min-width: 100%;
  height: 500px;
  background-color: #7A288A;
  color: #fff;
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  text-align: center;
  flex-direction: column;
  margin-top: -16px;
}

.pf2 {
  max-width: 100%;
  min-width: 100%;
  height: 50px;
  background-color: #333;
  color: #fff;
  margin-top: 484px;
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  text-align: center;
  flex-direction: column;
}

.footer-link {
  color: #ffff00; /* Color amarillo para los enlaces */
  text-decoration: none;
  margin: 0 10px;
}

.footer-link:hover {
  text-decoration: underline;
}
/* -----------------------------------------------Pie de Página---Final-------------------------------------------- */
