/* @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i&display=swap'); */
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100vw;
  height: 100vh;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Lato", sans-serif; /* Fuente global predeterminada */
  /* color: black; */
}
/* Importando las fuentes desde Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@300;400&family=Montserrat:wght@400&display=swap");

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  /* font-family: 'Playfair Display', serif;  */
  /* color: #333333; */
}
/* Cuerpo de texto */
p {
  font-family: "Lato", sans-serif; /* Fuente para el cuerpo del texto */
  font-weight: 300;
  font-size: 22px;
  line-height: 1.6;
  /* color: #444444; */
  letter-spacing: 15px;
  inline-size: max-content;
}

[data-theme="light"] {
  --primary: #fff;
  --background: #fff;
  --text: #000;
}

[data-theme="dark"] {
  --primary: #3a3a3a;
  --background: #000;
  --text: #fff;
}
/* Estilos del switch */
.boton-flotante {
  position: fixed;
  background: white;
  bottom: 10px;
  right: 10px;
  border-radius: 34px;
  padding: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
/* Estilo para el botón flotante del icono de tema */
.boton-flotante2 {
  position: fixed;
  bottom: 20px; /* Espacio desde el borde inferior */
  left: 20px; /* Espacio desde el borde izquierdo */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff; /* Fondo claro para mayor visibilidad */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25); /* Sombra para destacar el botón */
  color: black; /* Color del icono según el tema */
  z-index: 1000; /* Asegura que esté encima de otros elementos */
  transition: background-color 0.3s ease, color 0.3s ease; /* Transición suave en el color */
}

/* Efecto hover para el botón flotante */
.boton-flotante2:hover {
  background-color: #f0f0f0; /* Color al hacer hover */
}

/* Estilo para el icono dentro del botón */
.boton-flotante2 svg {
  width: 24px; /* Tamaño del ícono */
  height: 24px;
  transition: transform 0.3s ease; /* Transición suave para la animación */
}

/* Opcional: Pequeña rotación del icono al hacer hover */
.boton-flotante2:hover svg {
  transform: rotate(20deg);
}

.switch {
  position: relative;
  /* display: inline-block; */
  width: 60px;
  height: 34px;
  /* margin-top: auto; */
  align-items: center;
  justify-content: center;
  /* display: none; */
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  /* display: none; */
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--text);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
  scale: 0.8;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--primary);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

/* input:checked + .slider {
    background-color: var(--background);
} */

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
body {
  background: var(--background);
  overflow-x: hidden;
  position: relative;
}

/* .dark-theme {
    background-color: #1f1f1f;
    color: #ffffff;
    
}
.white-text{
    color: white;
}
.container-white *{
    color: white;
} */
/*INICIO HEADER*/

header {
  position: fixed;
  height: 90px; /*100*/
  max-height: 100px;
  max-width: 100%;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  background: var(--primary);
  color: var(--text);
  /* padding: 0 50px; */
  /* box-shadow: 0 4px 25px -22px black; */
  z-index: 20;
  display: grid;
  align-items: center;
}
.header-content {
  max-width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-around;
  position: relative;
  color: var(--text);
  align-items: center;
  padding: 1rem;
}
.header-content2 {
  height: auto;
  width: auto;
  margin: auto;
}
.nombre {
  height: auto;
  width: auto;
  /* margin-top: 30px; */
  margin-right: 10px;
  display: none;
}
.nombre a {
  font-size: 30px;
  text-align: center;
  color: #a9afaa;
  letter-spacing: normal;
  /* font-family: 'avenir-lt-w01_85-heavy1475544,sans-serif'; */
}
.probemos {
  display: none;
}
.menu {
  display: none;
}
.menu nav {
  display: none;
}
ul,
ol {
  list-style: none;
}
.navHeader {
  margin: 0;
  display: none;
}
.icon-menu {
  display: none;
}
.nav {
  /* margin-right:30px; */
  /* margin-top: 30px; */
}
.nav > li {
  float: left;
  line-height: 20px;
}
.nav li a {
  /* color: black; */
  color: var(--text);
  font-weight: 400;
  /* color: #333333; */
  letter-spacing: 2px;
  text-decoration: none;
  padding: 5px 30px;
  display: block;
}
.nav li img {
  height: 15px;
}
.nav li a:hover {
  background-color: #cdaa6084;
}
.nav li ul {
  display: none;
  position: absolute;
  min-width: 140px;
  background-color: var(--primary);
}

