.GameBrowser {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 20vh; /*< dont worry about it :3*/
} /*                            v
                               v*/
.GameBrowserSpacer {height: 30vh;}

.GameBrowserBody {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

:root {
    --game-card-bg-color: color-mix(in hsl, var(--button-color) , transparent) 
}

.GameBody {
    position: relative;
    width: 250px;
    margin: 20px;
    height: 350px;
    display: flex;
    background: white;
    flex-direction: column;
    border-radius: 20px;
    background: var(--game-card-color);
    overflow: hidden;
    & > button {
        border: none;
        margin: 20px;
        height: 40px;
        border-radius: 20px;
        background: var(--game-card-bg-color);
        font-size: 20px;
        color: black;
        z-index: 1;
    }
    > img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }
    transition: transform 300ms ease-in-out;

    > p {
        opacity: 0;
        transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
        position: absolute;
        bottom: 0;
        z-index: 1;
        font-size: 1rem;
        background: var(--game-card-bg-color);
        color: black;
        padding: 10px;
        border-radius: 20px;
        transform: translateY(100%);
    }
    
    &:hover{
        transform: scale(1.1);
        box-shadow: white 0 0 20px;
        p { opacity: 1; transform: translateY(0)}
    }
}