.game-grid {
    display: flex;


    width: 100%;
    max-width: 800px;
    height: fit-content;

    justify-content: space-around;
    
    flex-wrap: wrap;
}
.game-card {
    display: block;
    text-align: center;
    width: 256px;
    height: fit-content;

    margin: 12px;

    background-color: var(--surface);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);

    border-radius: 24px;
    overflow: clip;

    transition: 0.4s ease;
}
.game-card:hover {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    scale: 1.02;
}
.game-image {
    aspect-ratio: 1;
    width: 100%;

    border-radius: 12px;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.game-title {
    margin: 0;
    text-align: center;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.15em;
}
.game-release {
    margin: 0;
    text-align: center;
    font-family: "Outfit", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 1em;
}
.game-desc {
    margin: 6px;
    text-align: center;
    font-family: "Outfit", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
}

.game-buttons{
    display: inline-flex;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
}

.game-buttons button {
    width: 96px;
    height: calc(50px - 16px);
    margin-top: auto;
    margin-bottom: auto;

    color: var(--text);
    text-align: center;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1em;

    background-color: var(--background);
    border-radius: 6px;
    border: 0;

    transition: 0.2s ease;
    cursor: pointer;
}
.game-buttons button:active{
    background-color: var(--mantle);
}
