@charset "utf-8";

html, * {
    padding: 0;
    margin: 0;
    box-sizing: border-box; /* Prevent width issues */
}

html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
    background: #1f1f1f;
}

body {
    font-family: Arial, sans-serif;
}

header, footer {
    background: #0f0f0f;
    font-family: 'Pixelify Sans', sans-serif;
    padding: 30px 45px;
    font-size: 30px;
    color: #fff;
}

header{
    border-bottom: 3px #fff solid;
}

footer{
    border-top: 3px #fff solid;
    margin-top: 400px;
}

header a, header a:visited {
    color: #fff !important;
    text-decoration: none !important;
}

footer a, footer a:visited {
    color: #fff !important;
    text-decoration: none !important;
}

.content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;  /* Allow wrapping */
    justify-content: center; /* Center elements */
    margin-top: 30px;
    padding: 10px;
}

.game-listing {
    flex: 1 1 1200px; /* Flexible width with max constraint */
    max-width: 1200px;
    min-height: 300px;
    background: #fff;
    text-align: center; 
    padding: 5px;
    margin: 10px;
    border-radius: 8px; /* Optional: Add rounded corners */
}

.game-listing-main{
    max-width: 400px !important;
}

.game-page-content{
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    padding:30px 10px;
}

.game-listing-name {
    font-size: 20px;
    padding-top: 10px;
}

.game-listing a {
    text-decoration: none;
    color: #f5a442;
}

.game-listing a:hover {
    text-decoration: underline;
}

/* Responsive Fix */
@media only screen and (max-width: 1000px) {
    .game-listing {
        width: 90%;
        margin: 10px auto; /* Center it */
    }
}
