/* Terminus font */
@font-face {
    font-family: 'Terminus';
    src: url('/fonts/terminus.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* General Styles */
body {
    font-family: 'Terminus', sans-serif;
    background-color: #0b0c2a; /* Deep space blue */
    color: #d4d4f5; /* Light gray-blue text */
    margin: 0;
    padding: 0;
    background-image: url('/images/bg_space_seamless.png'); /* Cosmic background */
    background-size: cover;
    background-attachment: fixed;
}

header {
    display: flex;
    justify-content: center;
    font-family: 'Terminus', sans-serif;
    text-align: center;
    color: #00ff00; /* Neon green text */
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    text-shadow: 1px 1px 2px #000;
    margin: 0;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-right: 33%;
    margin-left: 33%;
}

h1 {
    font-family: 'Terminus', sans-serif;
    margin: 0;
    margin-bottom: 10px;
    font-size: 2.5em;
    letter-spacing: 2px;
}

h2 {
    font-family: 'Terminus', sans-serif;
    text-align: center;
    margin: 0;
    margin-bottom: 10px;
    font-size: 2.5em;
    letter-spacing: 2px;
}

p {
    font-family: 'Terminus';
}

section {
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 10px;
}

/* Recent Games Section */
#recent-games {
    background-color: rgba(0, 0, 0, 0.7); /* Slightly transparent black */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

#recent-games h2 {
    color: #f4f4f4; /* Off-white text */
    text-shadow: 1px 1px 2px #000;
}

.game-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.game-card {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 10px;
    padding: 10px;
    width: 12.5%;
    background-color: #111;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card a {
    text-decoration: none;
}

.game-card a:hover {
    text-decoration: underline;
    text-decoration-color: #00ff00;
}

.game-card img {
    width: 100%;
    border-radius: 5px;
}

.game-card p {
    color: #f4f4f4; /* Neon green */
    font-size: 1.1em;
    margin-top: 10px;
    margin-bottom: 2px;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ff00;
}

/* Consoles Section */
#consoles {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

#consoles h2 {
    color: #f4f4f4;
    text-shadow: 1px 1px 2px #000;
}

.console-grid {
    display: flex; /* Use flexbox for centering items */
    justify-content: center; /* Center the items horizontally */
    flex-wrap: wrap; /* Allow wrapping to handle smaller screens */
    gap: 20px; /* Spacing between cards */
    padding: 20px;
}

.console-card {
    width: 20%;
    background-color: #111;
    margin: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.console-card img {
    width: 100%;
    height: auto;
}

.console-card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #00ff00;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #111;
    color: #00eaff;
    position: fixed;
    width: 100%;
    bottom: 0;
}

