.teamFirst{
    padding: 4rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.insideTeamFirst {
    margin: 2rem 0;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    flex-wrap: wrap;
}

.teamFirst h2{
    text-transform: uppercase;
    font-size: 35px;
    color: #000000c2;
    letter-spacing: 1px;
    word-spacing: 2px;
}

.teamFirst p{
    font-size: 16px;
    word-spacing: 1px;
    color: #000000ad;
}

.teamCard{
    height: 20rem;
    width: 18rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 1rem;
    padding: 1rem;
}

.teamCard img {
    height: 10rem;
    width: 10rem;
    border-radius: 100%;
    margin-bottom: 1rem;
}

.teamCard h3{
    text-transform: uppercase;
    color: #000000c2;
    font-size: 22px;
    margin-bottom: 0.5rem;
}

.teamCard h4{
    font-size: 14px;
    color: #FF8F00;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.teamCard p{
    font-size: 12px;
    color: #000000d9;
}


@media screen and (max-width:1200px){
    .insideTeamFirst {
        width: 95%;
    }
}

@media screen and (max-width:1030px){
    .teamFirst {
        padding-top: 8rem !important;
    }
}

@media screen and (max-width:600px){
    .teamFirst h2 {
        font-size: 30px;
    }    
    .teamFirst p {
        font-size: 14px; 
        text-align: center;
    }   
    .teamCard {
        width: 22rem;
        margin-bottom: 4rem;

    }
}

@media screen and (max-width:475px){
    .teamFirst h2 {
        font-size: 26px;
    }
    .teamFirst p {
        font-size: 12px;  
    }
    .teamCard h3 {
        font-size: 18px;
    }    
    .teamCard h4 {
        font-size: 13px;
    }
    .teamCard {
        margin-bottom: 2rem;
    }
}