.nav li:hover > ul {
  display: block;
}

.nav li ul li {
  position: relative;
}

.nav li ul li ul {
  right: -140px;
  top: 0px;
}
/*FIN HEADER*/

/*Buscador de contenido*/

#ctn-icon-search {
  position: relative;
  /* display:flex; */
  display: none;
  justify-content: right;
  align-items: center;
}
#ctn-icon-search i {
  font-size: 18px;
  color: #777777;
  cursor: pointer;
  transition: all 300ms;
}
#ctn-icon-search i:hover {
  color: #46a2fd;
}
#ctn-bars-search {
  position: fixed;
  top: -10px;
  width: 100%;
  background: #fff;
  padding: 20px;
  z-index: 9;
  transition: all 600ms;
}
#ctn-bars-search input {
  /* display: block; */
  width: 100%;
  margin: auto;
  padding: 10px;
  font-size: 18px;
  outline: 0;
}
#box-search {
  position: fixed;
  top: 175px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: #fff;
  z-index: 8;
  overflow: hidden;
  display: none;
}
#box-search li a {
  display: block;
  width: 100%;
  color: #777777;
  padding: 12px 20px;
}
#box-search li a:hover {
  background: #f3f3f3;
}
#box-search li a i {
  margin-right: 10px;
  color: #777777;
}
#cover-ctn-search {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 7;
  display: none;
}
/*FIN BUSCADOR*/

/*INICIO BODY*/
/*contenedor juegos y menu*/
.container {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 100%;
  background-color: var(--background);
  /* background:white; */
  margin-left: 0%;
  margin-right: 0%;
}

.bloquejuegos {
  display: grid;
  width: 100%;
}
.titulo {
  margin-bottom: 20px;
  font-size: 35px;
}
/*Menu gris*/
.menu {
  display: grid;
  width: 100%;
}

.nav1 {
  list-style: none;
  background: #282d33;
}
.nav1-1 .nav1-2 {
  display: none;
}
.nav1-2 > li {
  float: left;
  line-height: 20px;
  display: none;
  position: fixed;
  top: -10px;
}
.nav1-2 li a {
  color: white;
  text-decoration: none;
  padding: 8px;
  display: block;
  display: none;
}
.nav1-2 li img {
  height: 15px;
}
.nav1-2 li a:hover {
  background-color: #434343;
}
.nav1-2 li ul {
  display: none;
  position: absolute;
  min-width: 140px;
  background-color: #434343;
}

.nav1-2 li:hover > ul {
  display: block;
}

.nav1-2 li ul li {
  position: relative;
}

.nav1-2 li ul li ul {
  right: -140px;
  top: 0px;
}
.nav2 {
  display: none;
}
.nav1 ul li {
  display: inline-block;
  padding: 20px;
  transition: all ease-in-out 250ms;
}

.nav1 ul li a {
  color: white;
  text-decoration: none;
}

.nav1 ul li:hover {
  background: black;
}
/*Menu gris*/
/*anuncios*/
.banner {
  display: grid;
  width: 100%;
  margin-top: 0px;
  /* padding-top: 100px;*/
  position: relative;
}
.banner aside .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}

.banner aside .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*
        .banner video{
            max-width: 100%;
            width: 600px;
            max-height: 400px;
            height: 230px;
        }
    */

.container2 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.tipos {
  display: inline-block;
}
button {
  background: #eeecf1;
}
.tipos img {
  height: 20px;
}
/*juegos*/
.bloqueJuegos2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0;
  width: 100%;
}
.anuncioJuegos2 {
  cursor: default;
  -webkit-tap-highlight-color: transparent /* 4 */;
  -webkit-text-size-adjust: 100%;
  word-break: break-word;
  font: 1.6rem/1.5 "metropolis", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #fff;
  -webkit-box-direction: normal;
  box-sizing: border-box;
  border: 0;
  width: 100%;
  /*background-color: #f6f4f8;*/
  display: inline-block;
  margin: 3px;
  padding: 8px;
}

