/* Specific styles for index page */

.album {
    background-color: var(--bs-light-tertiary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-bs-theme="dark"] .album {
    background-color: var(--bs-dark-tertiary);
}

.profile-container {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: var(--bs-light);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    min-height: 150px; /* Adjust the height to be more appropriate */
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-bs-theme="dark"] .profile-container {
    background-color: var(--bs-dark);
    color: var(--bs-light);
}

.profile-image-container-pv {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
    background-color: var(--bs-light);
    border: 1px solid var(--bs-gray);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-bs-theme="dark"] .profile-image-container-pv {
    background-color: var(--bs-dark);
    border-color: var(--bs-gray-dark);
}

.profile-image-container-pv img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.profile-info {
    flex-grow: 1;
    color: var(--bs-body-color); /* Ensures text inside the container is regular text color */
}

.profile-info h5,
.profile-info p {
    margin: 0;
}

.profile-info h5 {
    font-size: 1rem;
}

.profile-info p {
    font-size: 0.875rem;
    color: var(--bs-body-color); /* Ensures p tags inside profile-info are regular text color */
}

/* Ensure all cards have the same height */
.row-cols-1 .col,
.row-cols-sm-2 .col,
.row-cols-md-3 .col {
    display: flex;
    align-items: stretch;
}

.profile-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.profile-info {
    flex-grow: 1;
}

/* Override link styles to prevent text color change */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}
