/* Importar fuente Montserrat */
/* General */
body {
    background-color: #141414;
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin: 0;
    overflow-x: hidden;
}

/* Estilos específicos para index-1 */
.index-1 {
    display: block; /* Evita que Flexbox afecte la distribución */
    text-align: center;
    padding: 50px 20px; /* Ajusta márgenes */
}

/* Estilos específicos para index-2 */
.index-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}


/* Contenedor principal */
.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    word-wrap: break-word;
}


/* Título */
h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Perfiles */
.profiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

/* Perfil individual */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.profile img {
    width: 100%;
    max-width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile p {
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 400;
}

.profile img:hover {
    transform: scale(1.1);
}

/* Botón de administrar */
.manage-btn {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.manage-btn:hover {
    background-color: rgb(255, 0, 0);
    color: rgb(255, 255, 255);
}

/* Responsividad */
@media (max-width: 768px) {
    .profiles {
        max-height: none;
    }

    .profile {
        width: 90px;
    }

    .profile img {
        max-width: 90px;
        height: 90px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 90%;
        margin: 0 auto; /* Centra el contenido */
        padding: 0 10px; /* Agrega espacio a los lados */
        box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
    }
}

.dj-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columnas */
    gap: 20px; /* Espacio entre imágenes */
    justify-content: center;
    padding: 20px;
}

.dj-container img {
    width: 100%; /* Ajusta las imágenes */
    max-width: 150px; /* Tamaño máximo */
    border-radius: 10px;
}

/* Ajuste responsive para móviles */
@media (max-width: 768px) {
    .dj-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas en pantallas pequeñas */
    }
}
