.card ul {
    position: relative;
    transform-style: preserve-3d;
    perspective: 500px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: 500ms;
}

.card ul:hover {
    gap: 20px;
}

.card ul li {
  position: relative;
    list-style: none;
    width: 400px;
    height: auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 0 12px rgba(0, 0, 0, .24);
    transition: 500ms;
    transition-delay: calc(var(--i) * 50ms);
    cursor: pointer;
}

.card ul li:nth-child(1) {
    transform: translateZ(-75px) translateY(20px);
    opacity: .6;
    filter: blur(4px);
}

.card ul li:nth-child(2) {
    opacity: .8;
    filter: blur(2px);
}

.card ul li:nth-child(3) {
    transform: translateZ(65px) translateY(-30px);
}

.card ul li:nth-child(4) {
    transform: translateZ(125px) translateY(-68px);
    filter: blur(1px);
}

.card ul:hover li {
    opacity: 1;
    filter: blur(0);
    transform: translateZ(0) translateY(0);
}

.card ul li img {
    max-width: 64px;
    border-radius: 8px;
}

.card ul li .content {
    width: 100%;
}

.card ul li .content h3 {
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1;
    margin-top: 0px;
}

.card ul li .content p {
    opacity: .6;
    line-height: 1;
}


/* prettifying */
header a,
h2 a {
  text-decoration: none;
}
header a:hover,
h2 a:hover {
  color: hsl(200, 15%, 70%);
}
#name,
nav {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  padding: 0.5em;
}
