/* VERTICAL FOURTH PAGE (MEMBERS) */

#members {
    min-height: fit-content;
    margin-top: 0px; /* Overlap the iframe video above */
}

#members section{
    z-index: auto;
    background-color: black;
}

.vertical_fourth {
    min-height: fit-content;
    position: relative;
    z-index: 10;
    color: white;
    background-image: url(../../images/bg/members_bg.jpg);
    background-position: center;
    background-size:contain;
    width: 100%
}

.vertical_fourth .profile-container {
    top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 30px;
    align-content: center;
    min-height: fit-content;
    padding-top: 3vh;
    padding-bottom: 3vh;
    background-size: cover;
    transition: max-height 0.5s ease;
}

.vertical_fourth .profile-container .single-profile-container{
    display: grid;
    align-content: center;
    width: 100%;
    
}



/* Mark Profile */

.vertical_fourth .profile-container .martin_profile,
.vertical_fourth .profile-container .mark_profile,
.vertical_fourth .profile-container .csonor_profile {
    width: 95%;
    position: relative;
    height: 85vh;
    display: grid;
    border-radius: 40px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
    border: solid 2px rgb(36, 36, 36);
}

.vertical_fourth .profile-container .mark_profile .single-profile-container::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../images/bg/mark_profile_bg.jpg);
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.5);
    z-index: 1;
}

.vertical_fourth .profile-container .csonor_profile .single-profile-container::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../images/bg/csonor_profile_bg.jpg);
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.5);
    z-index: 1;
}


.vertical_fourth .profile-container .martin_profile .single-profile-container > *,
.vertical_fourth .profile-container .mark_profile .single-profile-container > * ,
.vertical_fourth .profile-container .csonor_profile .single-profile-container > * {
    position: relative;
    z-index: 2; 
}

/* Martin Profile */

.vertical_fourth .profile-container .martin_profile .single-profile-container::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../images/bg/martin_profile_bg.jpg);
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.5);
    z-index: 1;
}

/* General */

.vertical_fourth .profile-container .profile-picture{
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: transparent;
    height: 100%;
    transition: all 0.3s ease-out;
    mask-image: linear-gradient(rgb(0, 0, 0) 94%, transparent 100%);
}

.vertical_fourth .profile-container .profile-picture img{
    width: auto;
    height: 40vh;
}

.vertical_fourth .profile-container .description{
    background-color: transparent;
    overflow-y: auto;
    color: white;
    overflow-y: visible;
    letter-spacing: 1px;
    text-align: left;
    margin: 0px 10px 30px 10px;
    font-family: 'Poppins';
    font-size: 12px;
}

.vertical_fourth .profile-container .description .quote-container{
    display: grid; 
    grid-template-columns: 1fr 10fr 1fr;
}

.vertical_fourth .profile-container .description .quote-container .quote-mark-start{
    font-size: 50px;
    font-family: "Courier New", monospace;
    color: rgb(146, 12, 12);
}

.vertical_fourth .profile-container .description .quote-container .quote-mark-end{
    font-size: 50px;
    font-family: "Courier New", monospace;
    color: rgb(146, 12, 12);
    position: absolute;
    bottom: -40px;
    right: 0;
}

.vertical_fourth .profile-container .description p{
    text-align: justify;
    padding-top: 15px;
}

/* Achievements */

.vertical_fourth .profile-container #martin_achievements,
.vertical_fourth .profile-container #mark_achievements,
.vertical_fourth .profile-container #csonor_achievements{
    display: none; 
    letter-spacing: 1px;
    margin: 15px;
}

.vertical_fourth .profile-container #martin_achievements h3,
.vertical_fourth .profile-container #mark_achievements h3,
.vertical_fourth .profile-container #csonor_achievements h3{
    text-align: center;
    margin: 0px;
}

.vertical_fourth .profile-container p{
    margin: 0px;
}

#martin_achievements li,
#mark_achievements li ,
#csonor_achievements li {
    padding-bottom: 3px;
    transform: translateY(20px); /* Start with slight vertical offset */
    animation: fadeInUp 0.5s ease forwards;
    font-family: 'Poppins';
    font-size: 12px;
    list-style-type: disc;
    margin: 3px 0;
}

/* Define the fade-in-up animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
