/* General */

/* Hero */

.meet-out-team-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 40px 250px;
    font-family: 'Optima', sans-serif;
    font-weight: 700;
    font-size: 30px;
}

.meet-our-team-el {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.meet-our-team-el:nth-child(2) {
    width: 50%;
    background-color: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    white-space: nowrap;
    height: 50px;
}

.bigger-circle {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.smaller-circle {
    width: 30px;
    height: 30px;
    background-color: #164B95;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
}

.meet-our-team-el:first-child .smaller-circle {
    right: -10px;
}

.meet-our-team-el:last-child .smaller-circle {
    left: -10px;
}

/* Team */

.team-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    /*padding: 0 0.2vw;*/
    list-style: none;
    flex-wrap: wrap;
    font-family: 'Optima', sans-serif;
    padding-bottom: 50px;
}

.team-el {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 20%;
    text-align: center;
    border-radius: 10px;
}

.team-img {
    width: 200px;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.team-para {
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    white-space: wrap;
    max-width: 75%;
}

.team-para:last-of-type {
    padding-top: 8px;
    border-top: 1px solid #000;
}


/* About team */

.about-team-wrapper{
    font-family: "Nunito", serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 25px;
    font-weight: 400;
    font-size: 18px;
    padding: 0px 150px 45px;
}

.about-team-el{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 25px;
    border-top: 1px solid var(--accent-color);
    padding-top: 30px;
}

.about-team-para{
    font-size: 18px;
}

.about-team-para:first-child{
    font-family: "Optima", sans-serif;
    font-size: 20px;
}

@media (max-width: 501px) {

    .bigger-circle{
        width: 40px;
        height: 40px;
    }

    .smaller-circle{
        width: 25px;
        height: 25px;
    }

    .meet-our-team-el:nth-child(2){
        height: 40px;
    }

    .meet-out-team-wrapper{
        padding: 0 20px 50px;
        font-size: 15px;
    }

    .team-wrapper{
        flex-direction: column;
        gap: 40px;
    }

    .team-el{
        width: 100%;
    }

    .about-team-wrapper{
        align-items: center;
    }

    .about-team-el{
        width: 100vw;
        padding: 25px;
    }

    .about-team-para:first-child{
        font-size: 15px;
    }

    .about-team-para{
        font-size: 14px;
    }
}
