@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300&display=swap');
body{
    padding: 0;
    margin: 0;
    background-color: black;
    color: white;
    font-family: 'DM Mono', monospace;
}
.card-list{
    display: flex;
    padding: 3rem;
    overflow-x: scroll;
}
.card{
    display: flex;
    position: relative;
    flex-direction: column;
    height: 350px;
    width: 400px;
    min-width: 250px;
    padding: 1.5rem;
    border-radius: 16px;
    background: #17141d;
    box-shadow: -1rem 0 3rem #000;
    transition: .2s;
}
.card-list::-webkit-scrollbar{
    width: 10px;
    height: 10px;
}
.card-list::-webkit-scrollbar-thumb{
    background: #201c29;
    border-radius: 10px;
    box-shadow: inset 2px 2px 2px hsla(0, 0%, 100%, 0.25);
}
.card-list::-webkit-scrollbar-track{
    background: linear-gradient(90deg, #201c29, #201c29 1px, #17141d 0, #17141d);
}
.card:hover{
    transform: translateY(-1rem);
}
.card:hover~.card{
    transform: translateX(130px);
}
.card:not(:first-child){
    margin-left: -130px;
}
.card-author{
    position: relative;
    display: grid;
    grid-template-columns: 75px 1fr;
    align-items: center;
    margin: 3rem 0 0;
}
.author-avatar img{
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    filter: grayscale(85%);
    margin: 16px 10px;
}
.half-circle{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 48px;
    fill: none;
    stroke: aqua;
    stroke-width: 8;
    stroke-linecap: round;
}
.author-name-prefix{
    font-style: normal;
    font-weight: 700;
    color: gray;
}
.card-header h2:hover{
    background: linear-gradient(90deg, rgb(255, 81, 0), rgb(255, 7, 143));
    text-shadow: none;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