.anuncioJuegos2 figure:hover figcaption {
  display: grid;
}
.fotos {
  /*height: 300px;
            */
  width: 100%;

  object-fit: contain;
}
figure {
  padding: 5px;
  position: relative;
}
figcaption {
  display: none;
  position: absolute;
  top: 5px;
  left: 5px;
  bottom: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  /* padding: 15px; */
  font: 20px/30px Verdana;
  color: white;
  align-content: center;
}
/**
        .titulojuego{
            font-size: 20px;
            margin-top: 10px;
            
        }
        .titulojuego span{
            color: #fff;
        }
        .disponibles{
            font-size: 15px;
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        }
        .disponibles span{
            color: #7a7373;
        }
        .precio{
            font-size: 19px;
        }
        .envio{
            font-size: 11px;
            font-style: italic;
        }*/
.envio span {
  color: #7a7373;
}
.read {
  text-align: center;
  display: block;
  background-color: var(--background);
  /* background-color: #fdfafa; */
  padding-bottom: 5px;
}
.readMore_btn {
  background-color: rgb(90, 89, 89);
  border: none;
  border-radius: 40px;
  color: rgb(252, 252, 252);
  padding: 15px 32px;
  font-size: 1.2em;
  box-shadow: 0px 0px 10px 0px #5e5e5e;
  cursor: pointer;
}

.readMore_btn:hover {
  box-shadow: none;
  background-color: rgb(52, 52, 52);
  color: #fff;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1) 3.05s;
}
.hide {
  display: none;
}
.hideText {
  display: none;
}
.show {
  display: block;
}
.mostrarMas {
  background-color: #323232;
  border: none;
  border-radius: 40px;
  color: white;
  padding: 15px 32px;
  font-size: 1.2em;
  box-shadow: 0px 0px 10px 0px #4a4a4a;
  cursor: pointer;
}
.mostrarMas:hover {
  box-shadow: none;
  background-color: #080808;
  color: #eeecf1;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1) 3.05s;
}

/*FIN BODY*/

/*INICIO FOOTER*/
footer {
  line-height: 40px;
  background: rgb(90, 89, 89);
  color: white;
  text-align: center;
  /* position: absolute; */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 130px;
  max-height: 130px;
  display: block;
  display: inline-block;
}
footer img {
  height: 35px;
  width: 35px;
}
.letras {
  letter-spacing: normal;
  font-family: "avenir-lt-w01_85-heavy1475544,sans-serif";
  inline-size: auto;
}
/*FIN FOOTER*/
/*CONTACTENOS*/

.container4 {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  height: 100%;
  margin-bottom: 38.6ch;
  padding-top: 20px;
}
.section8 {
  display: inline-block;
  width: 100%;
  display: block;
}
article {
  display: inline-block;
  width: 100%;
}
article h3 {
  font-size: 40px;
  color: #c2c0c0;
}
article span {
  font-size: 20px;
  color: #080808;
}

.overflow-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

aside {
  width: 100%;
  float: right;
  position: relative;
  margin-top: 85px;
}
aside video {
  max-width: 100%;
  height: 100%;
  /*max-height: 800px;*/
  width: 100%;
}
.container aside {
  position: relative;
  margin-top: 0;
}
/*cookies*/
#div-cookies {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  background-color: rgb(186, 180, 188);
  box-shadow: 0px -5px 15px gray;
  padding: 7px;
  text-align: center;
  z-index: 99;
}

/*CONTACTENOS*/

/* fin CONTACTENOS*/

/*responsive*/
.probemos {
  display: none;
}
.background {
  display: none;
}
.menu {
  display: none;
}
.footer_mov {
  display: none;
}
.aboutMe {
  /* width: 100%; */
  margin-top: 80px;
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 5%;
  background: var(--background);
  padding-top: 30px;
  padding-bottom: 20px;
  margin-left: 15%;
  margin-right: 15%;
  color: var(--text);
}
.aboutTitle h1 {
  text-align: center;
  padding: 20px;
  color: var(--text);
}

