.networks-line
{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-items: center;
    justify-content: center;
    justify-self: center;

    text-decoration: none;
    padding: 25px 100px;
    box-shadow: 0 0 4px #222 inset;
    margin: 100px 0;
    width: 100%;
}
.networks-line__card
{
    width: 100%;
    display: grid;
    grid-template-rows: 1fr 32px;
    gap: 15px;
    padding: 0 50px;
    text-align: center;
    justify-content: center;
    text-decoration: none;
    transition: .25s;
    position: relative;
}
.networks-line__icon
{
    height: 100%;
    transition: .25s;
}
.networks-line__icon svg
{
    height: 100%;
    width: auto;
    stroke: #222;
    fill: #fff;
    stroke-width: 0.5px;
    transition: .25s;
}
.networks-line__name
{
    color: #333;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: .25s;
}

.networks-line__target
{
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    transition: opacity .2s ease, transform .72s cubic-bezier(.22, .61, .36, 1);
    will-change: transform, opacity;
}

.networks-line__card:hover .networks-line__icon svg
{
    fill: #222;
}
.networks-line__card:hover .networks-line__name
{
    color: #000;
}
.networks-line__card:hover .networks-line__icon,
.networks-line__card:hover .networks-line__name
{
    transform: translateY(-20px);
}

.networks-line__card.is-target-active .networks-line__target
{
    opacity: 1;
}
@media screen and (max-width: 980px)
{
    .networks-line
    {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr 1fr;
        grid-row-gap: 50px;
    }
}

@media screen and (max-width: 720px)
{
    .networks-line__card
    {
        grid-template-rows: 64px 32px;
        gap: 10px;
        padding: 0 25px;
    }
}

@media screen and (max-width: 480px)
{
    .networks-line
    {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        grid-row-gap: 50px;
    }
}
