@font-face {
    font-family: "Mondwest";
    src: url("assets/fonts/PPMondwest-Regular.otf");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "NeueBit";
    src: url("assets/fonts/NeueBit-Regular.woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "NeueBitBold";
    src: url("assets/fonts/PPNeueBit-Bold.otf");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background:
        repeating-linear-gradient(
        190deg,
        rgb(255 0 0 / 50%) 40px,
        rgb(255 153 0 / 50%) 80px,
        rgb(255 255 0 / 50%) 120px,
        rgb(0 255 0 / 50%) 160px,
        rgb(0 0 255 / 50%) 200px,
        rgb(75 0 130 / 50%) 240px,
        rgb(238 130 238 / 50%) 280px,
        rgb(255 0 0 / 50%) 300px
        ),
        repeating-linear-gradient(
        -190deg,
        rgb(255 0 0 / 50%) 30px,
        rgb(255 153 0 / 50%) 60px,
        rgb(255 255 0 / 50%) 90px,
        rgb(0 255 0 / 50%) 120px,
        rgb(0 0 255 / 50%) 150px,
        rgb(75 0 130 / 50%) 180px,
        rgb(238 130 238 / 50%) 210px,
        rgb(255 0 0 / 50%) 230px
        ),
        repeating-linear-gradient(
        23deg,
        red 50px,
        orange 100px,
        yellow 150px,
        green 200px,
        blue 250px,
        indigo 300px,
        violet 350px,
        red 370px
        );
    color: #e0e0e0;
    padding: 2rem;
    font-family: "NeueBit", monospace;
}
/* css how to keep bg of body on scroll bounce without disabling scroll bounce  */
header {
    margin-bottom: 3rem;
}

h1 {
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

p {
    color: #888;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}



.card {
    background: rgba(255, 255, 255, 0.05);
    
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid #222; 
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: border-color 0.2s;

}

.card.is-resetting {
    transition: transform 0.4s ease;
}


.card:hover {
    border-color: #555;
}

.card-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-info {
    padding: 1rem;
}

.card-info h2 {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 0.4rem;
}

.card-info p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.75rem;
}

.tag {
    font-size: 0.75rem;
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: #aaa;
}