.aboutText {
  /* text-align: center; */
  align-self: center;
  /* margin-right:15% ; */
  font-size: 20px;
  /* text-transform: uppercase; */
}
.aboutText p {
  inline-size: auto;
  letter-spacing: 1px;
  font-size: 1rem;
  font-family: system-ui;
}
.aboutTitle img {
  display: block;
  margin: 0 auto;
  height: 500px;
  width: auto;
}
.aboutMe .colaboraciones {
  width: 100px;
}
.aboutMarcas {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 50px;
  align-self: center;
}
.aboutMarcas h1 {
  text-align: center;
  padding: 50%;
}
.aboutMarcas img {
  height: auto;
  width: auto;
  max-width: 100px;
  max-height: 100px;
}
@media screen and (max-width: 1100px) {
  .nombre {
    text-align: center;
    margin-right: 0px;
  }
  .header-content2 {
    width: 100%;
  }
}
/*para tablets*/
@media screen and (max-width: 950px) {
  header {
    padding: 0;
  }
  .bloqueJuegos2 {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }
  .header-content {
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    color: white;
    /* padding: 1rem; */
  }
  .nombre {
    margin-left: auto;
    margin: 8px;
  }
  .header-content2 {
    display: grid;
    grid-template-columns: repeat(1, 3fr);
    max-height: 60px;
    width: 100%;
  }

  .nav {
    margin-right: 0px;
    /* margin-top: 15px; */
    /* inline-size: max-content; */
    /* width: 90%; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .nav li {
    display: inline-block;
    margin-left: auto;
  }
  .container {
    margin-top: 85px;
    display: grid;
    grid-template-columns: 100%;
    padding-left: 0%;
    /*margin-right: 10%;*/
  }
  .bloqueJuegos {
    width: 95%;
  }
  .bloqueJuegos2 {
    width: 100%;
  }
  .anuncioJuegos2 {
    margin: 0;
    padding: 0;
  }
  .nav1-1 {
    display: none;
  }
  .nav1-2 {
    list-style: none;
    background: #282d33;
    height: 100px;
  }
  .nav1-2 > li {
    float: left;
    line-height: 20px;
    position: static;
  }
  .nav1-2 li a {
    color: white;
    text-decoration: none;
    padding: 8px;
    display: block;
  }
  .nav1-2 li img {
    height: 15px;
  }
  .nav1-2 li a:hover {
    background-color: #434343;
  }
  .nav1-2 li ul {
    display: none;
    position: absolute;
    min-width: 140px;
    background-color: #434343;
  }

  .nav1-2 li:hover > ul {
    display: block;
  }

  .nav1-2 li ul li {
    position: relative;
  }

  .nav1-2 li ul li ul {
    right: -140px;
    top: 0px;
  }
  .aboutMe {
    grid-template-columns: 100%;
  }
  .aboutTitle img {
    height: 400px;
  }
}

