/*Voy a meter aquí el css de las cajas de personaje para dividir un poco las cosas*/
      /*CSS DE LOS DESPLEGABLES!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
      .menu-btn{
          position:fixed;
          padding:8px 15px;
          font-size:20px;
          font-weight:bold;
          border: 1px solid #333;
          background: transparent;
          border-bottom: 1px solid #333;
          height: 50px;
          color:white;
          text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
          border-radius:0;
          top: 0;
          z-index: 100;
      }
      .menu-btn:hover{
        background-color: #888;
        border-color: #fffb14;
      }
      .left-btn{
          left:220px;
      }
      .right-btn{
          right:220px;
      }

      /* Barras laterales */ /*TENGO QUE MODIFICARLAS PARA QUE ENCAJEN CON EL RESTO DEL ESTILO DE LA PÁGINA*/ 
      .sidebar{
          position:fixed;
          top:0;
          width:220px;
          height:100vh;
         background: rgba(10, 10, 10, 0.85);
        border: 1px solid #141c25ad;
          color:white;
          transition:0.35s;
          z-index:1000;
          overflow-y:auto;
      }

      .left{
          left:-220px;
      }

      .left.active{
          left:0;
      }

      .right{
          right:-220px;
      }

      .right.active{
          right:0;
      }

      .sidebar a{
          display:block;
          color:white;
          text-decoration:none;
      }
      /*ARRIBA CSS DE LOS DESPLEGABLES!!!!!!!!!!!!!!!!!!!1*/



/*PROBANDO DE OTROSSSSS*/
 /* Character grid - 2 columns */
 
  .character-grid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: -60px auto 0;
  width: calc(100% - 40px);
  max-width: 1200px;
  box-sizing: border-box;
  justify-items: center;
}
  .character-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .character-image:hover {
  border-color: #fffb14;
  box-shadow: 0 0 25px rgba(62, 71, 61, 0.5);
  transform: translateY(-5px);
}

.character-image img {
  width: 100%;
  height: 100%; 
  object-fit: cover;
  background-size: cover;
  background-position: center;
  margin:0;
}

.character-image {
  width: 100%;
  height: 60%;
  aspect-ratio: 3/4;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  border-bottom: 2px solid #2f2f2f;
}

.character-info {
  padding-right: 10px;
  padding-left: 10px;
  text-align: center;
  transform: translateY(-80px);
}

.character-nombre {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.character-apellidos {
  margin: -30px 0 0 -15px;
  color: #888;
  font-style: italic;
  font-size: 15px;
    transform: translateY(-40px);
}

.etiquetas {
  display: flex;
  gap: 5px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
      transform: translateY(-40px);

}

.stat-badge {
  background: #172145;
  color: #486ef7;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 9px;
  border: 1px solid #486ef7;
      transform: translateY(-40px);

}

/*Hover de la esquinita. no se si lo voy a usar*/
.u {
  font-size: 0.7em;
  border-radius: 20px;
  width: 75px;
  height: 50px;
  padding: 5px;
  margin-top: 0;
  transition: 0.5s;
  line-height: 1.5em;
  font-weight: bold;
}
.u:hover {
  margin-top: -2em;
  height: 75px;
  transition: 0.5s;
}

.ribbon {
  width: 60px;
  font-size: 14px;
  padding: 4px;
  position: absolute;
  right: -25px;
  top: -12px;
  text-align: center;
  border-radius: 25px;
  transform: rotate(20deg);
  background-color: #ff9800;
  color: white;
}









