@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&display=swap');

body {
    padding: 0;
    margin: 1.5rem;
    background-color: #1a141d;
    color: white;
    font-family: 'DM Mono', monospace;
}

.title-header {
    text-align: center;
    margin-bottom: 1rem;
}

.navbar {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.nav-link {
    color: rgba(173, 122, 248);
    text-decoration: none;
}

.nav-link:hover {
    color: white;
}

/* .navbar-brand{
    margin-left: 2%;
    margin-bottom: auto;
    display: flex;
    justify-content: flex-end;
} */

.btn-dark {
    background-color: rgba(173, 122, 248);
    color: white;
    border: none;
    padding: .5rem 1rem;
    border-radius: 4px;
    font-size: .875rem;
}

.card-list {
    display: flex;
    padding: 3rem;
    /* Make sure the card stack goes to the edge of the screen */
    margin: -1.5rem;
    overflow-x: scroll;
}

/* pseudo-elements */
.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%,.25), inset -2px -2px 2px rgba(0,0,0,.25);
}
.card-list::-webkit-scrollbar-track{
    background: linear-gradient(90deg,#201c29,#201c29 1px,#17141d 0,#17141d);
}

.card {
    display: flex;
    position: relative;
    flex-direction: column;
    height: 350px;
    width: 400px;
    min-width: 250px;
    padding: 1.5rem;

    /* add shadow to each card */
    border-radius: 16px;
    background-color: #17141d;
    /* the -1rem is the x-offset putting the shadow inside the box */
    box-shadow: -1rem 0 3rem #000;

    /* add in animation to smooth scrolling through cards */
    transition: .2s;
     
}

/* animation for when you're hovering over a card */
.card:hover{
    transform: translateY(-1rem);
}

/* the ~ is the general sibling combinator: it grabs all siblings after the hovered card */
/* shift all cards to the right 130px over */
.card:hover~.card{
    transform: translateX(130px);
}

/* shift over every card that isn't the first card by setting the left margin -100px */
.card:not(:first-child){
    margin-left: -100px;
}

a:hover, a:visited {
    color: white;
    /* rgba(25, 178, 148);  */
    /* rgba(25, 178, 148) */
    text-decoration: none;
    background-color: none;
}
a:link, a:active {
    color:rgba(173, 122, 248);
    text-decoration: none;
    background-color: none;
}
span.emoji {
    font-size: 30px;
    vertical-align: middle;
    line-height: 2;
}

.main-content{
    padding-top: 25px;
}