@font-face{
    font-family: 'KennyMini';
    src: url('../assets/fonts/kenney_mini-webfont.woff'), format(woff);
}

@font-face{
    font-family: 'KennyMiniSquare';
    src: url('../assets/fonts/kenney_mini_square-webfont.woff'), format(woff);
}

body {
    font-family: 'KennyMini';
    color: white;
    font-size: 1.5rem;
    background-color: #1b1919;
    margin: 2%;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
    font-size: 2rem;
}

.hero-image {
    max-height: 25vh;
    object-fit: contain;
}

.games-list {
    margin: auto;
    display: grid;
    gap: 1%;
    grid-auto-flow: column;
}

.game-card {
    margin: 2%;
    background-color: black;
    padding: 1% 2% 4% 2%;
}

h1 {
    justify-content: center;
    margin: 0%;
    font-family: 'KennyMiniSquare';
    font-size: 5rem;
    color: #cf9768;
}

h2 {
    justify-content: left;
    font-family: 'KennyMini';
    font-size: 3rem;
    color: #cf9768;
    text-decoration: none;
}

a {
    text-decoration: none;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
    max-width: 50%;
}

footer a {
    margin: 2%;
    color: #cf9768;
}

@media all and (max-width: 1024px) {
    .games-list {
        display: flex;
        flex-wrap: wrap;
    }

    .game-card {
        width: 90%;
    }

    footer {
        max-width: 100%;
        font-size: 3rem;
    }
}
