/* * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
} */

/* body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
} */

/* .about-wrapper{
    position: relative;
}

.about-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 15vh;
    width: 100%;
    background: rgb(9, 46, 9);
    color: white;
    padding: 0 5rem;
    cursor: pointer;
    position: fixed;
    z-index: 100;
}

.logo img{
    width: 120px;
    height: 120px;
}

ul{
    display: flex;
    gap: 40px;
}

.lists{
    list-style-type: none;
}

.lists a{
    color: white;
    text-decoration: none;
    font-size: larger;
}

.list:hover{
    border: 2px solid white;
}

.menubar{
    display: none;
} */

.about-pic{
    background-image:linear-gradient(rgba(11, 63, 25, 0.8), rgba(21, 46, 27, 0.9)), url("./Images/pang-yuhao-_kd5cxwZOK4-unsplash.jpg");
    /* height: 50vh; */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5rem 0;
}

.about-greeting-text{
    padding: 5% 4rem;
    color: white;
}

.about-greeting-text h2{
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-greeting-text p{
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.about{
    height: 12vh;
    background-color: white;
    display: flex;
    align-items: center;
    color: #333;
    gap: 60px;
    padding: 0 4rem;
}

.about h2{
    font-weight: lighter;
}

.about a{
    text-decoration: none;
    color: #333;
}

.about h2:hover{
    border-bottom: 4px solid rgb(9, 46, 9);
    /* line-height: 30px; */
}

.about-us h2{
    font-size: 3rem;
    margin-top: 4rem;
    margin-left: 4rem;
}

.about-our-story{
    display: flex;
    padding: 5rem 4rem;
    font-size: x-large;
    /* margin-right: 60px; */
    gap: 8rem;
    text-align: justify;
}

.about-image img{
    border-radius: 30px;
}

.about-cap{
    display: flex;
    align-items: center;
    padding: 20px 4rem;
    gap: 10px;
}

.about-academic{
    padding-bottom: 30px;
    text-align: justify;
}

.about-academic p{
    padding: 10px 10rem;
    font-size: x-large;
}

.about-mission{
    display: flex;
    align-items: center;
    padding: 20px 4rem;
    gap: 10px;
}

.about-mission-text p{
    font-size:large;
}

.about-members{
    padding: 4rem;
    background-color: white;
    border-radius: 20px;
}
.about-members h2{
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-team{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid black;
    width: 18vw;
    height: 8vh;
    gap: 5px;
    border-radius: 30px;
    cursor: pointer;
}

.about-team p{
    font-size: 1.2rem;
}

.about-names{
    display: flex;
    padding: 5rem 4rem;
    gap: 8rem;
}

.about-names img{
    width: 180px;
    height: 200px;
    border-radius: 50%;
}

.about-cont:hover{
    /* border: 1px solid black; */
    background-color: white;
}

.about-event-text{
    margin: 4rem;
}

.about-event-text h2{
    font-size: 3rem;
}

.about-events{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 4rem;
    gap: 30px;
}

.about-events img{
    width: 350px;
    border-radius: 5px;
}

.about-event{
    height: 70vh;
    /* border: 1px solid black; */
    box-shadow: 5px 5px 10px -5px;
    border-radius: 10px;
    transition: all 2s ease;
}

.about-event h2{
    padding: 5px 10px;
    font-size: large;
}

.about-event:hover{
    transform: scale(0.9);
    opacity: 0.8;
}

.about-date{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
}

.about-date img{
    width: 15px;
    height: 20px;
    /* margin-top: 5px; */
}

.about-confirm{
    display: flex;
    align-items: center;
    padding: 5px 0px;
    background-color: rgba(0, 0, 0, 0.2);
    width: 5vw;
    height: 12px;
    margin: 20px 10px;
    font-size: x-small;
    border-radius: 10px;
    gap: 6px;
}

.about-confirm img{
    width: 8px;
    height: 8px;
}

.about-upcoming{
    width: 4.8vw;
}

.footer1{
    height: 40vh;
    background: rgb(9, 46, 9);
    padding: 5rem 4rem;
}

.footer1 h2{
    font-size: 1.4rem;
    color: white;
}

.social-media{
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 20px;
    /* padding: 0 4rem; */
}

.social-media img{
    width: 15px;
    height: 15px;
}

.footer2{
    height: 15vh;
    background: rgb(9, 46, 9);
    margin-top: 1px;
}

.footer2 p{
    text-align: center;
    color: white;
    padding: 30px 0;
}



@media screen and (max-width: 750px){
    *{
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .about-wrapper{
        background-color: #f8f9fa;
        /* padding: 0 10px; */
        width: 100%;
    }

    .about-nav{
        padding: 0 10px;
        align-items: center;
    }

    .lists{
        display: none;
    }

    .list:hover{
        border: none;
    }

    .display{
        display: block;
        width: 100%;
        height: 100vh;
        background-color: white;
        top: 15vh;
        position: absolute;
        left: 0;
    }

    .display a{
        color: black;
        padding: 10px;
        line-height: 3;
    }

    .menubar{
        display: block;
    }

    .menubar img{
        width: 20px;
        height: 20px;
    }

    .about-greeting-text{
        padding-left: 10px;
    }

    .about{
        display: flex;
        gap: 20px;
        padding: 0 10px;
    }

    .about h2{
        font-size: large;
        font-weight: bold;
    }

    .about-us h2{
        margin: 2rem 10px;
        font-size: 1.4rem;
    }

    .about-our-story{
        display: flex;
        gap: 20px;
        padding: 3rem 10px;
    }

    .about-our-story p{
        font-size: medium;
    }

    .about-image img{
        width: 180px;
    }

    .about-image{
        line-height: 12rem;
    }

    .about-academic p{
        padding: 10px 5rem;
        font-size: medium;
    }

    .about-cap{
        padding: 0px 10px;
    }

    .about-mission{
        padding: 20px 10px;
    }

    .about-members{
        padding: 10px;
    }

    .about-members h2{
        font-size: 1.4rem;
    }

    .about-team{
        width: 30vw;
        padding: 0 5px;
    }

    .about-team img{
        width: 15px;
        height: 15px;
    }

    .about-team p{
        font-size: medium;
    }

    .about-names{
        display: grid;
        /* grid-column: 2; */
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 5rem 10px;
    }

    .about-event-text{
        margin: 2rem 10px;
    }

    .about-event-text h2{
        font-size: 1.4rem;
    }

    .about-events{
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0 10px;
        gap: 20px;
    }

    .about-event{
        width: 225px;
        height: 50vh;
    }

    .about-event img{
        width: 225px;
    }

    .about-date{
        display: flex;
        align-items: center;
    }

    .about-date p{
        font-size: 0.7rem;
    }

    .about-date img{
        width: 12px;
        height: 15px;
        
    }

    .about-confirm{
        width: 13vw;
    }

    .about-confirm img{
        width: 8px;
    }

    .about-upcoming{
        width: 12.5vw;
    }
}


