*{
    margin:0;
}

body{
    background-color: #cecece;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400 weight;
  font-style:normal
}

body::selection{
    background-color: rgb(134, 134, 134);
  font-family: "Doppio One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

::-webkit-scrollbar {
    width: 20px; /* Ajustar el ancho de la barra */
    height: 10px; /* Ajustar la altura de la barra */
}

/* Personalizar el thumb */
::-webkit-scrollbar-thumb {
    background: #ffffff; /* Color de fondo del thumb */
    border-radius: 5px; /* Redondear las esquinas */
    border: 1px solid #616161; /* Borde del thumb */
}

/* Cambiar el color del thumb al hover */
::-webkit-scrollbar-thumb:hover {
    background: #2c2c2c;
}

/* Personalizar la pista */
::-webkit-scrollbar-track {
    background: #000000; /* Color de fondo de la pista */
}

.menu{
    position: fixed;
    width:12%;
    background-color: rgba(85, 85, 85, 0.616);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding-left: 1%;
    padding-bottom: 2%;
    padding-right: 5%;
    padding-top: 2%;
    height: auto;

}

.menu li{
    list-style: none;
}

.menu a{
    text-decoration: none;
    color:rgb(0, 0, 0);
}

.menu ul{
   
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:10px;
    font-size: 20px;
}

.web{
    display:flex;
    justify-content: center;
    align-items: center;
}

.menu .portada{
    padding-left:26%;
}

.portada .imagen{
    width: 110%;
    transform: scale(2.1);
    height: auto;
    max-width: 110%;
    max-height: 110%; 
}

.desp{
    font-size: 20px;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 25%;
}


.link{
    padding:38%;
    gap:38%;
}

/*scroll*/

.scrollable-container {
    overflow: scroll;  /* O usa overflow: scroll */
    width: 47%;
    height: 6%;
    max-height: 6%;
    border: 2px solid rgb(19, 19, 19);
    border-radius: 5px;
    
}
.nosotrostres{
    font-size: 130%;
    padding-left: 25%;   
}
.nosotrosuno{
    font-size: 300%;
    padding-left: 25%;    
}
.nosotrosdos{
    font-size: 150%;
    padding-left: 25%;      
}
.informacionuno{
    font-size: 400%;
    padding-left: 25%;

}
.informaciondos{
    font-size: 200%;
    padding-left: 25%;

}

.games{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5%;
    gap: 40px;
    flex-wrap: wrap;
    width: 50%; /*ajustas los elementos que puede contener este contenedor*/
}

.boxlist{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width:20ch;
    height:20ch;
}

.boxlist a{
    background-color: transparent;
    
    width:100%;
    height:100%;
}

.boxlist img{
    width:90%;
    height:97%;
    border-radius: 8px;
}

.boxlist h3{
    color:rgb(0, 0, 0);
   margin-top: 2%;
}
.lighterpc .discord {
  width: 2%;
  transform: scale(2.1);
  height: 2%;
  max-width: 2%;
  max-height: 2%;
  margin-left: 26%;
  margin-top: 1%;
}

    

/*responsive del menu o navegador,pero es parte del section con la clase order xd*/

@media (min-width: 670px) {  
    .menu {
        height: 96vh;
        padding-left: 2%;
        padding-bottom: 4%;
        padding-right: 4%;
        padding-top: 6%;
    }
    .scrollable-container {
        overflow: auto;  /* O usa overflow: scroll */
        width: 50%;
        height: 4%;
        max-height: 3%;
        border-radius: 5px;
    }
    
}

@media (min-width: 635px) { 
    .menu {
        height: 97.5vh;
        padding-left: 3%;
        padding-bottom: 4%;
        padding-right: 4%;
        padding-top: 6%;
    }
    
   
}

@media (min-width: 444px) {
    .menu {
        height: 98.9vh;
        padding-left: 3%;
        padding-bottom: 4%;
        padding-right: 8%;
        padding-top: 6%;
    }
    
   

}


/*otro responsive*/

@media (max-width: 1000px) { 
    .cuadrado .end{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top:280%;
    }
} 

@media (min-width: 1084px) { 
    .imagen{
        width:11%;
        height:18ch;
    }
}

@media (max-width: 1060px) { 
    .imagen{
        width:11%;
        height:18ch;
    }
}

@media (max-width: 1083px) { 
    .imagen{
        width:13%;
        height:18ch;
    }
}

@media (max-width: 1149px) {  
    .imagen{
        width:14%;
        height:18ch;
    }
}

@media (max-width: 935px) { 
    .imagen{
        display: none;
    }
    .link{
        padding: 0;
    }
    .imagen{
        width:10%;
        height:18ch;
    } 
    .scrollable-container {
        overflow: auto;  /* O usa overflow: scroll */
        width: 65%;
        height: 6%;
        min-height: 8%;
        border-radius: 5px;
    }
    


    @media (max-width: 950px) {
  /* Menú responsive: pasa de columna a fila arriba */
  .menu {
    position: relative;
    width: 100%;
    flex-direction: center;
    justify-content: space-around;
    align-items: center;
    padding: 30px 0;
    height: auto;
    background-color: rgba(85, 85, 85, 0.9);
  }

  .menu ul {
    flex-direction: row;
    font-size: 16px;
    gap: 15px;
  }

  .menu li {
    text-align: center;
  }

  .menu .portada {
    padding-left: 0;
  }

  /* Ocultar imagen decorativa grande si molesta */
  .portada .imagen {
    display: none;
  }

  /* Sección de contenido */
  .desp {
    margin-top: 20px;
    font-size: 16px;
    padding: 10px;
    text-align: center;
  }

  .games {
    width: 95%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .boxlist {
    width: 70%;
    height: auto;
  }

  .boxlist img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .boxlist h3 {
    font-size: 16px;
    text-align: center;
  }

  .scrollable-container {
    width: 90%;
    height: auto;
    max-height: none;
  }

  .lighterpc .discord {
    width: 40px;
    height: 40px;
    margin: 10px auto;
    display: block;
  }

  .link {
    padding: 0;
    gap: 10px;
  }

  .nosotrostres,
  .nosotrosuno,
  .nosotrosdos,
  .informacionuno,
  .informaciondos {
    padding-left: 1%;
    font-size: 100%;
  }
}
/* Ajustar texto de "Sobre Nosotros" */
.desp {
  padding: 20px;
  font-size: 16px;
  text-align: left;
  line-height: 1.4;
  max-width: 90%;
  margin: 0 auto;
}

/* Centrar menú y espaciado horizontal */
.menu ul {
  justify-content: center;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Logo o imagen final (ese que se ve recortado) */
.lighterpc .discord,
.portada img {
  width: 60px !important;
  height: auto !important;
  display: block;
  margin: px auto;
  object-fit: contain;
}

/* Añadir espacio debajo de todo */
body {
  padding-bottom: 40px;
}

    

}

