* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #393939;
    color: #f0f0f0;
}

header {
    position: sticky;
    top: 0;
    background-color: #393939;
    padding: 20px;
    text-align: center;
}

.logo {
    max-width: 100%;
    height: auto;       
    width: 400px;  
}

@media (max-width: 600px) {
    .logo {
        width: 220px;  
    }
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin-bottom: 50px;
    text-align: center;
}

h2 {
    margin-bottom: 15px;
    font-size: 2rem;
    font-family: 'Helvetica Neue', sans-serif;
    color: #E4BE03; /* Updated color */
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #d3d3d3;
}

section + section::before {
    content: "";
    display: block;
    height: 2px;
    width: 60%;
    margin: 30px auto;
    background-color: #333;
    border-radius: 1px;
}

#games .game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Create a responsive 3-column grid */
    gap: 15px;
    justify-content: center;
    max-width: 100%; /* Expand to full width */
}

.game {
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.box-art {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover; /* Ensure consistent cropping */
    position: absolute;
    top: 0;
    left: 0;
}

/* Force 16:9 aspect ratio */
.game::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

h3 {
    margin-top: 8px;
    font-size: 1.2rem;
}

.box-art:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.2);
}

#social-media a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

#social-media a:hover {
    color: #E4BE03;
}
