.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 0, 128, 0.44); /* Purple color with reduced opacity */
}
.section1 {
    height: 100vh;
    width: 100%;    
    position: relative;
    text-align: center;
}

.section1 img {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.section1 p {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Red Hat Display';
    font-size: 52px;
    font-weight: bold;
    color: #fff;
    width: 100%;
}

/* Button Styles */
.buttons{
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.buttons button{
    background-color: rgba(226, 105, 226, 0.44);
    width: 200px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #fff;
    margin: 60px;
    color: #fff; /* Text color */
    font-family: 'Red Hat Display';
    font-size: 22px; /* Font size */    
    text-align: center; /* Text alignment */
}

.buttons button:hover {
    background-color: rgba(117, 24, 117, 0.44);
}

/* Second Section Styles */
.section2 {
    height: 640px;
    width: 100%;    
    position: relative;
    text-align: center;
}
.section2-alt {
    height: 440px;
}


.student_leaders{
    position: absolute;
    top: 6%;
    left: 10%;
    font-family: 'Red Hat Display';
    font-size: 40px;
    color: #A435B2;
}

.member_icons {
    position: absolute;
    top: 55%; /* Adjust the vertical position as needed, e.g., 50% */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center both horizontally and vertically */
    display: flex;
    flex-direction: row; /* Stack divs vertically */
    width: 80%;
    justify-content: center; /* Center horizontally */
}

.member_icon {
    display: flex;
    height: auto;
    flex-direction: column; /* Change to 'row' for horizontal alignment */
    justify-content: center; /* Center horizontally */
    align-items: center;
    margin: 60px;
}


.member_postion{
    width: 100%;
    justify-content: center;
    align-items: center;
    top: 0;
}

.member_postion a{
    font-family: 'Red Hat Display';
    font-size: 26px;
    color: #A435B2;
}

.member_photo {
    width: 270px;
    height: 270px;
    border-radius: 50%;
    overflow: hidden;
    display: flex; /* Make it a flex container */
    justify-content: center;
    align-items: center; /* Center horizontally and vertically */
    margin-top: 10px;
}

.member_photo img {
    max-width: 100%; /* Ensure the image doesn't exceed the container */
    max-height: 100%; /* Ensure the image doesn't exceed the container */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
    border-radius: 50%; /* Keep the image rounded within the circular container */
}


.member_name{
    font-family: 'Red Hat Display';
    font-size: 22px;
    color: #A435B2;
    margin-top: 10px;
}

.member_description{
    font-family: 'Red Hat Display';
    font-size: 13.9px;
    color: #4B4B4B;
    margin-top: 10px;
}
.member_linkedin{
    margin-top: 10px;
    font-family: 'Red Hat Display';
    font-size: 30px;
    color:#4B4B4B; 
}
@media (max-width: 900px) {
    .section1 p{
        top: 30%;
        font-size: 30px;
    }
    .member_photo{
        width: 100px;
        height: 100px;
    }
    .member_postion a{
        font-size: 15px;
    }
    .member_name{
        font-size: 10px;
    }
    .member_description{
        display: none;
    }
    .member_icons{
        flex-direction: column;
        top: 52%;
    }
    .member_icon{
        margin: 3px;
    }
    .member_linkedin{
        display: none;
    }
    .mbl-team{
        top: 65%;
    }
}