#icons {
    display: grid;
    grid-template-columns: repeat(4, 2fr);
    grid-gap: 10px;
    margin-top: 0;
    overflow: scroll;
    max-height: -webkit-fill-available;
}

#icons>a {
    width: 145px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    margin: auto;
    margin-bottom: 20px;
}

#icons>a>img {
    width: 100%;
}

#icons>a>p {
    color: #4c4c4c;
    font-size: 19px;
    line-height: 22px;
    text-align: center;
    font-weight: 300;
}

@media screen and (max-width: 900px) {
    #icons {
        grid-template-columns: repeat(2, 2fr);
    }
}

@media screen and (max-width: 600px) {
    #icons {
        grid-template-columns: repeat(1, 2fr);
    }
}

@media screen and (max-width: 500px) {
    
    #icons {
        grid-template-columns: repeat(2, 2fr);
    }

    #icons>a {
        width: 100px;
    }

    #icons>a>p {
        font-size: 16px;
    }

}