

main {
  padding-top: 130px; /* Ajusta el espacio para el encabezado */
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
}


/* Estilos para pantallas peque���as */

.container {
  width: 80%;
  margin: 0 auto;
}

.person-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.person {
  width: 200px;
  margin: 10px;
  text-align: center;
  cursor: pointer;
}

.person img {
  width: 150px;
  height: 150px;
  border-radius: 20%;
  object-position: 0px 10%;
  object-fit: cover;
}

.profile {
  display: none;
  border: 1px solid #ccc;
  padding: 20px;
  margin-top: 20px;
}

.profile img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  align-items: flex-start;
  object-fit: cover;
}


/* Estilos del modal ajustados */
.modal {
  display: none;
  position: fixed;
  
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    .person {
      font-size: 2px;
      font-weight: bold;
      text-align: center; /* Centrar el título horizontalmente */
      margin-bottom: 10px;
    }
    top: 0;
  background-color: #fefefe;
  width: 75%; /* Ancho del 75% */
  height: 50%; /* Altura del 40% */
  margin: 15% auto; /* Centrado vertical y horizontal */
  padding: 20px;
  border: 1px solid #888;
  position: relative;
  display: flex; 
  overflow-y: auto;
  max-height: 80vh; 
  /*align-items: center; */
  
  border-radius: 10px
  
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#modal-content img {
  width: 200px;
  height: 200px;
  object-position: 0px 10%;
  border-radius: 50%; /* Contenedor redondo */
  object-fit: cover;
  margin-right: 20px; /* Espacio entre la imagen y el texto */
}

#modal-content div {
  flex-grow: 1; /* El texto ocupa el espacio restante */
  
}



/* Estilos para pantallas peque���as */

@media (max-width: 768px) {
    header.nav {
        overflow-x: auto;
        white-space: nowrap;
    }
    div.titulo {
    font-size: 14px;
    }
    header nav.botones a {
      color: white;
      text-decoration: none;
      margin-left: 4px;
      padding: 2px 6px;
      border-radius: 5px;
      font-size: 10px;
      border: 1px solid transparent;
      transition: border-color 0.3s ease;
    }
    nav.main-nav {
        overflow-x: auto;
        white-space: nowrap;
    }
    .modal-content {
      background-color: #fefefe;
      width: 75%; /* Ancho del 75% */
      height: 50%; /* Altura del 40% */
      margin: 15% auto; /* Centrado vertical y horizontal */
      padding: 50px;
      border: 1px solid #888;
      position: relative;
      display: flex; 
      overflow-y: auto;
      max-height: 80vh; 
      align-items: center;
    }

    #modal-content img {
  
      width: 120px;
      height: 120px;
      padding 5px;
      object-position: 0px 10%;
      border-radius: 50%; /* Contenedor redondo */
      object-fit: cover;
      margin-right: 2px; /* Espacio entre la imagen y el texto */
    }
    

}