.memb-head{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    width: 100%;
    height: 500px;
    position: relative;
}
.memb-head-bg{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(rgba(0,0,0,0.01), rgba(0,0,0,1)),url('../members.jpeg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    
}
.memb-head h1{
    font-size: 4rem;
    color: aliceblue;
    text-align: center;
    position: relative;
    top: ;
    z-index: 10;
}
.members{
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    position: relative;
    padding: 2%;
}
/* Container styling */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.past-profile-container {
    width: 71.5%;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    background-color: #1a1a1a; 
    border-radius: 10px;
}
/* Profile card */
.profile-pic {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 204, 255, 0.3);
}

/* Image */
.profile-pic img {
    width: 150px;
/*    height: 150px;*/
    object-fit: cover;
    border-radius: 50%;
    margin: auto;
    margin-bottom: 10px;
    border: 3px solid #00ccff;
}

/* Member name */
.memb-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
}
.past-memb-name {
    font-size: 1.2em;
    font-weight: 600;
    color: #ffffff;
    display: block;
}
/* Position */
.memb-pos {
    font-size: 1em;
    color: #99e6ff;
    margin-bottom: 5px;
}
.past-old-pos {
    font-size: 0.9em;
    color: #00ccff;
    margin-bottom: 5px;
}
.past-curr-pos {
    font-size: 0.9em;
    color: #ffffff; 
    margin-bottom: 5px;
}
/* Email link */
.profile-pic a {
    color: #00ccff;
    text-decoration: none;
    font-size: 1.5rem;
    border: 2px solid #00ccff;
    border-radius: 50%;
    padding: 5px;
    width: 40px;
    margin: auto;
}

.profile-pic a:hover {
    color: #99e6ff;
    border: 1px solid #99e6ff;
}

/* Work description */
.profile-pic p {
    font-size: 0.95em;
    color: #e0e0e0;
    margin-top: 10px;
}
.past-memb-heading{
    margin: auto;
    padding: 20px;
    color: aliceblue;
}
