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

.name-group-title {
    margin-top: 130px;
    text-align: center;
    margin-bottom: 70px;
}

.person li {
    font-size: 15px;
    color: #46b1cc;
    list-style: none;
    text-align: left;
}

ul.person {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    justify-content: start;
    align-items: end;
    justify-items: start;
    grid-column-gap: 5px;
    grid-row-gap: 10px;
}

.list-cont {
    margin: 50px 15px 339px 15px;
}

@media only screen and (max-width: 992px) {

    ul.person {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .name-group-title {
        font-size: 18px !important;
        margin-top: 190px;
    }

    .list-cont {
        margin-bottom: 0;
    }
}

@media only screen and (max-width:520px) {
    ul.person {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .list-cont {
        margin-bottom: 0;
    }
}

@media only screen and (max-width:376px) {

    .name-group-title h2{
        font-size: 20px !important;
    }

    ul.person {
        display: grid;
        grid-column-gap: 5px;
        grid-row-gap: 15px;
        grid-template-columns: repeat(2, 1fr);
        margin-left: 10px;
    }
  
    .list-cont {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 320px) {

    .person li {
        font-size: 15px;
    }

    .name-group-title h2{
        font-size: 17px !important;
    }
    .list-cont {
        margin-bottom: 0;
    }
}
