.list {
  display: grid;
  grid-gap: 32px;
  grid-template-columns: repeat(auto-fill, minmax(376px,1fr));
  grid-auto-rows: 8px;
}

.list-item {
    cursor: pointer;
    width: 100%;
    margin: auto;
    text-decoration: none;
    color: rgb(33, 33, 33);
    background: rgb(250, 250, 250);
    box-shadow: 0px 0px 12px -8px rgb(33, 33, 33);
    -webkit-transition: 0.4s;
            transition: 0.4s;
}

.list-item:hover {
    cursor: pointer;
    color: rgb(33, 33, 33);
    background: rgb(250, 250, 250);
    text-decoration: none;
    animation: pulseListItemShadow 1s infinite;
    -webkit-transition: 0.4s;
            transition: 0.4s;
}

@keyframes pulseListItemShadow {
    0% {
        box-shadow: 0px 0px 12px -6px rgb(33, 33, 33);
    }
    50% { 
        box-shadow: 0px 0px 16px -6px rgb(33, 33, 33);
    }
    100% {
        box-shadow: 0px 0px 12px -6px rgb(33, 33, 33);
    }
}