﻿:root {
    --morado: #5a2a83;
    --morado-claro: #e3c1f8;
    --lila-claro: #f0e0f8;
    --blanco: #ffffff;
}

@keyframes gradientAnim {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--morado);
    background: linear-gradient(270deg, #68424b, #80233a, #ab86ce, #eca867, #e65500, #7d4bbc, #80233a, #68424b);
    background-size: 800% 800%;
    animation: gradientAnim 20s ease infinite;
}

header {
    background-color: var(--blanco);
    box-shadow: 0 2px 5px rgba(90, 42, 131, 0.2);
    z-index: 2;
}

.navbar-brand img {
    height: 70px;
    transition: height 0.3s ease;
}

    .navbar-brand img:hover {
        height: 75px;
    }

.nav-link {
    color: var(--morado) !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: var(--morado-claro) !important;
    }

.section-title {
    color: var(--blanco);
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.card-integrante {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    background-color: rgba(169, 98, 231, 0.4);
    box-shadow: 0 8px 20px rgba(90, 42, 131, 0.2);
    color: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    margin-bottom: 2rem;
}

    .card-integrante:hover {
        transform: translateY(-7px);
        background-color: rgba(90, 42, 131, 0.6);
        border: 2px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 12px 24px rgba(90, 42, 131, 0.4);
    }

    .card-integrante.selected {
        background-color: rgba(90, 42, 131, 0.6);
        border: 2px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 6px 15px rgba(90, 42, 131, 0.3);
    }

    .card-integrante .card-title {
        font-size: 1.2rem;
        margin-top: 0.5rem;
        color: white;
    }

    .card-integrante .card-text {
        font-size: 0.95rem;
        margin-top: 0rem; /* o incluso 0 */
        color: white;
    }


    .card-integrante .card-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

.card-spacing {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.card-img-top {
    object-fit: cover;
    width: 100%;
    height: 320px;
    transition: transform 0.4s ease;
    border-bottom: 4px solid var(--morado);
}

.card-integrante:hover .card-img-top {
    transform: scale(1.05);
}

.row.g-5 {
    --bs-gutter-x: 5rem; /* separación horizontal entre columnas */
    margin-bottom: 4rem !important;
}

.extra-space {
    margin-bottom: 5rem !important;
}

footer {
    background: linear-gradient(270deg, #68424b, #80233a, #ab86ce, #eca867, #e65500, #7d4bbc, #80233a, #68424b);
    background-size: 800% 800%;
    animation: gradientAnim 20s ease infinite;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--blanco);
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}
