* {
  padding: 0px !important;
  margin: 0px !important;
}

body {
  width: 100% !important;
  background-color: black !important;
  position: relative;
  min-height: 100% !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  min-height: 100% !important;
}

#menu_on {
  display: inline-block;
  width: 30px;
  height: 20px;
  position: fixed;
  z-index: 2;
  margin: 10px !important;
}

#menu_on span {
  width: 100%;
  height: 4px;
  border-radius: 4px;
  position: fixed;
  display: block;
  position: absolute;
  background: white;
  transition: all 0.25s ease;
  /* Propiedades a animar | Tiempo | Tipo animación*/
  transform-origin: 0px 100%;
  z-index: 11;
}

#menu_on span:nth-child(2) {
  top: calc(50% - 2px);
  z-index: 11;
}

#menu_on span:nth-child(3) {
  bottom: 0;
  z-index: 11;
}

nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -2000px;
  /* Escondemos nuestro menú con un valor negativo */
  width: 100%;
  z-index: 10;
  background-color: black;
  color: white;
  opacity: 0;
  transition: all 0.75s ease;
  font-size: 1.2em;
  overflow-y: auto;
}

.lista {
  margin-top: 5% !important;
  margin-left: 7% !important;
}

.listImg {
  width: 60% !important;
}

.lista li {
  display: block;
  text-decoration: none !important;
}

.lista a {
  width: 15%;
  display: block;
  text-decoration: none !important;
  font-weight: bold;
  font-size: calc(0.1em + 1vw);
  color: white !important;
  padding-top: 1% !important;
  position: relative !important;
}

.lista a::after {
  content: "" !important;
  display: block !important;
  width: 0 !important;
  height: 2px !important;
  background-color: white !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  transition: width 0.3s ease !important;
  /* Transición para el efecto de expansión */
}

/* Estilos para la expansión */
.lista a:hover::after {
  width: 70% !important;
}

.submenu {
  margin-left: 7% !important;
  padding-bottom: 2% !important;
  font-size: calc(0.1em + 1vw);
  position: fixed !important;
  bottom: 0;
}

.linea {
  width: 25%;
  /* Aquí puedes establecer el ancho que desees, ya sea en porcentaje, píxeles u otra unidad de medida */
  /* También puedes establecer otros estilos, como color, grosor, etc. */
  border: none;
  /* Para quitar el borde por defecto de la línea */
  border-top: 1px solid;
  /* Agrega un borde superior como línea en lugar del estilo predeterminado */
  opacity: 0.5 !important;
}

.submenu h4 {
  margin-top: 3% !important;
  font-size: calc(0.1em + 1.5vw);
  opacity: 0.5 !important;
}

.submenu p {
  margin-top: 2% !important;
  opacity: 0.5 !important;
}

.submenu a {
  margin-top: 2% !important;
  font-size: calc(0.1em + 1vw) !important;
  transition: opacity 0.3s ease !important;
  opacity: 0.5 !important;
  text-decoration: none !important;
  color: white !important;
}

.submenu a:hover {
  opacity: 1 !important;
  color: white !important;
}

.visible_menu span:nth-child(1) {
  transform: rotate(45deg) translate(-2px, 1px);
  overflow-y: auto;
  text-align: right;
}

.visible_menu span:nth-child(2) {
  opacity: 0;
  overflow-y: auto;
}

.visible_menu span:nth-child(3) {
  transform: rotate(-45deg) translate(-3px, 3px);
  overflow-y: auto;
}

.visible_menu nav {
  left: 0;
  opacity: 1;
}

.visible_menu #content {
  transform: translateX(260px);
}

.mv {
  background-color: #686665;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  z-index: 1;
  width: 12%;
  text-align: center;
  padding-top: 3% !important;
}

.caja {
  color: white;
  height: calc(5em + 1vw);
  width: 100%;
  font-size: calc(0.2em + 1vw);
  text-decoration: none;
  margin-top: 5% !important;
}

.caja:hover {
  color: #71c7ec;
  background-color: white;
}
.icon {
  margin-top: 10% !important;
  font-size: calc(1.5em + 1vw);
}

.contenido {
  width: 88% !important;
  margin-left: 12% !important;
  position: absolute;
  z-index: 0 !important;
}
.titlePgGames h1 {
  font-size: calc(1.5em + 6vw);
  text-align: center;
  color: white;
  font-family: "Jacquard 12", system-ui;
  font-weight: 400;
  font-style: normal;
}
.card {
  background-color: aliceblue;
  text-align: center;
  width: 80% !important;
  margin-left: 10% !important;
  height: 100% !important;
}
.card-img-top {
  width: 70% !important;
  margin-bottom: 10% !important;
}
.titleGame {
  position: absolute;
  bottom: 0 !important;
  text-align: center;
  width: 100%;
  margin-bottom: 2% !important;
}
footer {
  width: 100%;
  font-size: calc(0.1em + 1.3vw);
  position: fixed !important;
  bottom: 0;
  color: white !important;
  padding-left: 2% !important;
}

footer img {
  width: 15%;
  text-align: right !important;
}

.iconFooter {
  color: white !important;
  font-size: calc(0.1em + 1.5vw);
  line-height: 1;
  margin: 0.5% !important;
}

/*----------------------------------------------------------------------------*/
@media screen and (max-width: 990px) {
  .lista a {
    width: 25%;
  }

  .table {
    width: 100% !important;
    font-size: calc(0.5em + 1vw);
    padding: 0%;
  }

  footer {
    font-size: calc(0.1em + 1.5vw);
  }

  footer img {
    width: 20%;
    text-align: right !important;
  }

  .iconFooter {
    font-size: calc(0.1em + 2vw);
    text-align: right !important;
  }
}

/*----------------------------------------------------------------------------*/
@media screen and (max-width: 575px) {
  .lista {
    margin-top: 15% !important;
    font-size: calc(10em + 10vw) !important;
  }

  .listImg {
    width: 50% !important;
  }

  .lista a {
    width: 100%;
    padding-top: 5% !important;
  }

  .submenu {
    left: -2000px;
  }

  .mv {
    width: 25%;
    padding-top: 10% !important;
  }
  .caja {
    height: calc(5em + 15vw);
  }
  .icon {
    margin-top: 10% !important;
    font-size: calc(1.5em + 10vw);
  }

  .contenido {
    width: 75% !important;
    margin-left: 25% !important;
  }

  .card {
    height: 220px !important;
  }
  footer {
    width: 90%;
    font-size: calc(0.5em + 2vw);
    text-align: center;
  }

  footer img {
    width: 30%;
    text-align: right !important;
  }

  .iconFooter {
    font-size: calc(0.5em + 3vw);
  }
}