@media (max-width: 915px) {
  .container {
    width: 100%;
    /* margin:0; */
  }
  .bloqueJuegos2 {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0;
    padding: 0;
    margin-top: 0;
  }
  /* .read{
        display: none;
    } */
  header {
    padding: 0;
    box-shadow: none;
  }
  .header-content {
    height: 100px;
    width: 100%;
    display: grid;
    justify-content: center;
    position: absolute;
    color: white;
    align-items: center;
    /* grid-template-columns: 50% 20% 30%; */
    /* grid-template-columns: 33% 20% 33%; */
    grid-template-columns: 50% 50%;
    padding: 15px;
  }
  /* .nombre{
        display: block;
        
    }
    .nombre a{
        font-size: 1.4rem;
        font-family: 'avenir-lt-w01_85-heavy1475544,sans-serif';
    } */
  .footer_mov {
    display: none;
  }
  /* .icon-menu,.readMore_btn,.icon-menu,.readMore_btn {display: none;}
    #ctn-icon-search,#ctn-icon-search i,#ctn-icon-search i:hover,#ctn-bars-search,#ctn-bars-search input,#box-search,#box-search li a,#box-search li a i,#cover-ctn-search{display:none;}
    .nombre{
        width: 400px;
    } */
  /* Nueva clase para el submenú */
  /********************************************************/

  /* Nueva clase para el submenú */
  .submenu {
    display: none;
    list-style: none;
    position: absolute;
    /*top: 100%; /* Despliega el submenú justo debajo del elemento padre */
    /*left: 0; /* Alinea el submenú con el borde izquierdo del elemento padre */
    background-color: #333; /* Color de fondo del submenú */
    margin: 0;
    padding: 0;
    /*width: 200px; /* Ajusta el ancho según lo que necesites */
    z-index: 10; /* Asegura que el submenú esté por encima de otros elementos */
  }

  .submenu li {
    padding: 1px;
    border-bottom: 1px solid #444; /* Línea divisoria entre elementos */
  }

  .submenu li a {
    color: #fff; /* Color de los enlaces en el submenú */
    text-decoration: none;
    display: block;
  }

  /* Despliegue del submenú - solo hover para desktop, click para móvil */
  /* En móvil se maneja con JavaScript y la clase .active */
  .portfolio:hover .submenu {
    display: block;
  }
  
  /* Estilos para el submenú de portfolio en móvil (cuando el menú está abierto) */
  body.open .menu nav .portfolio {
    position: relative;
  }
  
  body.open .menu nav .portfolio .submenu {
    display: none;
    list-style: none;
    position: static;
    background-color: transparent;
    margin: 0;
    padding: 0;
    margin-top: 10px;
    width: 100%;
  }
  
  body.open .menu nav .portfolio.active .submenu {
    display: block;
  }
  
  body.open .menu nav .portfolio .submenu li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(169, 167, 167, 0.2);
  }
  
  body.open .menu nav .portfolio .submenu li:last-child {
    border-bottom: none;
  }
  
  body.open .menu nav .portfolio .submenu li a {
    color: #a9a7a7;
    font-size: 22px;
    margin-bottom: 0;
    padding-left: 20px;
    letter-spacing: 1.5px;
  }
  
  /* Indicador visual para portfolio cuando tiene submenú */
  body.open .menu nav .portfolio > a {
    position: relative;
    padding-right: 30px;
  }
  
  body.open .menu nav .portfolio > a::before {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.3s ease;
  }
  
  body.open .menu nav .portfolio.active > a::before {
    content: "−";
    transform: rotate(0deg);
  }

  /* Evita que otros elementos se solapen */
  .menu {
    position: relative;
    display: flex;
    padding: 10rem;
  }
  body.open .menu nav {
    height: 30vh;
  }

  /************************************/
  .header-content2 {
    width: 100%;
    padding: 40px;
    margin: 10px;
    display: none;
  }

  .probemos > div {
    background: black;
    height: 2px;
    width: 100%;
    border-radius: 5px;
    transition: all 0.5s;
    transform-origin: left;
  }
  .probemos {
    margin-left: auto;
    margin-right: 15px;
    display: flex;
    padding-left: 10px;
    padding-top: 10px;
    flex-direction: column;
    width: 3rem;
    height: 3rem;
    border: 0;
    background: transparent;
    gap: 0.65rem;
    z-index: 4;
    left: 0;
  }
  body.open {
    background: #313131;
  }
  body.open .bloquejuegos2 {
    visibility: hidden;
  }
  body.open .text_maps {
    visibility: hidden;
  }
  body.open .Pbody {
    visibility: hidden;
  }
  body.open .Pbloque {
    visibility: hidden;
  }
  body.open .portafolio {
    visibility: hidden;
  }
  body.open .Pbodyportfolio {
    visibility: hidden;
  }
  body.open aside {
    visibility: hidden;
  }
  body.open .aboutMe {
    visibility: hidden;
  }
  body.open .aboutText {
    visibility: hidden;
  }
  body.open .aboutMarcas {
    visibility: hidden;
  }
  body.open .probemos div:first-child {
    transform: rotate(45deg);
  }
  body.open .probemos div:nth-child(2) {
    opacity: 0;
  }
  body.open .probemos div:last-child {
    transform: rotate(-45deg);
  }
  body {
    height: 100%;
    width: 100%;
    font-family: "Avenir LT W01 85 Heavy1475544", sans-serif;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0% 0%;
  }
  .background {
    position: fixed;
    z-index: 2;
    top: 44px;
    left: 44px;
    --aspect-ratio: 1 / 1;
    translate: -50% -50%;
    height: 88px;
    background: #07030a;
    border-radius: 50%;
    opacity: 0;
    transition: 0.6;
  }
  body.open {
    overflow: hidden;
    height: 100vh;
  }
  body.open .container {
    height: 100vh;
  }
  :root {
    --font-1: normal normal 100 14px/1.4em "din-next-w01-light",
      "din-next-w02-light", "din-next-w10-light", sans-serif;
  }
  body.open .switch {
    visibility: hidden;
  }
  body.open .menu nav {
    display: flex;
    text-align: center;
    width: 100%;
    padding-left: 0;
    flex-direction: column;
    height: 80vh;
  }
  body.open .menu nav ul {
    list-style: none;
    text-align: center;
    align-self: center;
  }
  body.open .menu nav ul li {
    padding: 20px;
  }
  body.open .menu nav a {
    margin-bottom: 20px;

    color: #a9a7a7;
    font: var(--font-1);

    font: var(--fnt, var(--font_1));
    letter-spacing: 2px;
    font-size: 28px;
    --txt: var(--color_13);
    font-family: "Avenir LT W01 85 Heavy1475544", sans-serif;
  }
  body.open .menu nav .submenuu {
    display: none;
    /* margin-left:100px ; */
  }
  body.open .menu nav ul li:hover .submenuu {
    display: block;
  }
  body.open .footer_mov {
    display: block;
    bottom: 0;
    z-index: 4;
    text-align: center;
    height: 50px;
  }
  body.open .footer_mov span {
    font-size: 35px;
  }
  body.open .bloquejuegos {
    width: 100%;
    height: inherit;
  }
  body.open .bloqueJuegos2 {
    visibility: hidden;
    opacity: 0.6;
    background: #313131;
  }

  body.open footer {
    display: none;
  }
  body.open .banner {
    display: none;
  }
  body.open .header-content {
    background: #313131;
    opacity: 1;
    width: 100%;
  }
  body.open .bloquejuegos {
    background: #313131;
    opacity: 1;
    width: 100%;
  }
  body.open .read {
    visibility: hidden;
  }
  body.open .menu {
    position: absolute;
    opacity: 1;
    visibility: visible;
    width: 100%;
  }
  .menu {
    z-index: 3;
    top: 0;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    transition: 0.05s;
  }
  .menu nav {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 100px;
  }
  /* body.open .menu nav{
                display:flex;
                text-align: center;
                width: 100%;
                padding-left: 0;
                flex-direction: column;
                padding: 35%;
            } */
  body.open .nombre {
    visibility: hidden;
  }
  body.open .footer_mov {
    position: absolute;
    width: 100%;
    z-index: 4;
    background-color: #313131;
    opacity: 1;
    bottom: 0;
  }
  body.open .footer_mov img {
    height: 30px;
    width: 30px;
  }
  .menu a {
    position: relative;
    color: #f9f9f9;
    font-size: 32px;
    padding: 20px 0 20px 20px;
    text-decoration: none;
    opacity: 0;
    transition: 0.4s;
  }
  .menu a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -26px;
    translate: 0 -50%;
    width: 10px;
    height: 10px;
    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    opacity: 0;
    rotate: 45deg;
    transition: 0.3s;
  }
  .menu a:hover::after {
    opacity: 1;
  }
  @keyframes appear {
    0% {
      opacity: 0;
      translate: -30px 0;
    }
    100% {
      opacity: 1;
    }
  }
  body.open .menu a {
    opacity: 1;
    animation: appear 0.35s backwards;
  }

  .icon-menu {
    display: flex;
    right: 200px;
  }
  .nav {
    display: none;
    margin-right: auto;
    margin-top: 400px;
  }
  .navHeader {
    display: block;
    list-style: none;
    text-align: left;
    padding: 35px 0px;
  }

  .menu {
    display: grid;
    width: 70%;
  }

  .nav1-1 {
    display: none;
  }
  .nav1-2 {
    list-style: none;
    background: #ffffff;
    height: 100px;
  }
  .nav1-2 > li {
    float: left;
    line-height: 0px;
    width: 100%;
  }
  .nav1-2 li a {
    color: white;
    text-decoration: none;
    padding: 1px;
    display: block;
  }

  .nav1-2 li a:hover {
    background-color: #434343;
  }
  .nav1-2 li ul {
    display: none;
    position: absolute;
    min-width: 140px;
    background-color: #434343;
  }

  .nav1-2 li:hover > ul {
    display: block;
  }

  .nav1-2 li ul li {
    position: relative;
  }

  .nav1-2 li ul li ul {
    right: -140px;
    top: 0px;
  }
}
@media (max-width: 850px) {
    body.open .bloqueJuegos {
        height: inherit;
    }
}
@media screen and (max-width: 580px) {
  .container {
    width: 100%;
    /* margin:0; */
  }
  .bloqueJuegos2 {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0;
    padding: 0;
    margin-top: 0;
  }
  /* .read{
        display: none;
    } */
  header {
    padding: 0;
    box-shadow: none;
  }
  .header-content {
    height: 100px;
    width: 100%;
    display: grid;
    justify-content: center;
    position: absolute;
    color: white;
    align-items: right;
    /* grid-template-columns: 50% 50%; */
  }
  .footer_mov {
    display: none;
  }
  /* .icon-menu,.readMore_btn,.icon-menu,.readMore_btn {display: none;}
    #ctn-icon-search,#ctn-icon-search i,#ctn-icon-search i:hover,#ctn-bars-search,#ctn-bars-search input,#box-search,#box-search li a,#box-search li a i,#cover-ctn-search{display:none;}
    .nombre{
        width: 400px;
    } */
  .header-content2 {
    width: 100%;
    padding: 40px;
    margin: 10px;
  }

  .probemos > div {
    background: black;
    height: 2px;
    width: 100%;
    border-radius: 5px;
    transition: all 0.5s;
    transform-origin: left;
  }
  .probemos {
    margin-left: auto;
    margin-right: 15px;
    display: flex;
    padding-left: 10px;
    padding-top: 10px;
    flex-direction: column;
    width: 3rem;
    height: 3rem;
    border: 0;
    background: transparent;
    gap: 0.65rem;
    z-index: 4;
    left: 0;
  }
  body.open .bloquejuegos2 {
    visibility: hidden;
  }
  body.open .probemos div:first-child {
    transform: rotate(45deg);
  }
  body.open .probemos div:nth-child(2) {
    opacity: 0;
  }
  body.open .probemos div:last-child {
    transform: rotate(-45deg);
  }
  body {
    height: 100%;
    width: 100%;
    font-family: "Avenir LT W01 85 Heavy1475544", sans-serif;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0% 0%;
  }
  .background {
    position: fixed;
    z-index: 2;
    top: 44px;
    left: 44px;
    --aspect-ratio: 1 / 1;
    translate: -50% -50%;
    height: 88px;
    background: #07030a;
    border-radius: 50%;
    opacity: 0;
    transition: 0.6;
  }
  body.open {
    overflow: hidden;
    height: 100vh;
  }
  body.open .container {
    height: 100vh;
  }
  :root {
    --font-1: normal normal 100 14px/1.4em "din-next-w01-light",
      "din-next-w02-light", "din-next-w10-light", sans-serif;
  }
  body.open .menu nav {
    display: flex;
    text-align: center;
    width: 100%;
    padding-left: 0;
    flex-direction: column;
    height: 80vh;
  }
  body.open .menu nav ul {
    list-style: none;
    text-align: center;
    align-self: center;
  }
  body.open .menu nav ul li {
    padding: 20px;
  }
  body.open .menu nav a {
    margin-bottom: 20px;

    color: #a9a7a7;
    font: var(--font-1);

    font: var(--fnt, var(--font_1));
    letter-spacing: 2px;
    font-size: 28px;
    --txt: var(--color_13);
    font-family: "Avenir LT W01 85 Heavy1475544", sans-serif;
  }
  
  /* Estilos para el submenú de portfolio en móvil */
  body.open .menu nav .portfolio {
    position: relative;
  }
  
  body.open .menu nav .portfolio .submenu {
    display: none;
    list-style: none;
    position: static;
    background-color: transparent;
    margin: 0;
    padding: 0;
    margin-top: 10px;
    width: 100%;
  }
  
  body.open .menu nav .portfolio.active .submenu {
    display: block;
  }
  
  body.open .menu nav .portfolio .submenu li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(169, 167, 167, 0.2);
  }
  
  body.open .menu nav .portfolio .submenu li:last-child {
    border-bottom: none;
  }
  
  body.open .menu nav .portfolio .submenu li a {
    color: #a9a7a7;
    font-size: 22px;
    margin-bottom: 0;
    padding-left: 20px;
    letter-spacing: 1.5px;
  }
  
  /* Indicador visual para portfolio cuando tiene submenú */
  body.open .menu nav .portfolio > a {
    position: relative;
    padding-right: 30px;
  }
  
  body.open .menu nav .portfolio > a::before {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.3s ease;
  }
  
  body.open .menu nav .portfolio.active > a::before {
    content: "−";
    transform: rotate(0deg);
  }
  
  body.open .footer_mov {
    display: block;
    bottom: 0;
    z-index: 4;
    text-align: center;
    height: 50px;
  }
  body.open .footer_mov span {
    font-size: 35px;
  }
  body.open .bloquejuegos {
    width: 100%;
  }
  body.open .bloqueJuegos2 {
    visibility: hidden;
    opacity: 0.6;
    background: #313131;
  }

  body.open footer {
    display: none;
  }
  body.open .banner {
    display: none;
  }
  body.open .header-content {
    background: #313131;
    opacity: 1;
    width: 100%;
  }
  body.open .bloquejuegos {
    background: #313131;
    opacity: 1;
    width: 100%;
  }
  body.open .menu {
    position: absolute;
    opacity: 1;
    visibility: visible;
    width: 100%;
  }
  /* body.open .menu nav {
    height: 30vh;
  } */
  .menu {
    z-index: 3;
    top: 0;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    transition: 0.05s;
  }
  .menu nav {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 100px;
  }
  /* body.open .menu nav{
                display:flex;
                text-align: center;
                width: 100%;
                padding-left: 0;
                flex-direction: column;
                padding: 35%;
            } */
  body.open .nombre {
    visibility: hidden;
  }
  body.open .footer_mov {
    position: absolute;
    width: 100%;
    z-index: 4;
    background-color: #313131;
    opacity: 1;
    bottom: 0;
  }
  body.open .footer_mov img {
    height: 30px;
    width: 30px;
  }
  .menu a {
    position: relative;
    color: #f9f9f9;
    font-size: 32px;
    padding: 20px 0 20px 20px;
    text-decoration: none;
    opacity: 0;
    transition: 0.4s;
  }
  .menu a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -26px;
    translate: 0 -50%;
    width: 10px;
    height: 10px;
    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    opacity: 0;
    rotate: 45deg;
    transition: 0.3s;
  }
  .menu a:hover::after {
    opacity: 1;
  }
  @keyframes appear {
    0% {
      opacity: 0;
      translate: -30px 0;
    }
    100% {
      opacity: 1;
    }
  }
  body.open .menu a {
    opacity: 1;
    animation: appear 0.35s backwards;
  }

  .icon-menu {
    display: flex;
    right: 200px;
  }
  .nav {
    display: none;
    margin-right: auto;
    margin-top: 400px;
  }
  .navHeader {
    display: block;
    list-style: none;
    text-align: left;
    padding: 35px 0px;
  }

  .menu {
    display: grid;
    width: 70%;
  }

  .nav1-1 {
    display: none;
  }
  .nav1-2 {
    list-style: none;
    background: #ffffff;
    height: 100px;
  }
  .nav1-2 > li {
    float: left;
    line-height: 0px;
    width: 100%;
  }
  .nav1-2 li a {
    color: white;
    text-decoration: none;
    padding: 1px;
    display: block;
  }

  .nav1-2 li a:hover {
    background-color: #434343;
  }
  .nav1-2 li ul {
    display: none;
    position: absolute;
    min-width: 140px;
    background-color: #434343;
  }

  .nav1-2 li:hover > ul {
    display: block;
  }

  .nav1-2 li ul li {
    position: relative;
  }

  .nav1-2 li ul li ul {
    right: -140px;
    top: 0px;
  }
}
@media screen and (max-width: 390px) {
  .header-content {
    padding: 0;
  }
  .slide {
    display: none;
  }
  .slide-inner {
    display: none;
  }
  .bloquejuegos {
    display: grid;
    width: 100%;
  }
  .bloqueJuegos2 {
    grid-template-columns: repeat(1, 1fr);
  }
  /* body.open header{height: auto;} */
  body.open .bloquejuegos {
    margin-top: 0;
  }
}
@media screen and (max-width: 240px) {
  .banner {
    display: none;
  }
  .nombre {
    width: 50%;
    margin: 0;
  }
  .bloqueJuegos2 {
    grid-template-columns: repeat(1, 1fr);
  }
  .header-content2 {
    overflow: hidden;
    width: 0px;
  }
}
