body {
    height: auto !important;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.main{
    background: #fff;
}

.header{
    padding: 50px 15px 0;
    font-size: 45px;
    text-align: center;
    color: #3A57E8;
    font-weight: 500;
}

.header::after{
    border-bottom: 3px solid;
    border-color: #3A57E8;
    content: '';
    margin: 0 auto;
    display: block;
    height: 10px;
    width: 45px;
} 

.team{
    display: grid;
    grid-template-columns: repeat(4, 25%);
    grid-template-rows: auto;
    padding: 40px 0 50px;
    background: #faf9ff;
    color: #3A57E8
}

.team .group{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
}

.team .group.last{
    border: none;
}

.team .group .group-header{
    font-size: 25px;
    font-weight: bold;
}

.team .group .people .person{
    margin: 10px 0;
}

.team .group .people .person .person-name{
    font-size: 22px;
    font-weight: 500;
}

.team .group .people .person .person-info{
    font-size: 18px;
}

@media (max-width: 1100px) {
    .team{
        grid-template-columns: repeat(1, 100%);

        grid-template-rows: auto;
    }

    .team .group{
        padding-top: 20px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .header{
        padding-bottom: 30px;
    }

    .team{
        grid-template-rows: auto;
    }

    .team .group{
        margin-top: 0;
    }

    .team .group.first{
        margin-top: 0;
    }

    .team .group.last{
        padding-bottom: 10px;
    }
}