/* Estilos generales */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  body {
    background-image: url("../assets/fondo.jpg");
    background-size: 100% 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    letter-spacing: 0.05em;
  }
  
  h1 {
    padding: 1em;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2px;
    box-shadow: inset 0 0 20px whitesmoke;
    background-color: black;
    font-size: 2em;
  }

  h2 {
    text-align: center;
    margin-top: 20px;
    text-shadow: 0 0 8px black;
  }
  
  small {
    color: #eff0a1;
  }
  
  .contenedor-miembros {
    width: 80%;
    margin: 0 auto;
    padding: 1.5em;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
  }
  
  .miembro {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 5px whitesmoke;
    padding: 0.8em;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 10px;
    background-color: black;
    width: 180px;
    overflow: hidden;
  }
  
  .miembro:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 15px whitesmoke;
  }
  
  .miembro img {
    width: 100%;
    height: 220px;
    border-radius: 5px;
  }
  
  /* Estilos para los modales */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    padding-top: 60px;
  }
  
  .modal-content {
    background-color: #2e2e2e;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    height: 75%;
    border-radius: 10px;
    color: white;
  
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .modal-content img {
    height: 65%;
  }
  
  .stats {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  
  .lore {
    width: 50%;
    margin: 0 auto;
    margin-top: 10px;
    color: #eff0a1;
    text-align: center;
  }
  
  .close {
    color: white;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 100px;
    right: 160px;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: #f44336;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    body {
      background-image: url("../assets/fondo_movil.jpg");
    }

    h1 {
      font-size: 1.5em;
    }
  
    .contenedor-miembros {
      flex-direction: column;
      padding: 1em;
    }
  
    .miembro {
      width: 80%;
      margin-bottom: 20px;
    }
  
    .modal-content {
      width: 90%;
      height: auto;
      padding: 10px;
    }

    .modal-content img {
      width: 50%;
      height: 60%;
    }
  
    .stats {
      gap: 5px;
    }
  
    .lore {
      width: 90%;
    }
  
    .close {
      top: 10px;
      right: 10px;
    }
  }
  
  @media (max-width: 480px) {
    h1 {
      font-size: 1.2em;
    }
  
    .miembro {
      width: 90%;
    }
  
    .modal-content {
      width: 95%;
      height: auto;
    }

    .modal-content img {
      width: 50%;
      height: 60%
    }
  
    .lore {
      width: 100%;
    }
  }
  