* {
    margin: 0;
    padding: 0;
    font-family: 'Oswald', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: black;
}
.heading{
    padding-left: 10vw;
    font-size: 2rem;
    color: white
}

.about_us_text{
    padding-left: 10vw;
    padding-right: 10vw;
}

.about_us_text p{
    color: white;
    font-size: larger;
}

.about_us_text h1{
    color: white;
    font-size: xx-larger;
}

.our_team{
    padding-left: 10vw;
    padding-right: 10vw;
    text-align: left; /* left align the section heading */
}

.our_team h1{
    color: white;
    font-size: xx-larger;
    margin: 0 0 1rem 0;
}

.team-container{
    display: flex;
    gap: 11rem;
    justify-content: center; /* center the cards horizontally */
    align-items: flex-start;
    padding: 0 10vw; /* keep horizontal padding but allow centering */
    margin: 1rem auto;
    flex-wrap: wrap;
    max-width: 1200px;
}

/* card styling */
.team-member{
    color: white;
    flex: 0 0 220px;
    width: 220px;
    max-width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
}

.team-member a{
    color: rgb(0, 136, 255);
    text-decoration: none;
}

/* image */
.team-member img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto 0.5rem;
}

@media (max-width: 768px) {
    .team-container{
        justify-content: center;
    }
    .team-member{
        flex: 0 1 320px;
        width: 320px;
    }
    .team-member img{
        height: 200px;
    }
}