/*-------------- About Classes------------*/
.name {
    font-family: "Baskerville";
    font-size: 64px;
    font-weight: bold;
    margin: 0;
    padding:5%;
    padding-top: 15%;
    color: var(--bqg-blue);
    text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
}

.about-container {
    display: flex;
    flex-direction: column;
    justify-content:left;
    align-items: center;
}
.background-img {
    background-image: url(../Images/roman-baths.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
}

.card-container{
    width: 100%;
}

.about{
    width: 70%;
    max-width: 900px;
    height:fit-content;
    background: var(--bqg-blue);
    margin-bottom: 5%;
    margin-left: 10%;
    display: flex;
    flex-direction: column;
}

.about ul {
    margin: 0;
    padding-left: 0;
}

.about li{
    flex-grow: 1;
    margin: 0 1.5em 1.5em 1.5em;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 2rem;
}

#join-us {
    max-width: 500px;
}

/*-----------------------------------------------------------------*/

/*--------------- Projects Home Section ------------------*/

.RandomWalk {
    background-image: url(../Images/RandomWalk.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: right;
}

.projects-container {
    flex-basis: 50%;
    height:fit-content;
    background: var(--bqg-blue);
    display: flex;
    flex-direction: column;
    margin: 5%;
    padding: 2.5%;
}

.projects-container ul {
    margin: 0px;
    height: fit-content;
    padding-left: 0%;
    flex-grow: 1;
}

.projects-container li{
    line-height: 30px;
    margin: 1em;
    list-style-type: none;
    flex-grow: 1;
}

.projects-container li h3{
    font-weight: 600;
    font-size: 1.5rem;
}

/*----------------------------------------------------------------*/

/*--------------- Members Section ------------------*/
.members{
    width: 100%;
    background-color: var(--bqg-blue);
    height:fit-content;
    padding: 5%;
}

.main-wrapper-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.member{
    flex-basis: 20%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap ;
}

.member ul {
    margin: 0px;
    height: fit-content;
    padding-left: 0%;
    flex-grow: 1;
}

.member li{
    line-height: 30px;
    margin: 1em;
    list-style-type: none;
    flex-grow: 1;
    text-align: center;
}

.member li img{
    width: 60%;
    border-radius: 100px;
}

.member li p {
    text-align: center;
    font-size: 16px;
}

.role {
    margin: 0;
    padding: 0;
}

/*----------------------------------------------------------------*/
/* TABLET VERSION */

@media only screen and (min-width:601px) and (max-width: 768px) {
    /*--------- About section-----------------*/
    .name {
        font-size: 48px;
    }

    .about{
        width: 90%;
        margin-bottom: 20px;
        margin-left: 0;
    }

    .about li{
        margin: 1em;
    }

    .background-img {
        background-position: -20vw;
        width: 100vw;
    }
    
    /*--------------- Projects Home Section ------------------*/

    .RandomWalk {
        height: 80%;
    }

    .projects-container {
        flex-basis: 70%;
        margin: 5% 5%;
    }

    /*----------------------------------------------------------------*/
    
    /*--------------- Members Section ------------------*/
    .member{
        flex-basis: 33%;
    }

    .member ul li p {
        padding: 0;
        margin: 5%;
    }

    /*----------------------------------------------------------------*/

}


/* MOBILE VERSION */
@media only screen and (max-width: 600px) {
    /*--------- About section-----------------*/
    .name {
        font-size: 48px;
    }

    .about{
        width: 90%;
        margin-bottom: 20px;
        margin-left: 0;
    }

    .about li{
        line-height: 24px;
        margin: 1em;
    }

    .background-img {
        background-position: -30vw;
    }

    #join-us {
        max-width: 400px;
    }
    
    /*--------------- Projects Home Section ------------------*/

    .RandomWalk {
        height: 80%;
    }

    .projects-container {
        flex-basis: 10%;
        margin: 5% 0;
    }

    /*----------------------------------------------------------------*/
    
    /*--------------- Members Section ------------------*/
    .member{
        flex-basis: 33%;
    }

    .member ul li p {
        padding: 0;
        margin: 5%;
    }

    /*----------------------------------------------------------------*/

}
